ed060515f11fd22b2f8e32eacab28a720ea552ca |
|
18-Jan-2013 |
Andy Huang <ath@google.com> |
alias clicks on inert ActionBar modes to 'up' action When the action bar spinner is inert, allow taps anywhere in the custom action bar view to do the 'up' action. Bug: 8030707 Change-Id: I977b59384319a2113675c418663a98e06e17d524
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
bc47398187c6ffd132435e51d8d61e6ec79a79db |
|
25-Sep-2012 |
Paul Westbrook <pwestbro@google.com> |
Merge Email1 into MR1 Change-Id: I45289d46b65faffc7a3a3dd46382899162f3aaab
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
cc0185f07c9198008d8dc685ae9979f3e35e8539 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
Manual merge of Email from jb-ub-mail Change-Id: I564ddf433d371f45ba78a10f73bb182d484c56f2
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
e0e0defb1eb07bc3582170155151d2250e1133d7 |
|
30-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Update 2 pane menus for email. Change-Id: I8733e9679674195d881ee6decb7a3ebab075ad53
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
513486cfb5d446f098b1c97d16932e51e316d1a7 |
|
13-Oct-2011 |
Ben Komalo <benkomalo@google.com> |
Fix per account starred mailboxes. We always switched to combined view when we tapped "Starred" in a mailbox list. This was confusing since tapping to show the mailbox list will take you to the mailbox list for the combined view, even if there's only one account on the device! Other confusing things happened like showing coloured account chips, even if there's only one account. This fixes it so that we pass the account ID when building the selection. Lots of wiring to make it happen, but very little change overall. Bug: 5388326 Change-Id: I1fe52f211cceca0c1b26581e200f3c7adcd0734a
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
f97ec4d1e8b9c19033db06c16e2854773f90753c |
|
30-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Hide search icon in search mode. This is a kludge - the real solution is to use the proper action modes in the framework. That's too large to do this late. Bug: 5232787 Change-Id: I76b68b250c384bdabf51e8831f833afd65c0c73b
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
2c4a6855bad7e2e92f0d02789b22dda0ed4386c7 |
|
09-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Make isInboxList check robust to combined views. rookie mistake :( Bug: 5141774 Change-Id: Iafc4907a4717143ccf8251a1fb452e1ff00aa5ff
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
e91ff527ed5c076a10b6be077210bc4f22409792 |
|
04-Aug-2011 |
Ben Komalo <benkomalo@google.com> |
Update backstack model. This makes "Inbox" the top level with the mailbox list one level under. All "up"/"back" navigation is now identical and will take you upwards towards the inbox before falling off to the launcher. This uses a kludge and the "backstack" of the activity is not actually represented now by the mPreviousFragment variable; it just uses tricker in the onBackPressed()/shouldPopFromBackStack() calls to do the right thing. Bug: 5111629 Change-Id: Ide88efc78fe4f40d89b5ab83c480318e81902554
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
1340b2f82b42e9d6afc7ff7ed4468aefcc8d5bc9 |
|
26-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Hide irrelevant options in mailboxlist. Bug: 5080327 Change-Id: Ief9544b9d8a70a16b90f268bca1342b697fc6962
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
c01ce156e8447ba707f802b01a7625375ff8b230 |
|
20-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Minor change to keep same account if possible. On second thought, it's probably best to stick with the same account if I can't find a particular folder. This at least is less jarring if the user has multiple accounts. Change-Id: Ifd5d631b220e260399681008ac17203f5451c8ff
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
1ef8ec61c9e4d717c6d4dff6136f85f84c387856 |
|
20-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Misc STOPSHIP cleanups. Apply the same logic to mailboxnotfound for two pane. also remove some obsolete callbacks. Change-Id: I942c2b557fce2601a0e46878cfe4d5ce2cc83850
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
0413edd6261f3879894840ff017c3c933ddb586d |
|
20-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Remove STOPSHIP - ensure that the commitAllowingStateLoss is actually not dangerous - we only had one case I could see where we were actually doing a transaction from a loader callback and I fixed that just now to not do any transactions. Change-Id: I21e11138f70eb2ce953a5ba54119ca46555f465d
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
9f05f72ab3c92fd539dc6353a8fa1e59f5f09e4a |
|
18-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Fixup settings entry points. - include settings in menu in message view - remove "show all mailboxes" from message view - rename "Account Settings" to "Settings" Bug: 5039294 Change-Id: Ic2dcbe8fe6e2bd10cc5d790a74c49a7159b59cab
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
1917bcbc17b8fd262fb8e78d8906359d5b3cf8b9 |
|
15-Jul-2011 |
Ben Komalo <benkomalo@google.com> |
Put "show all folders" in action bar Change-Id: I4af74342b3b1eae3a94ebf6616280ebf47d14e5f
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
1ddc2ca4a7e59189099d273bd1d364838dd7ce35 |
|
02-Jul-2011 |
Makoto Onuki <omakoto@google.com> |
Per-mailbox settings - Use PreferenceActivity, in the old style, meaning without PreferenceFragment. - If setting Inbox, change the account settings instead of mailbox settings. - Use the DialogWhenLarge theme, meaning it's a full-screen avitity on the phone and a dialog on the tablet. - Also fixed the bug that we the menu items that are made invisible by UIControllerBase may be made re-visible by the 1-pane controller. TODO The menu item shouldn't be shown for non-syncable mailboxes. Change-Id: I02b2faf6f593e1e2eb370217c27801aa58ca7e6c
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
698aa92e6fe4d711466d8b242d6ff7dd5df1176c |
|
30-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Fix actionbar for message view - shows the title of the message in the action bar (visuals not final - need to extend the width and hide the account name) - ensures that tapping up/back from a message view from a search result list doesn't exit search - ensures that tapping "app up" from a collapsible tablet view doesn't exist the search unless the left pane is uncollapsed Change-Id: I2b21a430d12148cf72237060c05312c7a23e2b3b
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
918860b8e0825830879b3675ae7d7aca02aa0826 |
|
29-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Remove opener IDs from message view fragment. There are needed for the back navigation when a message is opened from a deep link, but now that we always have a list context they're not necessary. Change-Id: Iba2d0b2f31f4539f6e872970b514574347e248c5
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
22d1a794cd9636634bb31689f53603c0ae64c522 |
|
29-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Newer/older + auto-advance for one-pane - Moved MessageOrderManager code from 2-pabe to the base class. - Most of the code is shared between 1-pane and 2-pane. - Also fixed the bug where we re-created MessageOrderManager every time the user taps newer/older, which was the reson the newer/older button temporarily got disabled when you tapped them. Before this CL we stopped MOM in uninstallMessageViewFragment, but now that we don't reuse fragments this means we stops MOM when we remove the current message view, and re-created a new one when a new message view is created. Now we stop MOM when the right pane gets hidden (2pane) or when showing the mailbox/message list (1pane). - Also removed a now unused callback onMessageShown() from MessageViewFragment. We used to update MOM on this event, but now we do this in installMessageViweFramgment(). Bug 4575586 Change-Id: Idc4aba184f318e0c086afc29dcbe42364e2b51b3
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
659f60f73428eb7f7b393689d1a74bfddd9a0cc2 |
|
29-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Wire through logic for searched mailbox - update hint based on the mailbox being searched - ensure that we use the original searched mailbox as the mailbox to search for subsequent search (i.e. a search while we're viewing search results) and not the search mailbox Change-Id: Ic8663272173ce386dcd13fdf0369e918fb895be8
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
ecd9c93cfaad7c64201777fa5d62e3a5b6665720 |
|
28-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Fix one-pane navigation/UI bugs - Back from the starred mailbox now works. - Combined view now has the "show all folders" in the spinner. - Null-out the list context when opening the mailbox list. - Properly restore the list context when popping from the back stack. - Disable the account spinner dropdown on the mailbox list. - Hide the little triangle thing at the right bottom corner of the spinner when it's not selectable. Bug 4836064 Bug 4689313 Change-Id: I41d1b6c7024953407b260f5b4b63fbc366e538ca
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
4689cb7100a8b1cfa188499a9910912d15b3dad3 |
|
27-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
New account spinner - Don't use the action bar spinner. Instead use a custom view to show the current account. (It's not a spinner; now we show the dropdown list by ourselves, which gives us more detailed control.) - Also show the current mailbox name/unread count with the account name. - Removed the mailbox info loader in ABC. Instead, now the AccountSelectorAdapter loader loads the current account/mailbox name, and the unread count as extras. - Now ABC.Callback.onMailboxSelected passed an account ID as well as a mailbox ID. - There's new code paths that can cause the "fragment transaction in onLoadFinished" exception. We need to fix this properly, but for now we just use commitAllowingStateLoss(). Bug 4948352 Change-Id: I73bb8b7530f8328ca1c86382ac0a54086ad061d7
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
80d3875d306c60da83e547c573427627911f8a99 |
|
23-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Action bar: Use laoder to get current mailbox info Before this CL, we had this crazy plumbing from MailboxListFragment to ActionBarController to update the current mailbox name/message count. This wouldn't work on 1-pane, so now ABC just gets the current mailbox id from UIC and loads the name/count with its own loader. Also... - Fixed bug 4904450 and bug 4460470: Now we consistently use FolderProperties to get proler display names and message counts. - Renamed some confusing names in AccountSelectorAdapter Change-Id: Ic7bea6da6d2859006fb8f9263024c7d5e62b1e7f
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
bcdcc0458f90588567a77fb0f3d29c1040857c0b |
|
23-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Pass the entire list context to the listfragment This allows us to read search properties and other things to determine rendering state Change-Id: If73269128a60e9992822774ebdba3d90a44d2d76
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
b0b6eb56f716f3ac0c153b1d4a1b7b2bdfba4335 |
|
23-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Search state improvements. - actually fires off a new instance of our Activity for search, instead of killing the old one - exiting search mode from a search result now works and pops the activity stack - doing a new search clears the input box as expected - the search term is actually shown at the top in the results list Change-Id: Ia6b92042e26a2e44b8cb45fe1d5b3bfb40cfd6da
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
383d6ead227b6a6dea724820050df05c5e3581b4 |
|
20-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Use new message list in controllers. Change-Id: Iaf4bf90add855f556a2e61521618924e13f60347
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
a30861850945e96f756d70e05c3e3f7be2c108ed |
|
22-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Pushes some search behavior to base controller This enables search on one pane with the same caveats as on two pane Change-Id: I80ab6ada0f718367fe6d584b18bc84d04a27bf7b
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
f3d07fb3e6ea7f40537c8bc45daae38d2d31853e |
|
22-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Consolidate some menu item toggling. - fixes search button being shown for pop accounts - cleans up some duplicated code Change-Id: I498f0140eb2f3ffa7d3ad7f0da0e1d357f80e9b9
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
a817543efbb2e706c701c2776aaf750c3bd6e7ef |
|
22-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Show lookback settings for onepane. This doesn't fix the fact that it's temporary, but at least makes the temporary UI functional Change-Id: If8d3e3cabe15d2ff0970d418113738f8479cbb8c
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
2441dd5cbb9a8b3102e9abe065bfc13edb8a7fe3 |
|
20-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Merge "Cleanup and collapse some methods together."
|
a355a4abe2abb9d09c1d2cfb61d62c2006d19289 |
|
20-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Cleanup and collapse some methods together. Change-Id: Ida38b63362c50052064d7a5342febfe9e4a9c89e
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
99401ebea71f4ff15fc017edd0ab98cad05bbcd6 |
|
18-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Remove a layer of callback in inbox finder. I'm changing it so that inbox finding happens at an earlier stage so that the UIController.open() methods can be simpler. Specifically: I want them to just always accept a mailbox, and not have to deal with an intermediate state where it's still looking for a mailbox. Change-Id: I1c5be783859a3bee7e46007e778de13eb1685cbe
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
36f89da544a2a960ede047051c0d7b114d6d7717 |
|
18-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
some brain dead typing shortening Change-Id: I9342e8da52b412fd844b98ff76e61a9e4f9c5af7
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
c16d060bda3dfe534be92d07d82ebc9277a826d3 |
|
16-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Merge "Switch to synchronous transaction."
|
2a292e235cbe7ce33367ba549d4da6cb4764ffe9 |
|
16-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Switch to synchronous transaction. Change-Id: I02639276e4cedd62d288433acb0dfaf34c7a4e76
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
0f2763274922e15d4baba7e7228f5765034b9c0d |
|
14-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Add "search mode" to the action bar - Instead of the search dialog, show the search widget on the action bar. - Launches a new activity for search, but still uses the temporary search code - Search still works only on two-pane. Change-Id: I1d36ad3416c7dff9579cf37e40e49e31c9d99219
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
f5418f1f93b02e7fab9f15eb201800b65510998e |
|
14-Jun-2011 |
Marc Blank <mblank@google.com> |
Move Account into its own top-level class Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
479fdf03aa575ad843e7192a98b098e511b230de |
|
09-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Guard against invalid selections in spinner This is a stop gap fix for b/4584196 There was a race condition in which the actionbar callback happened prior to the fragments being ready, and so any callbacks on a mailbox would explode (and the spinner mistakenly thought the header was a mailbox) Change-Id: Id0a24d252472faf97088175b5c413ef554dc3b76
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
519b4881231b1a7737c010e5f19073286e8b1dda |
|
09-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Use fragment transition animation for 1pane. Change-Id: I5f62abf87580876c75c8578da1d4a46cb92bce94
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
e06e1224414c181e729f7952d80bb70d59fedc20 |
|
08-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Back navigation on 1 pane - Allow going back from the message view to the message list with restoring all the state on the message list. (batch selection and scroll position) - Also make "back" work for the message list <-> mailbox list navigation, but only 1 level at most. (Only the system back key works for this; the action bar home icon will not.) - As discussed offline, it uses our custum "back stack" (which can hold at most 1 fragment) using the new fragment APIs, attach and detach. - Removed commitFragmentTransaction() from the base class, as now there's nothing really in common between the two UI controllers in terms of how they use the fragment transaction. Change-Id: Id626ce99beb1f4dceb999dc04bf7d3e5d57a8198
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
101f929b3cc7c0646ed38db2e0c4693e09c919d9 |
|
07-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Remove "Show all folders" menu item. Now the account spinner has this. Change-Id: I95e771e512f6c70ea9ddd8084c29a2f99b4cd758
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
ab40c988216b32ed145c0cad45c25e9cf2509c85 |
|
06-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
More work on fragment install/uninstall. - Now we "uninstall" a fragment in Fragment.onDestroyView. i.e. a fragment transaction is actually executed. - Maintain our own "about to be removed" fragment list to avoid double removal of a fragment. Change-Id: I61328e0a09a7af00cbb0e6ba10a2d39c11b5c3dc
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
a09ac7d41704e7d39a40824b3869c537266c7666 |
|
07-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Implement account spinner recent list for one pane This adds the default recent list and 'show all folders' to the one pane UI. Change-Id: I877f854ff4f9c7440cbd40f2a9ded8aba4002656
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
e3924188409b631c9ed53cf0b8f1fb455c3ef67d |
|
07-Jun-2011 |
Todd Kennedy <toddke@google.com> |
Add recent mailboxes to the account spinner The ability to change mailboxes using the spinner is currently only implemented for the two-pane UI. one-pane implementation will come in a future CL. Change-Id: If72e9d9d607508553c918f5523e748e8a481ff84
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
cc881b744b6d8ca0f0792bf4adf2422218c88e0b |
|
03-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Remove the hidden newer/older buttons from 1-pane. We'll implement swipe and this view is not used on 1-pane anyway. Change-Id: Ib1d9b44dd530159377f3e5f883188832de30482f
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
3d9b8e76f0a396370a5c0be99a34bf7c24bd20dd |
|
03-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Implement 1-pane navigation. - Now that fragment useage is simplified (e.g. no new fragment creation for nested mailbox navigation), most of the fragment operation code for 2-pane is reuseable for 1-pane as well, so moeved it to the base class. - Temporarily added "Show all folders" as a menu option on 1-pane. - Added "opener account id/mailbox id" to the message view fragment. They are not used by the fragment itself, but they're used by the UI controller for the back navigation. (And now the UI controller doesn't maintain the current IDs by itself; rather it gets them from the currently-active fragment.) - Use async fragment transaction on 1-pane too, now that it always gets the current state from the active fragment. - Changed the timing when we install fragments from onAttachFragment to fragments' onActivityCreated. So now all installed fragments are created. TODO Now that all installed fragments are guaranteed to be created, remove all special trealment for the fragment argument accessor. (They were meant be safe to call before onCreate, but it's not necessary any more.) Change-Id: I0ed100c3f0b460835b164c0dc908ea483a4e46ee
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
f015cc00ed9fbf8a992ff31ee0106abcc8cb4f9b |
|
02-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Rework on inbox lookup - Moved MailboxFinder logic to UIControllerBase so it can be reused for 1-pane. - Make sure MailboxFinder runs only while the activity is resumed. (we don't want to get callbacks when it's not, because we can't perform fragment transactions.) - Make sure MailboxFinder is restarted if the activity gets re-created while it's still running. Bug 4522010 Change-Id: I4486ecfa44dd700d28c424bc5eb7104d3043cf7d
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
c7024f73ec95d610ac88fd3d884c131c0499b490 |
|
02-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
Switch to async fragment transaction for two-pane One-pane will follow too, but not soon. Change-Id: Ie018f728273e9fa4a7e6cf3116a2a2afebcaecc5
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
844bf745044b4564f42a68f8b7d40105c4def294 |
|
01-Jun-2011 |
Makoto Onuki <omakoto@google.com> |
MailboxListFragment: In-place nested mailbox navigation Now we reuse the same instance of the fragment for nested mailbox navigation. (Don't use fragment transaction) "CursorWithExtras" now only has the child count, so I removed the bundle version and added a concrete class to MailboxFragmentAdapter. With this CL the nested mailbox navigation on 1-pane should work, but not back navigation. (Back press event isn't connected to the fragment yet.) Change-Id: I2c23651d9c8edb5fe062c68bbb9b462c8949ded4
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
88b5e296e02e8f7ac53122fe4d4577dbadd1d0f4 |
|
27-May-2011 |
Makoto Onuki <omakoto@google.com> |
Merge "MessageViewFragment: Preparing to use back stack."
|
3a505d8d9694b56d6c704547c51f32a9756410f8 |
|
26-May-2011 |
Makoto Onuki <omakoto@google.com> |
MessageViewFragment: Preparing to use back stack. Do all the clean-up stuff in onDestroyView() rather than onDestroy(), so that no callbacks (such as the controller callbacks and AsyncTask.onPostExecute()s) will work when it doesn't have views. Change-Id: Ic4aa771d28209ee7b56ac4d228488768ae998dd8
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
ca6eca0466f9dc58317dd4334da2b951e23f06d7 |
|
25-May-2011 |
Todd Kennedy <toddke@google.com> |
Don't navigate to a shortcut mailbox All shortcuts now have a mailbox associated with them. When launching the app via shortcut, we want to show the messages within that mailbox, but, we do not want to navigate into the mailbox; unless the mailbox has children. Since we don't want to put too much informatin into the shortcut, we must perform these checks at runtime. So, if ever we try to load a mailbox that doesn't contain children, we load it's parent instead. Change-Id: Idb5dbc7cd740b270a0068811abe685f963ca2c0b
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
0b31917c0e1c9ee50f5c56b3a5b4cbfb7fd373f3 |
|
24-May-2011 |
Makoto Onuki <omakoto@google.com> |
Rename some MessageViewFragmentBase callbacks. - Renamed some methods in MessageViewFragmentBase.Callback - Removed unnecessary argument from a callback. - Removed obsolete comment. Change-Id: Ia5af222971bfe6b943c98208b539946f14f16aa8
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
d531dc3058c52b1e3ee2ee53eb8d63d6177d9f91 |
|
19-May-2011 |
Makoto Onuki <omakoto@google.com> |
Fix opening Starred mailbox. We need to pass around the account ID with onMailboxSelected too. (It's kinda sad it wouldn't have happened if we had par-account starred mailbox.) Also made sure MailboxListItem.mMailboxId now really contains only a mailbox ID. Before this chage, we stored an account ID to this for an account row on the combined mailbox. Bug 4452811 Change-Id: I732fd8eb18f787f4a700a45a40768f96e3bb8751
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
01bd33f318f03d5496b4d252e3a536856405f73c |
|
19-May-2011 |
Makoto Onuki <omakoto@google.com> |
Change to Mailbox/MessageListFragment - MailboxListFragment.Callback.onMailboxSelected is now split into two different callbacks, one for regular selection and the other for DnD for clarity. - Added onDragStarted/Ended to MessageListFragment.Callback - Changed Log to use this Change-Id: I8861d3b43aa1b5b17c68c53605270e99733599f4
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
49de71e3d272b3070716f36ba574a620cdf62674 |
|
18-May-2011 |
Makoto Onuki <omakoto@google.com> |
Clean up Two pane - Remove bunch of outdated TODOs - Removed the stack for the back navigation for nested folders. Instead, Back/Up will always just navigate to the parent mailbox. - Two-pane UI controller no longer stores IDs by itself. Now it always gets these from installed fragments. - Added UIController.switchAccount(), which is the same as openAccount except it's no-op if the account is already selected. - Other small clean-ups. Change-Id: Ie14bc4f4b6b2cf6afb69bc97967c25682d4c7c78
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
b36ac017926f2557f4a476d0cefe49002d11233b |
|
17-May-2011 |
Makoto Onuki <omakoto@google.com> |
Changes for NO_XXX - Added Message.NO_MESSAGE - Renamed PSEUDO_ACCOUNT_ID_NONE to NO_ACCOUNT - Removed PARENT_KEY_NONE and use NO_MAILBOX instead - For starters, cleaned up the UI controllers to use them. Change-Id: I6cfd87ece2fced8e9f7c76d034c4d1dbf9e4db10
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
954f037d8f1e64ae88e02fe18ecf6b72b00f3daa |
|
12-May-2011 |
Makoto Onuki <omakoto@google.com> |
Clean up fragments Now that we don't reuse fragments and always use newInstance() to pass arguments, there's a bunch of unnecessary things in them, such as clearContent(). Also now MessageListFragment takes an account ID as an argument. Bug 4346486 Change-Id: I7e05628c481ed56512c2281257239105d40ee1bc
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
53ea83ebf91f820692e8fa8e781f5cc982dd94db |
|
14-May-2011 |
Ben Komalo <benkomalo@google.com> |
Move Mailbox to top level class. No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
bfac9f2e8a13f6c719608a6948203bbef921c99f |
|
13-May-2011 |
Makoto Onuki <omakoto@google.com> |
Move some of the log constants from Email to Logging Change-Id: If9f4e4e3adcdef897a0d6a4e153bb446a8b24fdd
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
1fba8254c54c7f27cf3d358453b889ad8825ac5d |
|
13-May-2011 |
Makoto Onuki <omakoto@google.com> |
Clean up fragment intallation. Change-Id: Ia9c9d713dc921783995a8a50cc8b256b8392c1a7
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
94331c96d9397ec451ae3a0a9f825cc4aca2b9d1 |
|
11-May-2011 |
Makoto Onuki <omakoto@google.com> |
Remove phone activities and implement one-pane The primary purpose of this CL is to remove phone activities, so the one pane implementation is very much temporary and primitive, but it should offer minimal operations. Change-Id: If57f81db7c605c95664d49044a5cc082beda59c0
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|
f5492ea991d3b296b8158f6ea0e85cdbae5941ed |
|
09-May-2011 |
Makoto Onuki <omakoto@google.com> |
Add 1-pane UI controller Added the base class for the UI controllers and the 1-pane implementaion, which is almost empty at this point. The old phone activities still exist and will be used on the phone by default. To use the new activity (1-pane EmailActivity) on the phone, use the following comamnd. adb shell am start -a android.intent.action.MAIN \ -d '"content://ui.email.android.com/view/mailbox"' \ -e DEBUG_PANE_MODE 1 Change-Id: Id1fe85d4517778afc967d7d5e17e1299dd1bfefd
/packages/apps/Email/src/com/android/email/activity/UIControllerOnePane.java
|