History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9fa7c236530a430f9ad359c0b7770c2d65361b05 16-Oct-2014 Jin Cao <jinyan@google.com> Reset search button visibility on account change

b/17982775

Change-Id: Ia27a7364f49b7cf8a1cbfc158123b543d6b8b7fc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.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/CustomViewToolbar.java
ed5dffd4c3f1c0327e183979733640e3ecb51902 09-Sep-2014 Jin Cao <jinyan@google.com> tablet search icon bug fixes and simplification

- instead of setting the title padding, simply set the
full width of the parent accordingly for two-pane land.
- only call onConversationListlayout in tablet landscape mode.
- change from visibility to alpha animation to ease the
transition.
- set the icon to not be clickable when invisible.

Change-Id: If992c97c96eff334a3de82c2583bcdd10e391ed6
/packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.java
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/CustomViewToolbar.java
6be73f700645b46077f4935f7bf7fb126548c53c 02-Sep-2014 Jin Cao <jinyan@google.com> Hide search button when drawer is open

In two-pane landscape mode, hide the search button
when the drawer opens instead of re-positioning it.

b/17332335

Change-Id: Ibefb3b31998f3ac1a4d0095f274f307781b60008
/packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.java
d19d4024bf4c1490ed45633617244a824fc7ada8 02-Sep-2014 Jin Cao <jinyan@google.com> Fix search RTL

- Fix search suggestions RTL padding and alignment
- Fix search button positioning in RTL for tablet land.

b/17328599

Change-Id: I982e086738f9f75f39ce9149590cfabc37259d30
/packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.java
090ea0188eec1cd29d84d5890cbba6aebfa6b6ce 24-Aug-2014 Jin Cao <jinyan@google.com> Add custom view for toolbar to reposition search icon

Remove search from the default menu items and add
the search button to a custom view so we can position
it ourselves. This involved extending the toolbar
class because custom views cover up the toolbar
title by default.

b/17070560

Change-Id: Iba7d127a58b8061d84228732fcadbd82665d0835
/packages/apps/UnifiedEmail/src/com/android/mail/ui/CustomViewToolbar.java