761522c1ac7a8fa05acde714f0e26fde47f3415f |
|
08-Aug-2013 |
Andy Huang <ath@google.com> |
basic analytics support Bug: 9861033 Change-Id: I940e25dc12a7cbfe91b1d5ec457c7fc1045171df
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
6c570db71b8adc43d7dc2f31e6fa63cf50c1426e |
|
07-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Add new ViewMode. Works in OnePaneController. Need to wire up the buttons. Change-Id: Ia9aa5e696cbba1d170038e47d4941cc6fcf0a967
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
aded57845c51f128fc5dbd8e992697823775ce5a |
|
16-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Remove references to the Folder List Change-Id: I9f6b9d7f6c5100324703449da4761e67266ebed0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
3b965d78774a42358ce6bbdcc43b4c8df130a60e |
|
25-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Bug: 9565838 Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
e6459424b3e46d768865c908af1caa932f783095 |
|
02-Apr-2013 |
Andy Huang <ath@google.com> |
fix blank conversation view on tablet when launching from intent If a 2-pane layout pass finished before the FIRST_FOLDER loader returned results, the layout pass triggered an early showConversation() operation before mConversationToShow is set by the FIRST_FOLDER loader. The later showConversation() in the FIRST_FOLDER onLoadFinished did not re-run the operation, because it assumed a transition would run that showConversation had to wait for. The transition does not actually run because TwoPaneLayout debounces consecutive requests to change the view mode. So... * don't switch modes on FIRST_FOLDER load unnecessarily * FIRST_FOLDER load was triggering a mode change to LIST, so move that into loadAccountInbox * don't have 2-pane ask ViewMode to see if the mode changed, have it ask TPL instead Add some helpful optional logging, and a facility to ObjectCursorLoader to slow down race conditions for debugging purposes. Bug: 8408885 Change-Id: If4672c0f6c4426f810de33f65694119d678bacfb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
c5796fd595ffe3ea74fb69dfad1ea0bfe82f1eb4 |
|
19-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Lock drawer when in search/sync mode Drawer will no longer pull out when the view mode is: -search_results_conversation -search_results_list -waiting_for_account_initialization Bug: 8373497 Change-Id: Ifaf0ada4802fcf772df2a91415ce898eebdedf44
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
a88304d638bfe9ba9a29b7c3f9c4f60d23a9b461 |
|
22-Feb-2013 |
Rohan Shah <shahrk@google.com> |
Remove back button when Waiting For Sync When waiting for sync (No Conversation List/Item shown), there used to be a back arrow without any purpose attached to the Gmail icon. The change adds on consideration for the view mode being "WAITING_FOR_ACCOUNT_INITIALIZATION" such that the action bar icon does not present the back button. Bug: 8142710 Change-Id: I9294b25d3bd13ab54c1bc6e5a5d54d0770bb97c8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
49e0e991fe8880852b936a0f8d7d57c5b36f2154 |
|
21-Sep-2012 |
Vikram Aggarwal <viki@google.com> |
Not in conversation view -> unset current conversation When the current conversation goes out of visibility, we should unset the mCurrentConversation because many objects get the conversation from AAC.getCurrentConversation(). I tested this with both one pane and two pane, with search and otherwise. But I wouldn't be surprised if this breaks something. If it does, revert! Fixes Bug: 7205219 Message list is scrolled down by itself until it reaches last read message Change-Id: I263c07e8063e7094a1defca76dde788b52df71ff
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
a3ed834c959ece3453c1b34953fabecb3b19c424 |
|
01-Sep-2012 |
Andy Huang <ath@google.com> |
new two-pane layout New, simplified 2-pane ViewGroup. This version shuffles three panes around, like the last one, but also supports other floating children like any FrameLayout would. The animation is now done using ViewPropertyAnimator. The cross-fade of the conversation list is now done with a separate "copy" view (ConversationListCopy) that's animated in tandem with the real list view. Bug: 6963808 Change-Id: Icee580f663a50537874c1f98e9bbac822f58e571
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
3825f3d2284b2b57fadcfe6a4ebd9992f3c5c7bb |
|
30-Aug-2012 |
Andy Huang <ath@google.com> |
fix spurious stopListening on the pager when loading from widget When loading from a VIEW intent, the pager was sometimes disconnected from its data source before the data was loaded, which caused it to stay in singleton mode forever. The original code to disconnect the pager was intended to disable pager updates when jumping back from conversation mode in 2-pane (via account spinner), so move that call to the beginning of 2-pane's mode change animation. Also do a bit of misc API cleanup. Bug: 7076780 Change-Id: I508b59816f4f537276aa103b9dcae51972389eb0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
649b9ea3653da73fac0c33c8fb0af18baad12ac3 |
|
27-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Fragment save/restore machinery 1. Avoids creating ConversationListFragment and FolderListFragment objects when restoring state. 2. Stores and restores the view mode correctly. 3. Moves core logic to the AbstractController where possible. 4. FolderListFragment scroll position and selected state is verified working in One-Pane and Two-Pane. 5. Fewer mode changes, less creation and destruction of fragments. Coming soon: 1. Restore scroll position in ConversationListFragment. 2. Fix some inconsitencies discovered and marked with TODO(viki). Change-Id: I4d11a576587b8e85300202650381b6e4df3ce61e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
b466bcf49502a1178cf7362a81470f3231d8892b |
|
15-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Fixup behaviors for action bar when in search mode. Now that the subject is showing in conv mode, can confirm this all works as expected. Change-Id: I707f3f46a2a5bdfa49e61bc1eacb217c5a1ba86c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
2d50bcdca57756ecad20d21da0d936243215b79c |
|
10-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Support for unintialized accounts This is the initial CL for support for a "wait fragment" A subsequent CL will make clicking on the buttons in the Manual sync case work Change-Id: I7f1ca27eb8792aaa94d354b2753d37783a72b309
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
68f2e222b4ffccd9f67f02b3a9cfdb3841a7eb43 |
|
07-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Hookup search in the UI. Remove ActionBarView interface and rename MailActionBar to actionbarview. We needed this for pre v-14 support, but no longer. Change-Id: I539b6751313e561311921010b03250df632260bc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
2175d0a93263672d4498458c81b404b0999134ba |
|
18-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Start tying in fragments to Viewmode changes Change-Id: I09eaeb0c338ab3205e0887a99b9684b4ac0549ca
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
d7a12cd5b5c2639b653d8c671b04844ef02ee01d |
|
03-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Create TwoPaneLayout from TriStateSplitLayout Minor changes to the OnePane and TwoPane Controllers to hook in the layout. Change-Id: Ie3fc73ed3fb63441d7ed9b79ce02c2f1e9f51e36
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
fa131a2ff399fd1d544f759b063268fb4e8a3e70 |
|
02-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Make ViewMode focussed and small. 1. ViewMode is no longer aware of tablet versus phone UI. This is the responsibility of the ActivityController now. 2. onViewModeChange receives the new mode as an integer rather than the ViewMode object. 3. Rather than a plethora of isXMode() isYMode() methods, client classes need to manually check getMode() against ViewMode.X ViewMode.Y constants. Change-Id: Ib06196671ad49328c40cc9237667c0a1daf328f7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
8ffe4320a17c3f4234f473e8f0ce083732064aa9 |
|
31-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Make constants final Change-Id: Ib4085a09f650171a15c37a552bdbce6374551c41
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
91d8d26212f741ec33568f3bc9943f8289a576c8 |
|
31-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Remove view mode enum and add tests Change-Id: Ie9bc74173047bdd80dacf943f1968d392d24e00f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
b9e1a353c6a173a2885642dbcc1939f3281f29f7 |
|
25-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Create ConversationListFragment The ConversationListFragment does not do much right now, but the framework is in place. Next steps will include showing the conversation list and allowing for conversation selection and the Contextual Action Bar. Change-Id: I130bb77a93bd4f58b189cb6ce47adc9e09f8e6ae
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|
1ddcf0f2bf44d3c9db89112ef52510d9b2433ac4 |
|
13-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Adding more ActivityController dependencies ui.ControllableActivity added from Gmail. One pane layout files brought in. Minor changes to make everything work with the test activity. Change-Id: I8cacd5f36394fe4a786590e2e381369a3afb5494
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ViewMode.java
|