History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
375faf0f8cf1d1de1d4aca7b9a7598e168dc9bf3 10-Oct-2014 Rohan Shah <shahrk@google.com> Add Vector Drawables (UnifiedEmail)

Had to rename a couple resources to be consistent
with what UX has in drive.

Bug: 17936539
Change-Id: I9ca2c0ec870afcdea52c1fbf1e55468b930301ae
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
54d5b6103887f92c922a4cb31915142e77519abd 25-Sep-2014 Rohan Shah <shahrk@google.com> Color refactor (Continuation from FAB CL) (UnifiedEmail)

Moving actionbar_color to primary_color to make sure it's
shared and properly referenced in the future.

Change-Id: I446e640bc900b20e4d8fe16d60620921582e689c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
ef179072bcdee5ff3b8faba8ea0eae6bbb486355 18-Sep-2014 Jin Cao <jinyan@google.com> Bug fixes for search tablet

I introduced with some bugs with my recent CLs for
showing the transparent search bar in tablet landscape.

- don't call onConversationListLayout unless it's in
tablet landscape (this is documented on the interface).
- update the code for setupEndingButton to take into
the new alignment into account.
- set search button to invis after animating it to transparent.

Change-Id: I348626603b47eb8a536cd5c54eaa9db5027fdbfe
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
d26498cdf7c4689be859b342b0e88734101a50aa 17-Sep-2014 Jin Cao <jinyan@google.com> Merge "[Quantum search] new two-pane land search result list" into ub-gmail-ur14-dev
524ded5f9d27dda75c53d256922a39c867857575 05-Sep-2014 Jin Cao <jinyan@google.com> [Quantum search] new two-pane land search result list

In two-pane landscape, change the search bar accordingly
when we are in conversation mode (so the menu items are
visible).

b/17361017

Change-Id: Icb07fff91f0533681478d866430fbaa82bc5850c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
1df2e0375938f6d55e4a9ec07aa4cfe687e76c02 17-Sep-2014 Jin Cao <jinyan@google.com> Disable CAB mode for search

- fix the button positioning for search bar
- move windowoverlay to the proper container for two-pane
- disable CAB for search

b/17497173

Change-Id: I549d52f96737550aed3be397f6a2d70ef224e561
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
8ebcda94b7f6c91c2a7c4bbe9d1911ca63b37855 15-Sep-2014 Jin Cao <jinyan@google.com> [a11y] Add content description to search buttons

b/17500013

Change-Id: Ic2cc4c80273648b881703dda52f5596c85655666
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
64168c6e3a4b770f3d60ef4b7d7a330046e5185e 08-Sep-2014 Jin Cao <jinyan@google.com> Hard enter should start search

- Capture enter key on hardware keyboard to perform search.
- FAB compose is still focusable with hardware keyboard, it
looks like we need to set focusableInTouchMode to properly
prevent framework from focusing it. The button still properly
responds to touch events.

b/17386331

Change-Id: I1e0484de174cd808bc5a6e86984ffcb865ebdb0c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.java
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/MaterialSearchActionView.java
a70ab69fd489a1f10dd75fc84214bd970096ae02 22-Aug-2014 Jin Cao <jinyan@google.com> Search last-minute updates before dogfood!

Scrim transparency should be 20% instead of 50%.
move requestFocus to inside hasFocus block.
Fix back button navigation.

b/16518233

Change-Id: I66f3e7deb81dda3959ed05e0661c4ff13786f495
/packages/apps/UnifiedEmail/src/com/android/mail/ui/MaterialSearchActionView.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/MaterialSearchActionView.java