| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
- The welcome tour is an independent activity. AbstractActivityController doesn't need a specific ViewMode (this should also fix b/15747390) and doesn't implement WelcomeTourCompletionListener anymore.
- MailActivity returns the warm welcome loader callback.
- The MailActivityEmail, FolderSelectionActivity don't implement onWelcomeTourRequested anymore.
- ControllableActivty implements WelcomeTourListener.
- OnePaneController and TwoPaneController transition to the inbox as they used to.
- WelcomeTourListener renamed onWelcomeTourComplete to onWelcomeTourFinished and returns a status (completed, discarded, or not shown).
b/15705426
Change-Id: I9af1f7c2ee5a5819d5df2d860547a2668f1d5cf6
|
| |
|
|
| |
Change-Id: Ice10fd8d629a9f4aebe5cfb7cb94bc1eb5ebaaeb
|
| |
|
|
|
|
| |
wet -> dry
Change-Id: Iccb44b3156d5a38d6f3d0ddfee5b8d21f00c98cd
|
| |
|
|
|
| |
Bug: 9861033
Change-Id: I940e25dc12a7cbfe91b1d5ec457c7fc1045171df
|
| |
|
|
|
|
|
| |
Works in OnePaneController.
Need to wire up the buttons.
Change-Id: Ia9aa5e696cbba1d170038e47d4941cc6fcf0a967
|
| |
|
|
| |
Change-Id: I9f6b9d7f6c5100324703449da4761e67266ebed0
|
| |
|
|
|
| |
Bug: 9565838
Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Now that the subject is showing in conv mode, can confirm
this all works as expected.
Change-Id: I707f3f46a2a5bdfa49e61bc1eacb217c5a1ba86c
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Remove ActionBarView interface and rename MailActionBar
to actionbarview. We needed this for pre v-14 support, but no longer.
Change-Id: I539b6751313e561311921010b03250df632260bc
|
| |
|
|
| |
Change-Id: I09eaeb0c338ab3205e0887a99b9684b4ac0549ca
|
| |
|
|
|
|
| |
Minor changes to the OnePane and TwoPane Controllers to hook in the layout.
Change-Id: Ie3fc73ed3fb63441d7ed9b79ce02c2f1e9f51e36
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Ib4085a09f650171a15c37a552bdbce6374551c41
|
| |
|
|
| |
Change-Id: Ie9bc74173047bdd80dacf943f1968d392d24e00f
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
ui.ControllableActivity added from Gmail.
One pane layout files brought in.
Minor changes to make everything work with the test activity.
Change-Id: I8cacd5f36394fe4a786590e2e381369a3afb5494
|