History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e66107e509d1b9ac3f41c47129961c8c1b275f56 16-Sep-2014 Jin Cao <jinyan@google.com> Search accessibility and keyboard nav

- better define the suggestion dropdown content description
to make it clear that they are suggestions.
- fix keyboard navigation for search.

b/17523381

Change-Id: I42984d76a41492061c59546bcd355e5892325469
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java
ee3ecc06477ef573937319db5e3861697e68accc 11-Sep-2014 Jin Cao <jinyan@google.com> Escape the query for appending in projection

- switch into using rawQuery so we can properly escape
all arguments, including the ones in the projection.
- some cleanup around suggestion provider.

b/17459938

Change-Id: I4c6e43aeb5c1f8a78d0df4cd577a4e2aa0b7d515
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java
37d8ca1eec6c9e3b03eb9036427121ece11fbf5a 26-Aug-2014 Jin Cao <jinyan@google.com> Merge "Refresh suggestion list and persist search query" into ub-gmail-ur14-dev
22acf7d667c5f44c84c8e36484669403c01e1acd 26-Aug-2014 Jin Cao <jinyan@google.com> Refresh suggestion list and persist search query

- refresh suggestion list when it goes from gone to visible.
- for search view modes, persist the search query since the
search actionbar is always visible for search result list.
this is applicable when the user taps into a search result
then navigate back to the list.

b/17258499

Change-Id: Iedd3090c8c9efd5125a563b67ccde136a82a2ec5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java
5edd7425ac59e871102197953efa460f694f6329 25-Aug-2014 Jin Cao <jinyan@google.com> Rename to Material adapter

Change-Id: I457ad4c440d81caa22fdcceda240d18407f7d43c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java
c6801eb828627c37b8992584767c095dfe11df62 13-Aug-2014 Jin Cao <jinyan@google.com> Quantum search - version 1

I apologize in advance for this huge CL.

- New icons (yay!)

- Abandon framework search and handle in-app search
functionality ourselves. This is made possible because
we use Toolbar and can position any custom view on top.

- Remove all previous search related attributes, including
search providers, searchable, search authority, default
search menu item layout, etc.

- Cleaned up the recent history provider to contain only
the functionalities we need - query, add, and delete.
Instead of using the framework to add recent queries,
we directly insert into our database. Since the provider
no longer needs to extend ContentProvider, removed
some unnecessary callbacks such as onCreate.

- Custom quantum search views:
- Top search bar, this is inserted in a FrameLayout
on top of Toolbar. The search bar interacts with
the suggestion list and AbstractActivityController
via the QuantumSearchViewController interface.
- Suggestions list, this is inserted in the FrameLayout
that typically contains the main content pane for
either one-pane or two-pane layouts. Again, this
interacts with the action bar via the controller.
- Voice search, this is simply an implicit intent
that converts speech to text.

b/16518233

Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchSuggestionsList.java