87a8982af83168453b6dc219fe984bff68047beb |
|
15-Aug-2014 |
Andy Huang <ath@google.com> |
Peek mode for 2-pane landscape Peek mode allows CV fragments to be visible but not marked viewed and read. TPC keeps a global flag for whether the current conversation should be peeked vs marked read. I have tried to manually reset the flag in the 6 cases that cause the current conversation to change: 1. tap another conversation (don't peek) 2. swipe to another conversation (don't peek) 3. keyboard-advance to another conversation (peek) 4. auto-advance=newer|older (don't peek) 5. auto-advance=list (go older & peek) 6. empty CV and a list cursor has loaded (peek at i=0) Swipe, in particular, required a new onConversationViewSwitched() call in CPA because onPageSelected() is triggered both when swiping around in the view pager AND when simply setting the initial page as part of constructing a view pager. Thankfully, there is only ever one copy of this peek flag in the app, in TPC, since AAC/TPC is where all the work is done both to mark conversations seen and to switch to new conversations. Rotation to portrait on tablets now requires tearing down a ViewPager; this code and thought process is documented here: http://go/xqaxk TODO: selected indicator for transition from peek->read state in-place TODO: touches in CVF should mark it read Bug: 17291366 Change-Id: I24f71a2b7985773814d8caad9f3ab3fe5c3609c8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7b45ff8538067edafe6b3d445e3880cd4858d267 |
|
14-Oct-2014 |
Jin Cao <jinyan@google.com> |
Fade in/out the search bar When showing/hiding the search bar, fade it in/out instead of simply setting the visibility. Other changes: - remove the check for state change inside showSearchActionBar because we previously assumed that a given state will always look the same. However, this is no longer true as ONLY_ACTIONBAR looks different on tablet landscape verses portrait (landscape shows the transparent background while portrait always shows the white search bar). b/17546831 Change-Id: I9120afd3ff89a4c6611b3b4510c2d8427285f3d8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
18512bd09af3a5e3d6e8ae2789a40968aa5e8f07 |
|
04-Oct-2014 |
Rohan Shah <shahrk@google.com> |
Fix TL flicker before CV shows upon opening notification Pager no longer animates in unless we've selected a conversation from the TL (In all other cases, it will now directly appear). Bug: 17808571 Change-Id: Iadabdfa6ec913b1f5f9979dfe50c74eaeb51d326
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f95ba7c5e12684821f2b755a828d2a96189b0f68 |
|
02-Oct-2014 |
Ray Chen <raychen@google.com> |
Merge "Do not show compose button in ad view" into ub-gmail-ur14-dev
|
f59080ee7ddbb986a295a14578b55f17a10cff4a |
|
29-Sep-2014 |
Rohan Shah <shahrk@google.com> |
Add fade in transition from TL to CV Added a fade in animation for the conversation pager to ease in the transition from TL to CV and allow for feedback on the TL. In OPC, wait to remove TL fragment until after the pager is done animating in (Also addressed edge cases such as the user hitting back rapidly after selecting an email or, in the case of long animation durations, multiple actions occuring - did this by checking view mode in the listener and cancelling animation on pager hide). Bug: 17304654 Change-Id: I24e977eb6bd335f4f6764fef58b549e7cf0edfe3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6febbf7b15269edb5ca3b564f4e1e370376d7d03 |
|
25-Sep-2014 |
Ray Chen <raychen@google.com> |
Do not show compose button in ad view b/17631902 Change-Id: I15965a91971e565b9934b4635c6b6bc96b1cac2a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e1dc3e7668389357915c615f2edfa1601005ad6d |
|
19-Sep-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Expand drawer to be under status bar. b/17569398 Change-Id: I345095c4679f83a315bb3d5909b9d2d7fbece111
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
0ec03e8d930a58c9138b5ebe84468f99c332c504 |
|
03-Sep-2014 |
James Lemieux <jplemieux@google.com> |
Update "New message" toast bar in CV b/17373672 The bar in conversation view prompting the user to update the thread with newly arrived messages has been changed to use the ActionableToastBar to look consistent with conventional snackbar messages. In two pane layout it is now possible to have a conventional snackbar message showing over the TL and "new message" snackbar showing over the CV simultaneously. All snackbar messages have had their trailing punctuation (period) removed. Change-Id: Iaf7d5d9afc38360d07a7b6602d6bc5626ecc3de2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ec0fa48764bede0772e9c711f3e33361b62f3608 |
|
29-Aug-2014 |
Jin Cao <jinyan@google.com> |
Keyboard support for focused state - remove focusable from FAB so keyboard won't navigate to it. - rename selectionSet to checkedSet - selected is a state for listview to focus one of its elements - what we really want is checked state for checked items in CAB mode. - show the blue focus bar when isSelected returns true - this is auto-set by the framework as we navigate using the keyboard. - remove blue background color for selected state b/17258708 Change-Id: Ic9739c9b349403942f64fafa26500c08d1f1cc4c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
8619cd7d2ffaa648cf7590419d3cd26e5bb1024b |
|
25-Aug-2014 |
Jin Cao <jinyan@google.com> |
Merge "Add custom view for toolbar to reposition search icon" into ub-gmail-ur14-dev
|
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/OnePaneController.java
|
405a344937675f57fc9c6988b2b124410a270f13 |
|
25-Aug-2014 |
Jin Cao <jinyan@google.com> |
Remove some unnecessary interface Remove unused interface for ActivityController and ControllableActivity. b/17258810 Change-Id: I8edbff09b1a5a3278efad8675e3fc3f71e82d2e4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.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/OnePaneController.java
|
0b69338a45faa422ccba8faf64c9816c55d33e4a |
|
11-Aug-2014 |
Jin Cao <jinyan@google.com> |
[KBNav] two-pane landscape navigation polish The system default navigation doesn't work quite as well in landscape mode (e.g. focus on conversation view's reply, hitting up goes to the mini-drawer instead of the message header). This is partly because our overlay views are not in a real list, thus we can't take advantage of the framework's navigation support for listviews. I decided to roll my own navigation entirely for conversation view and manually focus/scroll. This CL also includes some polishes for interactions in landscape mode between drawer, TL, and CV panes. b/16636060 Change-Id: Id1de01439a118702756d52f6a8b3f02395a0f932
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
d23f6d1cd1dd8248cba755bf91c5355a31fbb885 |
|
09-Aug-2014 |
Jin Cao <jinyan@google.com> |
[KBNav] Support peeking the focused conversation On up/down navigation in two-pane landscape mode we allow for peeking the conversation without marking it as unread. Only on right/enter will the conversation be marked as read. TODO: mCurrentConversationJustPeeking isn't fully implemented yet, so navigating with the keyboard will still mark the conv as read. b/16636060 Change-Id: Id6dbf163d1152c1f1c48836501489aa51478c155
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9a11011dc42ea3c8934c90455b17bd77a0a5ee17 |
|
08-Aug-2014 |
James Lemieux <jplemieux@google.com> |
Add popup and push down animations to snackbar. Change-Id: Iaed07d606b2c5973ddcc4aea20c6a61f2fb1adb2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
fdc76bfe9457854495638cc4d4e168bf52fcb24b |
|
04-Aug-2014 |
Jin Cao <jinyan@google.com> |
Merge "Support "deleting" in outbox" into ub-gmail-ur14-dev
|
512821c11d89d49908f3cfdee0b582601f500f3d |
|
31-May-2014 |
Jin Cao <jinyan@google.com> |
Support "deleting" in outbox - Allow only failed items in Outbox to be swiped away/deleted. - Same applies for multi-selection. - "Deleting" in Outbox means remove the outbox label from the failed message and applying the drafts label. This needs to be implemented by both Gmail and Email providers. - Added new ConversationOperation for this new action. b/4080109 Change-Id: Ia9c8e386c7c65693f72fda85a49cb6a1b7d1fec1
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f58e4c3c942033fce12b5f75f9e4d9e708c9ea6a |
|
10-Jul-2014 |
Andy Huang <ath@google.com> |
mini-drawer. new tablet UI. New MiniDrawerView class for a minimized drawer UI with shortcuts to the main drawer logic to switch accounts and folders. The "drawer" is now always visible except in portrait conversation view. Can't easily use an actual DrawerLayout because: -drawers usually occlude other views, they don't push -we have that omnipresent 'mini' version -we want custom control over dragging to trigger a fancy animation (not just edge swipe!) (I'll revisit this later.) Even ActionBarDrawerToggle alone can't be used w/o DrawerLayout, so for now, all of this drawer logic (dragging not yet implemented) is from scratch. TwoPaneLayout no longer "shifts" its panes to transition from TL->CV in landscape; the panes are now fixed in position. Not yet implemented is a 'conversation-visible-but-not-marked-read' state necessary to avoid the initial gray expanse there right now. Bug: 16147175 Change-Id: I021aaff15afebb76db6722265e2a592213674405
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
29bc32547fcfb914f8f666f90343067f5d9b8e4d |
|
30-Jul-2014 |
James Lemieux <jplemieux@google.com> |
Quantify Snackbars (aka Undo bars) b/15991901 This CL addresses the major layout and styling changes introduced by the Material theming. Note that layout is influenced by all of the following factors: 1) RTL or LTR 2) Action text may exist or not 3) Description text may wrap or not 4) One-pane vs. Two-pane Change-Id: Ie69bca2cef39666a90c9a43d6b4b030c64e664c8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
74470048daf58bc4e14130e9c8adec2db78c8163 |
|
22-Jul-2014 |
Tony Mantler <nicoya@google.com> |
Rearrange MailActivity layout loading Need to load the layout earlier so that we can access a Toolbar instance within the layout itself as the action bar b/16458862 Change-Id: Iba187bb1495fe343a78598355586e1b5253452a2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
62e1496cb42c21b5348ebe795cd2fabd7574d3e1 |
|
23-Jun-2014 |
Régis Décamps <regisd@google.com> |
Refactor how the warm welcome is triggered. - 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
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ede2e52e725abc625ae963f979639ff8ecc40cf5 |
|
30-May-2014 |
Greg Bullock <gregbullock@google.com> |
Changes to support displaying a welcome tour. Change-Id: Ice10fd8d629a9f4aebe5cfb7cb94bc1eb5ebaaeb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9695e0046f79bd2d7166a411d6feff4cf0fb2539 |
|
29-May-2014 |
Jin Cao <jinyan@google.com> |
Properly check for empty Uri Uri == Uri.empty doesn't work. Changed all uses of Uri == Uri.empty to Uri.empty.equals(Uri). Refactored the function into a helper function inside Folder to check if a given folder is top level. b/14987117 Change-Id: I22b7a0bf7fbfcbd14936e5ff9b428fd3f4c15e60
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
eef52998bd2626c0e956837a339f0339f52fe25b |
|
17-Apr-2014 |
Martin Hibdon <mhibdon@google.com> |
am b0b74c3e: Fix some accessibility issues * commit 'b0b74c3e3e5eac1d8aa9132ca59bcf2a9cafe691': Fix some accessibility issues
|
b0b74c3e3e5eac1d8aa9132ca59bcf2a9cafe691 |
|
16-Apr-2014 |
Martin Hibdon <mhibdon@google.com> |
Fix some accessibility issues b/14075074 Make the individual TextViews in the message details focusable so that they can be navigated. Also, set the title of the drawer so that it will be vocalized when opening the drawer. Change-Id: Ic0ad0e7c5adebabce4d8135b69595062e9ac47c2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f55863727de2bb15f1906944bbc88c82703a3aff |
|
08-Apr-2014 |
Jin Cao <jinyan@google.com> |
Added support for arbitrary post-undo actions - Added interface to add arbitrary callbacks after a specific undo action occurred. This is useful if we want to do some specific UI modification after an undo, show the user more information, etc. - This callback is also added to DestructiveAction so all destructive actions can run custom callback when it's undone. - Used the interface to add show the removed conversation when auto advance is active. - Removed references of inLoaderCallbacks in AbstractActivityController where it's not being used. Demo video here: https://drive.google.com/a/google.com/file/d/0ByX6TliQlkICSjZub0ZyaWtxS0pmZk1kbk5WQ2V5SGlMTWxF/edit?usp=sharing b/6769311 Change-Id: I00cc66421315091cc934e0f63188ff693b0a84b8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
10fcd645f703799326da326630b663df69f91508 |
|
03-Mar-2014 |
James Lemieux <jplemieux@google.com> |
Move Help & feedback to Nav drawer of Email. b/11061485 Gmail remains unchanged due to this checkin. HELP and SEND FEEDBACK are now the two bottom-most drawer items in the Navigation drawer of the Email application when it is present or in the overflow menu when it is not present. SEND FEEDBACK still behaves as always. HELP has been redesigned so that it displays the help content in a local webview rather than using an external browser in the Email application. Change-Id: If1bdba26ac2caca79c81205a409c67659cd49653
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e764cfd130c4f92ae823fd1f361ab70439e8ec95 |
|
26-Feb-2014 |
Andy Huang <ath@google.com> |
small refactor wet -> dry Change-Id: Iccb44b3156d5a38d6f3d0ddfee5b8d21f00c98cd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
371a71c7f41155a83526e4745c993585c236b9d7 |
|
19-Feb-2014 |
Martin Hibdon <mhibdon@google.com> |
Make drawer available in Search and ConversationView b/8737446 This is more complicated to do correctly than it seems like it should be: When we are viewing search results, there is actually a separate activity instance on top of the main conversation list activity. This is true for both one and two pane layouts. So now, when we launch the search activity, we do it with startActivityForResult. If the result is set upon return, then the parent activity will know to navigate to a different folder or account. Change-Id: I5b780c4ce5bb0a1e55364cc4df280346900c5df5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
2caf31a93708d7c27a8dc80ace3fc7c3330b2bf0 |
|
05-Sep-2013 |
Mark Wei <markwei@google.com> |
Fix memory leak in FragmentManager backstack. Bug: 10604786 Change-Id: I6785512c926e47a101e7e628ef0e37a0c31c5f52
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ebeef1babe39de2c1d97429a93ea956c655cd377 |
|
04-Sep-2013 |
Alice Yang <alice@google.com> |
Revert "Revert "Fix hierarchical folders"" This reverts commit 6e604d33ee0aab10a72c836af6e83ace315f4b79. Change-Id: I8eb30a3b38919e0efb694fc571b166a89258f517
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6e604d33ee0aab10a72c836af6e83ace315f4b79 |
|
03-Sep-2013 |
Alice Yang <alice@google.com> |
Revert "Fix hierarchical folders" Temporarily so we can take TOT UR10 This reverts commit ad41814e704f0e7575472e4e7b60dfaf68b2f3b1. Change-Id: I70f7b3b424c3da3785181c673c7c4f80737892aa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ad41814e704f0e7575472e4e7b60dfaf68b2f3b1 |
|
11-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Fix hierarchical folders Stop adding stuff to the back stack, because we never remove it. Remove some unused code related to hierarchical folders. This allows nested folders to work properly. Bug: 9762055 Bug: 9694899 Bug: 9565828 Change-Id: I8ba2e96e6b478dd73e11fdcaf2c02643f1370e57
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
baf6e244948b1db23e064e8eb2114185d5410695 |
|
21-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Don't change ToastBar bottom margin. With no conversation view pager title strip, we don't ever need to change the height. Change-Id: I7d18919a156296f3ed8bd0f2e1098e6085b1469c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e0d01fb7379225a0f058999d9da9050f2fcc6945 |
|
20-Aug-2013 |
Scott Kennedy <skennedy@google.com> |
Show the selected state on an ad on two pane Also show the selected caret Bug: 10212376 Change-Id: I075b2aebfbe869c658108f7d36109ad70402b4c7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f8ccdcfc26f362d9c20771e2295a0c0e8d1195f3 |
|
09-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Refactor ActionableToastBar and ToastBarOperation. Now supports ToastBarOperation performing actions when the action button is clicked or the toast bar disappears. Change-Id: If191e3cbbf404d2371e086e105627c9474167e8a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
d9eaca8676ad4c6c58122fd41be799872bfd9cda |
|
05-Aug-2013 |
Tony Mantler <nicoya@google.com> |
Fix drawer handling when in "Waiting for sync" state b/10153197 Change-Id: Ic65855e9210271cdc3b715c64d8d786026ae9a67
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
2b9d80eb16156173f11a02eae4f770d8c975927c |
|
31-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Change all resid switches to if-elseif-else I really want to get this building in an IDE. As per http://tools.android.com/tips/non-constant-fields, library projects (like UnifiedEmail will be) have non-final R constants. They are not final until packaged into the main application project's (Gmail/Email)'s R.java. As such, they cannot be used in switch case statements, and we must use if-elseif-elseif-elseif-...-else instead. "This is typically in UI code and the performance impact is negligible." Change-Id: Ie699c13e1becd51c59c1b2ea81bc902d4f2e28d9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
103319aaed26bce257de55b2fe93d4f78d3c59b9 |
|
26-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Ads in conversation list Change-Id: I3095409211d6a6bdc42212bcd6a330333a9da411
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
259df5b9e11908c8ef7c91483924891dd96b3c27 |
|
11-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Add a new FolderUri This will allow us to add query parameters such that Uris will still appear to be equal, regardless of differences in the parameters. Bug: 9780067 Change-Id: Iafe39763b3ee448cf02536df89caa736500dfdaf
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0eaef6fb257f220687434cda763354ec5f8cb5bc |
|
11-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Up button should go up Previously, it was always opening the drawer, even if it showed the up caret. Bug: 9761890 Change-Id: I337c84683207e2dcb22cb55a66f9e79087016e2e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a3bbac02817b12e7641ba67f95d60ecd7794b500 |
|
04-Jul-2013 |
Vikram Aggarwal <viki@google.com> |
Parent folder as a URI 1. Change folder to a URI 2. Fix references. Bug: 9694857 Populate folder.parent correctly in the provider Bug: 9694899 Clean up the hierarchy folder code Change-Id: I4eff33d0259777e447cfe5769813db990f142077
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
fcde31a9e40ba2ffac0b877005c5a13e76640a05 |
|
08-Jun-2013 |
Vikram Aggarwal <viki@google.com> |
Nested folders for phone Change-Id: Iba5569d4f6cf57b8edc37d7dfd8a5c2fa13a0b66
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
37a20ca39be842b4b4cb54d5b5ed418d49d950cf |
|
06-Jun-2013 |
Vikram Aggarwal <viki@google.com> |
Fist cut of nested folders 1. Rename FolderListFragment.FolderListSelectionListener to FolderSelector. 2. Allow special views to be tapped; all existing special views disallow taps. 3. Allow nested folders in ConversationListFragment. The adapter is responsible for populating the nested folders above the conversations. 4. Add a nested folder special item for the conversation list. This reuses current resources and is particularly ugly. The ugliness will be fixed once we have a UX spec and real assets. 5. The child folders are loaded through an ObjectCursorLoader in the ConversationListFragment. Change-Id: I5eb566d7a1f87c1a11fc6961378d00650a27007d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
feb5b1ef0c9489c1ea727177f8bd423250b64990 |
|
29-May-2013 |
Scott Kennedy <skennedy@google.com> |
Fix hierarchical FolderListFragments We were never using most of the args we set. There are multiple active FLFs (drawer and subfolder). Both of these are notified of folder changes, and then they check if that folder exists in their cursor. If not, they switch you back to the account's default inbox. However, the cursor for the drawer only has top level folders, so this breaks. Now, we have a full folder list cursor in each FLF, and this is used for that check. Bug: 8575001 Change-Id: I47f17fb9c5d108b2388db5ba918f6413a018b414
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
12b3ee458e04ac7e0b69302e671d10b24a5c98cf |
|
25-Apr-2013 |
Andy Huang <ath@google.com> |
use the drawer on small tablets. general tablet layout love. Added 'spacious' variant of NORMAL list item layout. Because the determination of whether to use tight or spacious dimensions isn't easy with resource qualifiers (think of 7" tablet, which uses tight dimensions for 2-pane side-by-side layout, but spacious dimensions in portrait), I just made a whole new layout for this permutation. Please remember to maintain NORMAL, WIDE, and now NORMAL/spacious variants! Use WIDE mode + drawer on landscape 7" tablet. Make 2-pane controller and layout drawer-aware. Pull up drawer code into the common controller base class. 10" 2-pane continues to not use a drawer. Don't use a resource qualifier to decide between normal and wide item layouts (same reason as spacious dimensions above). Use the actual item width as a dimensional test (list_min_width_is_wide). Use default drawer scrim color. TODO: the conversation-open animation is janky looking. can't open the drawer in conv mode/7" landscape Bug: 8578806 Change-Id: I1210b1d47d1756353f7c386873465751ca21f801
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
01d291a1efb04752f3445c97f0494501f95d5645 |
|
29-Apr-2013 |
Scott Kennedy <skennedy@google.com> |
Merge "Close drawer when not changing folders" into jb-ub-mail-ur9
|
8bcb7c5c37ffd5a1a0c5f4efbcab084830d5e033 |
|
28-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Close drawer when not changing folders Drawer should close upon clicking the currently selected folder or clicking the current account while viewing the inbox. Change-Id: I1f4827e9386289172ea3b1137c393dd1d6fc587c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
1aced4cbbb00618e6e1eb34438b5769ef5180e69 |
|
29-Apr-2013 |
Andy Huang <ath@google.com> |
fix 1-pane drawer overdraw Ensure DrawerLayout only has one content view (or else it will double- draw scrims). Ensure the drawer itself has an opaque background to enable faster clipping codepath in DrawerLayout.drawChild(). It must be the drawer itself and not a child that has a background. Bug: 8753305 Change-Id: Ib3fd18fe5e6fda5738adc4fd12ea6b09034e78ca
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
687e64deeafade4709bf0acac1076776bc9ab9a9 |
|
25-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Remove account from widget folder selection For widgets, we should not show accounts. Removed from list by adding an instance var to manage it. Bug: 8713654 Change-Id: I1cb8b219e67e6d61e6e767a27077b1b8c31ccd3e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
8c887ef97607ad5c2c94d1d3b902afe6d5ef95a0 |
|
24-Apr-2013 |
Paul Westbrook <pwestbro@google.com> |
Support pressing title to toggle drawer Bug: 8521542 Change-Id: I920a54f5ea69a8f839c0134a6fc274b0645e157c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
b4389ea29aa6df16c096f067da50f4476e4236f6 |
|
23-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Fade conversation list on drawer close Instead of abruptly clearing the list view on account/folder change, fade it out and then continue with existing behavior. The fade is synced with the drawer closing. Change-Id: I7084eadbbb487dcfba64a1f1a36ed3fc913c45bb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0f73d905c5e935a5280f8eb647cc924c2854b7de |
|
20-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Remove drawer jank and load less aggressively Added an observer that only allows account/folder changes to continue once the drawer is closed to avoid jank/awful fps that we saw before. Bug: 8661186 Change-Id: I859882b40a8cdf86d0b825eb7e4203b4e3516ecd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
57246a4bf94e8b440c0597fa4a8e4f4e8a46532a |
|
21-Apr-2013 |
Paul Westbrook <pwestbro@google.com> |
Use the ActionBarDrawerToggle Bug: 8668887 Change-Id: I1efbee696aa46fa6d1226f7e23793dbfdbcbdddb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e76d3396807c8cc1f4d11d0beb6bd5ee955b38ab |
|
18-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
resolved conflicts for merge of c38e0658 to jb-ub-mail-ur9 Change-Id: I3bffe469f863bf38dd8be1fc001e47649a31d8ff
|
e06c114b3ca18ae26bcb08fa46717f44d621d8ef |
|
16-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Add shadow to drawer As part of the important UI refresh: For one-pane (phones), add a shadow to the right edge. For two-pane, change the folder list background to have the shadow on the right edge and the normal gray color elsewhere in the background. Bug: 8570229 Change-Id: I390efb8dc972635c57e7a5c50bed5b79eb236d1a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7e654a970f73e3ebfd6895caa5072c6dcc9e7fb5 |
|
11-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Update drawer UI (Contact Photos, Baseline Align) More UI Updates: 1) Updating the drawer UI to have contact photos next to account names. 2) Changed the align by removing font padding from folder item names for now. 3) Fixed Manage labels miscolored label header. 4) Changed Widget "Choose Folder" to Theme.Holo Bug: 8617095 (UX) Bug: 8599771 (Manage labels header) Bug: 8600474 (Widget) Change-Id: I6869ede915f65152587dd6051e1c4cfc571a1339
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6ffd966aec6fe2e63e0a3ba067f6881a9ba00186 |
|
15-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
am e60f6d24: Merge "Switch out of wait mode correctly" into jb-mr2-dev * commit 'e60f6d24427d2d324e848a6247fa5612db9b3373': Switch out of wait mode correctly
|
e60f6d24427d2d324e848a6247fa5612db9b3373 |
|
15-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Merge "Switch out of wait mode correctly" into jb-mr2-dev
|
db1980d81de76b5cd0af74aea86e1e0611e6a7aa |
|
12-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Merge "DO NOT MERGE Use new API for changing up arrow" into jb-mr2-dev
|
8cbf281d1676c21ced08c42da2aa9828cdadd87d |
|
12-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Switch out of wait mode correctly The burden of transitioning out of wait fragment is on the implementation of hideWaitForInitialization(). It is correctly handled on phone, but not on tablet. On tablet, if we have not transitioned out to the correct mode, we should set the mode to conversation list mode, which is the only valid mode to set at this point. Bug: 8529007 Compose, Search, Manage labels and Settings are missing from menu bar in list view on Nakasi after adding an account Bug: 8427487 Blank page is displayed upon opening Gmail 4.3 (UR8) on ICS tablets Change-Id: I779969187e1aaf0b84697354544b6f0440e93578
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
074a5a1c102176f2d370a568df48eea67bcaf02d |
|
05-Apr-2013 |
Rohan Shah <shahrk@google.com> |
UI Change for Drawer UI refresh for the drawer. Moving to a dark theme. Note, the pictures for the accounts will be added in a later CL. For the time being, there are gray rectangles for where the pictures/tiles will belong. Bug: 8594143 Change-Id: Iddd0a12ccbde70088beb386963a903141d9c345b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
5cb88e4e1ea8a5557cfe64f49ec2b6c2841541b6 |
|
10-Apr-2013 |
Rohan Shah <shahrk@google.com> |
DO NOT MERGE Use new API for changing up arrow If the version is JBMR2 or higher, use the new API to set the up arrow to the burger/the default depending on the current view. Please do NOT submit before this: https://googleplex-android-review.googlesource.com/#/c/295755/ Bug: 8557723 Use new action bar API to switch drawer glyph on jb-mr2+ Change-Id: Ibe56b95cd0e70974adda799f808f49d7e085baa5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
5f02e0d6629c0ac48aaada60df563d5299fc3c1b |
|
05-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Added logging when up arrow is not found If the child count is different than expected or the type of view for the up arrow is different, warnings will be print with the corresponding issue. Change-Id: If02ceb68930b3537dbe9c13fd79faeecae1c53df
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0f21965daa8db453268598058eaa8eebb2941b25 |
|
05-Apr-2013 |
Scott Kennedy <skennedy@google.com> |
Merge "Change Up Arrow in certain cases" into jb-ub-mail-ur9
|
80b6aa924828c5c4b8bc4981efc9e1f2f3b86660 |
|
05-Apr-2013 |
Scott Kennedy <skennedy@google.com> |
Merge "Show up when waiting for initialization" into jb-ub-mail-ur9
|
713156d695326e3d5a1d0726ea1ec0d1d490bd30 |
|
04-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Change Up Arrow in certain cases Allows for the up arrow graphic/drawable to change dynamically depending on what the current view mode is. Bug: 8437491 Change-Id: Id5dc3cde38d1b88e69a8ce313e2babcf33533543
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
1dd054f4e5581b69a52936c9d257fa91cb6daee7 |
|
01-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Show up when waiting for initialization The view mode changes were showing the incorrect state for the up/home button. The button should now toggle the drawer when in Waiting For Sync mode. The change also makes it such that the FolderList will (at least for the time being) toggle out the drawer. Bug: 8528160 Bug: 8518608 Change-Id: Ia58e28892f44bda373fe346449a78f04a12a7f10
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
54202a343b039d7d6984a7d1c2fc43bfd8f4e0bb |
|
05-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Allow back from top-level Back had the implicit assumption that the parent had a folder list as well. With a drawer, the top level is no longer a fragment. Check if the parent of the current folder list was also a hierarchical list. If not, go back to the default inbox for the account. Bug: 8474211 Folder List Fragment for Hierarchical folders back broken Change-Id: I0c79f496e2a327ce7529e11e26e1f0dd096730e9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
176af9fb66c83cbdca8705d6d8c8958b81cac553 |
|
04-Apr-2013 |
Rohan Shah <shahrk@google.com> |
Lock Drawer in Conversation View If viewing a conversation, the drawer is now locked (user will be unable to swipe from left edge). Bug: 8545345 Change-Id: I22a704eb5bb99d897ec82b20317da33d935aa381
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6214ee405453b79f08859025fee5ed361d5499fe |
|
03-Apr-2013 |
Andy Huang <ath@google.com> |
fragment transaction / back stack cleanup Execute all fragment-replace transactions in 1-pane immediately. This was contributing to b/8483995. Don't use the back stack in secondary activities. Not necessary. No material change to back-stack usage in 1-pane. Add debugging info to key fragments/activities. Change-Id: I1268cfbfaaca16b812b9e690facf912a1c9c4bc0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
08b0a0dc9e77697c58f39ae9c49b3b884af29c71 |
|
30-Mar-2013 |
Andy Huang <ath@google.com> |
fix zero-size conversation lists from a view conversation intent Execute the conversation list transaction immediately. Small scope of a fix for now... I'll expand later if it's safe. This causes the add-list operation to insert a view immediately, so ViewPager + FragmentStatePagerAdapter don't get a chance to pick up this add- list operation and execute it during measure(). That was causing the beloved layout-in-layout problem of zero-sized view sub-trees. Bug: 8483995 Change-Id: Idf2e1ce734d2593113b86b1c7a779757eb8d1358
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6e75e764b182f53b987fe59c86671f05f74684b7 |
|
29-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Merge "Load the drawer less frequently" into jb-ub-mail-ur9
|
23b528f182f14ef7ec1f1a4eb8d8ee9b8f04a2f2 |
|
29-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Load the drawer less frequently The drawer should be brought up at application start-up and torn down when the application goes away. It sets trivial extra state, and gets all the state from controllers. Change-Id: I63b39b1eadb9518a7070375f7b252afe9e90e157
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e8b7186c15506ab7487086aba197bd12d8e2a3d2 |
|
29-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Merge "Drawer always available in list mode" into jb-ub-mail-ur9
|
cfaaf427ff0ccb65329ced60e5e5298039b94eaa |
|
29-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Drawer always available in list mode If the application is currently viewing an object from the drawer, up should always expand the drawer. Back should still go back to the default inbox for the account. Bug: 8491718 [UR9] Tapping "Up" affordance from conversation list should always open drawer (not only in Inbox) Change-Id: If976a0fcb9d86d07a8d16795fb10194efddc3654
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
564c969875af7d4c760fd791a97696e247a641c2 |
|
29-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Fix excluded types We only need to exclude types only for top-level lists, not subsequent hierarchical folders. Bug: 8506090 Excluding folder types is currently broken Change-Id: I1c18a9302c756c55f9e12ed33bfd8fe9820a7108
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e9dcd245262567c1d294d36faa7f0f23973cb229 |
|
26-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Enable Hierarchical folder lists This re-enables hierarchical by either getting the folder list URI at construction time or as a list from the current account. Bug: 8473060 Folder List Fragment for Hierarchical folders is busted Change-Id: I5c8435b521f436f65bff83803c70684eb6d2dd40
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9860f5ebcd77bce62f76ccf46cee939fe4f2858a |
|
26-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Remove MORE label references Remove the more label entirely from FolderListFragment and DrawerItem. Change-Id: I4f557764325f9065aa8c02bb10a88afbd93e53a4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c82a0322ef0c2eb35bf0ae8deb2e9292060ca946 |
|
25-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Reset the FLF arguments when the account changes. Earlier we were creating a new FLF every time an account changes. We aren't doing that anymore so we need to change the arguments when the account changes. Changes: 1. Decouple the folder list URI from fragment creation. 2. Instead, always read the folder list URI from the current account. 3. No point saving it or restoring it from bundles. 4. Implement AccountController in the FolderSelectionActivity to pass the current account when creating widgets/shortcuts. ...and minor changes: 1. controller.loadFolderList() is only called from OnePane, so making that private 2. Removing the folder list URI as an instance variable since that is now unrelated to the creation of the account. Bug: 8437457 Mismatch of personal/corp account Change-Id: I81170ee80b5f9e064fd13edbc23981171740d814
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
694b3b086288836a309d489e600b7e8c6885ca88 |
|
22-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Add listener to make sure drawer isn't stuck Added onDrawerStateChanged method to ensure that when the drawer is settling, it doesn't get stuck in a weird state that causes it to end up locked completely. Change-Id: If17db32da8c5a912747f2efcd2a5325775073b60
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9e2d407fdafeb874e640eb84017feaf784309075 |
|
22-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Change-Id: I5c75564eeb2df9ec76d682dbe5f4465ff2a1a5d4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c459c2d6932c6a1317e8beba9d1ad661f3889370 |
|
21-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Disable rapid drawer tapping When the FLF didn't get a chance to refresh after drawer closed, there were issues with emails showing up in the incorrect directory. Bug: 8437457 Bug: 8408874 Change-Id: I780f916c31fa27d007fa6af135ed39f7d7b29f27
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7f65718157f9336e6590401a4b3ab6bfce2d9659 |
|
20-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Allow up on the spinner Allow taps on the spinner to expand/collapse the drawer. We don't have the up-icon yet, that will be put in soon. Bug: 8434484 The new gmail UI makes my experience more difficult Change-Id: I36c74c041abcef5224ff2fdaf6fa84f2c6925634
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
5a393781efa38765b264ea2df246103aad91786a |
|
19-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Removed waiting for sync condition for drawer lock Waiting for sync should not limit the user from switching accounts since the spinner is now gone. Change-Id: I9bd752f61dacf2597088fe52d8ea4611ccdb2bc3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
6a3d5ce0b18f58fcfa1af0315dc8ddc7331c2c5f |
|
16-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Change the undo message for a "Move to" action Previously, the undo bar toast could only show the currently displayed folder, but we want to be able to say something like "Moved to Social". So now, we can pass in any folder that we consider the recipient of the action, and this is the folder name that gets displayed in the toast. Change-Id: I0b17462be86657f7d0c9a3504d15091a157a2292
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
8b353d3473421acc1ccade5d0c207c781a218ffd |
|
15-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Remove collapsed headers for tablet only Take out "More" and "More accounts" when the FolderListFragment is displayed on tablets thru the two pane layout. Change-Id: I4a4ee8a7572edd6b025dc82a490f3f3603d10beb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
973ae76e9e6e811c8cab646a997b05416808d553 |
|
14-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Minor formatting/nit Change-Id: I38345e4f27839b972020a8901af3e5e170227c46
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
eb89afee9bcdacaf82dfd9033ae752fca5571ac3 |
|
14-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Drawer loading failsafe There's been an issue with drawer showing up blank after either a transition or after one load of the inbox. The change introduces resetAndLoadDrawer to manage the folder list fragment being replaced only when the drawer is completely closed (So there's no item addition while the drawer is moving, which caused some jank/lag issues). The fix should take care of the blank drawer issue in the normal labels. Search view modes may still give issues, but that'll be fixed when lock/disable drawer functionality is added. Change-Id: Idc3ab6e2ede17fd404ae88fbeaa3b904ab19a740
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
4a16fa3ebbfb9cffe0ede9d32a969ccf42b85219 |
|
14-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Merge "(Experimental) Make Drawer list sectioned and show recents" into jb-ub-mail-ur9
|
b3442f582363e08ee38d92fec2a38588f73a691c |
|
13-Mar-2013 |
Rohan Shah <shahrk@google.com> |
(Experimental) Make Drawer list sectioned and show recents Drawer previously was a flattened view and mail spinner was the only dialog with recent labels. This change has disabled recent labels in the spinner and changed the drawer folder list to show sections (system/recent/all). Note, functionality has not been removed in order to consider Email functionality - I've only disabled the spinner as is and changed the drawer to a sectioned one (SECTIONS_AND_RECENT_FOLDERS_ENABLED in FolderListFrag). Bug: 8373282 Change-Id: If53712478402abeb37715844c05305a90bf60cc5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
5fd8afd5c1b40580c069a5a97039ca0601208216 |
|
13-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Remove unused interface and rename method changeAccount(account) is more indicative of its purpose than onAccountChanged(account) which suggests that the account has *already* been changed. Change-Id: I7dd780e16b6a238814748bb429113dfe1069d9aa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
8e65c6d2527c7539b689e0e8548c84f690badca5 |
|
08-Mar-2013 |
Rohan Shah <shahrk@google.com> |
Drawer support prototype Added drawer in the stead of the folder list selection. Drawer works as expected, by swiping from the left and following up with the drag. The show labels item has changed functionality - toggling drawer state. Change-Id: I34efc865c95696911d8cdf96e83a4334816378a0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
3e068bab6009a758309f07ddcea3d6171feac635 |
|
06-Mar-2013 |
Vikram Aggarwal <viki@google.com> |
Some more cleanup Change-Id: Ib641e1c876bc4187815e4089fb839196056c087e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
c1fb9a9c2730178105977fca629e80951bfc3cdc |
|
11-Feb-2013 |
Andy Huang <ath@google.com> |
Single-message zoom using a floating WebView Protected by an experimental pref for now Restores scroll position Preserves 'show pics' state Speedy animation Fade-in animation begins right after onNewPicture (ICS compatible!) add UpOrBackController role for fragments to get a whack at back/up And because this approach avoids using the CSS 'zoom' attribute within single-message mode, double-tap works well and there are no line-height issues. Bug: 7400516 Change-Id: Idedfa6e35edc291c9169fbd9b1315b39b4253f60
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
d31f0cf7dc06292527e23853b818aa9c9bc74ba6 |
|
19-Jan-2013 |
Vikram Aggarwal <viki@google.com> |
Remove obsolete TODOs and obsolete code The extra constant was kept for compatibility. It has been renamed to ACCOUNT_INITIALIZATION_REQUIRED Remove TODOs that aren't valid anymore. Change-Id: I9fa0ca638e1b2f6578895b77a7087362bda3ce2c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a0e088eb2c59c4284ee9b04478bd9bb00a5c8dfe |
|
30-Nov-2012 |
mindyp <mindyp@google.com> |
Merge "Don't animate committing destructive items when we are opening a new fragment/view" into jb-ub-mail-ur8
|
17a8e78d61bff414610e23f24889bab29955f54e |
|
29-Nov-2012 |
mindyp <mindyp@google.com> |
Don't animate committing destructive items when we are opening a new fragment/view Fixes b/625303 Swiped away message reappears. Change-Id: I273fa2e69d3fe599af52f41c4ebb4c373e193272
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9c75b75021d46c2a68abcc21de97ed7dc9f76828 |
|
29-Nov-2012 |
mindyp <mindyp@google.com> |
Fix monkey crash If we dont have context or a folder, just load the default inbox Fixes b/7625678 NPE at com.android.mail.ui.OnePaneController.transitionToInbox on tapping Gmail. Change-Id: I3e950ae20d77e92441060a3b455b379383dbf0b3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c59dd8270215f97d39697dae9e69976bcfe3642b |
|
13-Nov-2012 |
mindyp <mindyp@google.com> |
Make sure we use our version of converting from html to plain text. Fixes b/7532730 audit UnifiedEmail and replace all Html.to / Html.from with our HTML tree parser Change-Id: Iad23b688175b20db698fce5efccbe869c12d0b5c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
93dc202420c3bf8adf4d9e8ae18c8e30e3cb1959 |
|
05-Nov-2012 |
Vikram Aggarwal <viki@google.com> |
Make up icon work consistently for recent & label list Fixed two problems with the up icon. Removed the visibility of the resetActionBar() method and removed code duplication. Bug: 7419208 Up arrow next to app icon isn't updated in two cases Change-Id: I0b166bfe9984eb4f5ce0370d1c0abbb036fab93d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
d243d459b64003c5171ac5ff606729e525161be6 |
|
01-Nov-2012 |
Mark Wei <markwei@google.com> |
Reposition Undo Bar if user enters into conversation before or while the animation is running. Give a little bit of margin to the Undo Bar when it is not shown in the conversation to match the amount of empty space under the Undo Bar while it is shown in the conversation. Bug: 7418034 Change-Id: I7f4333b9bc89e8c55a938c8aeb37026abc419a1a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7c7043b2b546bb638ef1ca69c978ee8d3f41debb |
|
30-Oct-2012 |
Vikram Aggarwal <viki@google.com> |
Back should reload the inbox when the default inbox changes Bug: 7434867 Hitting Back on Inbox does not navigate back to Priority Inbox Change-Id: I7f322d92f85fdf8ddb523eacb447523614a63d68
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a3f43d4c2423ab03bdae925042fe8440b7f70025 |
|
26-Oct-2012 |
Vikram Aggarwal <viki@google.com> |
Allow immediate removal of a wait fragment. Another variant of the problem, where adding a wait fragment and immediately removing it (all in handleIntent) doesn't work because getFragmentByTag() fails. Bug: 7377741 Waiting for sync didn't dismiss when attempting to view conversation Change-Id: I5536cb692dfb57bf998c0f01b34e42fe3118789c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
dd6a7ce32c4003bd0941e2f18fcf5b80b5cd43c5 |
|
23-Oct-2012 |
Vikram Aggarwal <viki@google.com> |
Reduce visibility of methods Change-Id: Icb0d2698debfcecb440477a6125d8981b8e68bfb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6ffc1b8ad2d600b4886590d68af8f776b3296574 |
|
09-Oct-2012 |
Vikram Aggarwal <viki@google.com> |
Call resetActionBar only on View Mode changes. Do not merge into MR1 till this is well tested... resetActionBar is now being called in onViewModeChanges() and that should be sufficient. No other calls should be required Change-Id: I1be737d0e1d1f76b29c0f11d87903c9b0cc92fde
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a691fc799aa042fc178d5f194af55b7b63a16a7f |
|
09-Oct-2012 |
Vikram Aggarwal <viki@google.com> |
Update the actionbar on view mode changes This cannot be done in onCreate() since the viewmode is unknown till the end of onCreate. The best place for this is on ViewMode changes. TwoPaneController already calls this on every view mode change. Bug: 7301942 On rotate in view of label (not inbox), the 'up' button is lost Change-Id: Ide9d547891633e665a84b3110f3bbc066fd0201f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
deab11995a1ebb83b24bf567508440088ec943bf |
|
27-Sep-2012 |
Paul Westbrook <pwestbro@google.com> |
Don't remove fragments that are not added We shouldn't attempt to remove fragments that are not added to the activity Bug: 7232641 Change-Id: I7bd89db79abc10289904da0f314a615b891fcd0a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
2b703c6c71a369485efc8ade26d449d25669ceec |
|
18-Sep-2012 |
Vikram Aggarwal <viki@google.com> |
Continue showing conversation even if no fragment If we found no fragment, we were returning from OnePaneController.showConversation() without showing the pager, or doing other work. Fixes b/7183788 Single conversation notification takes user to conversation list Change-Id: I241b6dd2e6fb0b0c56536826e364f3a3fda57368
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f4fce1227d8b49f45e6569f1590565f2df9e8d6e |
|
15-Sep-2012 |
mindyp <mindyp@google.com> |
Stripped down view for email that uses no javascript. TODO: push message header off the top of the screen like browser url bar TODO: use spinner in the secureconversationviewfragment while waiting for the page to load; should be able to push logic to the AbstractConversationViewFragment fixees b/6383847 Implement secure/sanitized conversation view for unsanitized message content from IMAP and POP servers Change-Id: I03299a2d193ad1dc8fb5cc509eaf5d9f3dae6b0f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
2bfb5c0fa1cfe7f25c121d6435dc1a04439f7bac |
|
05-Sep-2012 |
Vikram Aggarwal <viki@google.com> |
Save mInbox in OnePane Fixes one cause of overlapping labels list. Other issues remain: 1. mInbox can still be null for other reasons: launching from a widget or notification. In this case we need to instantiate a list context correctly. This is currently broken. 2. Fragment transactions can still cause overlapping views, since this issue was reported *before* we setRetainInstance to false. b/7048724 Manage labels screen is overlapping on the conversation list view screen Change-Id: Idfd97aac1cf24c8a072247a0fca8868c91f26bf9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
2c0032dd2a4996680ab6e1958fe80a2ebcd01ef3 |
|
04-Sep-2012 |
Vikram Aggarwal <viki@google.com> |
Use sectioned lists only on two pane. Fixes b/7102332 Creating a widget crashes in FolderListFragment Change-Id: I66616725d954a4e9e28f237fb1f52ce82d488afa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
daaf8061dc6fc3cf9f2dda352988c9de08e1a8a8 |
|
29-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Fix Hiroshi bug and allow back from folders other than inbox. If mInbox is null, we have never created an Inbox before, and in this case it is indeed correct to start a loader for the default account inbox. When AAC.onLoadFinished() is called, it will return a cursor for the conversations in the default inbox. This account will be triggered if you directly enter a non-inbox folder directly from a notification/widget without entering the inbox. I was wrong in thinking that the loadAccountInbox() codepath was incorrect. Change-Id: Ie1a776b1e524432bf9f6700ef5291c0dc0ff0917
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
1ee96b2b100546b5b69ad42c5bc3755a4293d1a3 |
|
25-Aug-2012 |
Andy Huang <ath@google.com> |
handle missing messages every which way Entire conversations can disappear upon sync (should pop back) Or just single messages can disappear (should keep conv in view) Handle these specially in conversation view. Stay on the current conversation when possible, except if no messages remain, we should pop back to list view. When single messages disappear, make sure we don't treat all the rest as super-collapsed, or else the conv will render empty. When popping back to list view, we can't call popBackStack() from onLoadFinished(). Since we only need to do this in 1-pane, add logic to 1-pane's showConversation() to handle cases where the caller is in onLoadFinished. In that case, we need to defer the work slightly, but still be aware of other FragmentManager constraints when later handling the deferred job. Bug: 6889742 Bug: 7005366 Change-Id: Id37f878e82523837b7f105d49fb736f774bad224
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
203dc00aff8e890000ee0c9587081e0968fdae8d |
|
23-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Use existing CLF and FLF in onCreate. This will reuse existing fragments if they exist. If a folder is selected in the FolderListFragment, it will continue to stay selected after this change. Caveats: 1. I would have liked to clean up the existing methods: showConversationList(), onFolderChanged(), etc. But changing those might lead to bigger breakages, so duplicating code instead. Code cleanup happens with UR8. Bug 7048818 filed to keep track of the cleanup. 2. The current folder is not highlighted if the folder was selected using recents. This requires the FLF to be a listener for folder changes. This happens in the next CL. Fix b/6879926 Change-Id: I500752478f96a1d343a045378cff5472b764cd1f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6343feb48abdf2de6cc9bbc25859e614c0a15f50 |
|
22-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Ignore ViewMode.UNKNOWN for actionbar icon Fix b/6996976 Change-Id: I0dde6c4d8ba4c479274a972fd23ad7d41b9ee7dc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
30745b6e9c4d280ac578d1186fbc0cec9bd2a838 |
|
19-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Add context sensitive help Add support for context sensitive help Bug: 6383522 Change-Id: I409a819d3f3d5cc0b87f41f7a523dd1ad8abd980
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
01f30509c4c8ad0d13b7635447b7f023c7a0cab7 |
|
14-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Show remove folder option in user created labels. Fixes b/6977686 User created labels don't have Remove label (archive) icon Change-Id: Icecada98ac11e66f622fbac80991a481873eed18
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ae4ea997d3d3f3c8c11fc5a3e7f9d49f82b4e2e7 |
|
07-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Remove NPE when listContext is null Change-Id: Ife330f28c3d34b8e0d028d30c92e857dec86d81f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
53d46a3e3b3c3d97696ecfffc3a99ac9250063e8 |
|
07-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Remove superfluous parameters Change-Id: I72528df171bea426da37e9c38ba4a68c22f20909
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
4b07a21977ca63d58192366723124baca7486764 |
|
06-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Remove confusing and pointless line Change-Id: I7e7cfbaac55078f566bdaad0932f6493d53ae9f1
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7b6d03db55338cbf9717896f99eb20d02bf371e4 |
|
30-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Serialized strings are faster than json Also, cleaned up/ reduced the number of Folder methods that do the same exact thing. From ~24ms to ~12ms/conversation now AKA in half AGAIN Change-Id: Ibdc67fe94d66ce32d933b4e18e9581d8c71d9974
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
aea87622d3244be963ee4e9f9780e79b34ffe260 |
|
30-Jul-2012 |
Paul Westbrook <pwestbro@google.com> |
Prevent NPE Bug: 6896199 Change-Id: Ia56585ddc933309261ceecbf7395ca5e58f8228f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ea94550fcca64c3a3510cc10b0e5465d9018668e |
|
20-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Use hierarchy folder for traversing hierarchy. Fixes b/6850283 NPE while navigating "up" a hierarchy Change-Id: I80b119a9b9200f41855ae7b5efc0ea249f35146e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
4765c5c90802d0abcf2b05c4967e7dd7d2284f9a |
|
19-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we hold on to pending undo ops. its possible the converesation list fragment isn't visible yet, since onepanecontroller doens't always have it around. In this case, store the pending action in the activity and show it once the fragments attaches. Fixes b/6779210 Deleting a Conversation in a Label in Conversation View Does Not Show Undo Change-Id: Ib8c41dceef67dcdac1c331ed777daf6dfb0b6702
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
148b191681abebc56973f7a42d9adfbdf30c8a2c |
|
17-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Restore hierarchical folder on orientation change. Make sure to enter folder list mode if the hierarchical folder flag is set as well. Update TwoPaneController to use the hierarchyFolder to determine what to save/restore/how to go up the chain Change-Id: If8879a952f9dd63b0b29f4402f060906d83bf543
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0f7ae7a2d244463f75b3d4e1f79e27305a4dcb38 |
|
17-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Restore hierarchical folder on orientation change. Make sure to enter folder list mode if the hierarchical folder flag is set as well. Change-Id: Id31bb2872c48f8026df0d57f8c62b0ed224709fa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
99f18d1504203d2f3a82373dcc0937ef0277561a |
|
17-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Update hierarchy back behavior / up behavior to use getHierarchyFolder This is how we are tracking what the currently selected folder in the heirarchy is. Change-Id: I101d3afdaea7e609b81900f507547fade9b6e2cd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a1f99981919755e50f31fe300517d2fed752997e |
|
17-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Click a parent folder should open that folder. Change-Id: I28b40d16fa0e639a124b7372bdc9a35dc8a754a4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9d7519d18e8ddbcdd59b37eec7c85210fca0e8c2 |
|
16-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Error notifications show after orientation change. Change-Id: Id038a4ee7a7f28fe7119d71e070464d9663f8516
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
d3367499e56116854ed637b1036fd71057ac0f49 |
|
26-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Make it possible to restore undo operations. Conflicts: src/com/android/mail/ui/AbstractActivityController.java src/com/android/mail/ui/SwipeableListView.java src/com/android/mail/ui/UndoBarView.java Change-Id: I42441c60e9ab7aff8f4c07dd21d03d2e419b2d0b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c975e8416b64a1ebdec6adee7e65dd1d0928e8d4 |
|
16-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Re-connect to an existing loader on orientation changed. That way, we can keep the existing conversationcursor over orienation changes and retain the undo state. Find another way to make sure there is no selected item when we open the folder list. Setting the folder to null means we don't know that we are switching folders later. Change-Id: I720f2a1fc1dba6e9e25ac0512894273f758499d5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c2c9dc14aa184db1f05b8c060b27d97dda5a3ca4 |
|
03-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Refactored UndoBarView into ActionableToastBar. This step was mostly renaming. Deleted some unused stuff. Made the show() method far more general. Now showing sync errors as a toast. Still requires some tweaking for the different error types. Change-Id: I476e107ed89ed492b44b081d32e4216504626c13
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
1c3cac4cca3aac6a06f1120ea1a5919bcdd8200c |
|
30-Jun-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Undo Bar refactoring and layout fixes. Previously, the undo bar was declared in xml and included a layout called undo_bar. undo_bar contained merely a LinearLayout and an include for undo_row. Since the undo bar was just a FrameLayout, turning it into a LinearLayout enabled the elimination of undo_bar.xml. In testing this change, noticed several bugs in the layout of the undo bar. It was not properly accounting for left and right margins in two pane mode, was obscuring the pager strip in the conversation view, and was not showing up in the left column when performing a batch operation in two pane mode. All of these have been fixed. Change-Id: I0c6a2656c5a86d38aab6fef074b16f1b61f20a1b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
dbab8fab0c98dc2d56bbe17c7436719129952b7b |
|
29-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Make undo work We weren't passing a converesation cursor or adapter, so there was no way to send the undo message! Change-Id: Iece4cfdbfeb6b399080e85b2100c96e46d806cfd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
12a4d8040d64501aa5a24c25865c806331560b74 |
|
22-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
eow that two pane hierarchies are fixed, fix 1 pane hierarchy navigation Fixes b/6406686 Navigation issue when pressing back when in nested folders Change-Id: Iae5e472508b0f5c886e41b607b79963199a72f40
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
505df5f59c92adbe8eaa734321c1d3f91be84a4a |
|
20-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Fixup multi level hierarchies Fixes several issues: 1) now properly shows parent icon at all levels 2) now properly hides parent icon at all levels (recycling views means we have to show/hide each time!) 3) moving up/ down the hierarchy works properly open issue: going back from a folder with children to its parent does not select the child folder in its parent view Change-Id: I46995ee636ac199a3d600eea0b5f37bd3bf624ff
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
11e3596e8c5978d07195ae2d7c8a96bb51aa75b3 |
|
01-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Handle up and back behavior for the one pane/ two pane folder lists. Adding hierarchies makes this more complex. Change-Id: I6f4946c351c53dbfda880780fe804d8e57c4a494
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
13c12a628bd4f1e52b9a4fc44a18b85bfdaeb88b |
|
01-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Update hierarchical folders; implement this "the right way" Have 2 list adapters that understand when to setup a hierarchy and when to not Change-Id: I98b349ac373689c091bd8227a975bc47ae3f5092
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
2074a056bb2a634c66996225c55620d2aa6f7ac5 |
|
30-May-2012 |
Vikram Aggarwal <viki@google.com> |
Inbox check should verify nullity Change-Id: I9b5af832a8a095966d60d023cb90bb824d4cac38
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
599bc6b8aad47400da844add5a6fb08965398fd1 |
|
29-May-2012 |
Vikram Aggarwal <viki@google.com> |
Prune dependencies Change-Id: Iee766de86dea0d034fc6135527fc2c5b860051df
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ba68fdaf4f251eccba0832878a74bdaf6aa7469e |
|
25-May-2012 |
Mindy Pereira <mindyp@google.com> |
Make inside conversation unread work; merge twopane/onepane controller logic. These were the same! Also inside conversation unread was not going back to the conv list. Change-Id: Ia06bc9f33e424bb8677a9bb360e05dc7de91e811
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7dd054e39986de84a213c56a3c11ac94731402e6 |
|
21-May-2012 |
Vikram Aggarwal <viki@google.com> |
Fix auto-advance on tablet. Two issues have been fixed: 1. We get the next conversation *before* deleting the existing conversation. 2. Conversation View Fragments are not available in the same manner as ConversationListFragment's are. Instead on relying on the existence of a view fragment, rely on the conversation view visibility. 3. Next conversation with batch-selected conversations is now correct. Fix b/6516141 Change-Id: I7a023ff50415347a9cdaf4bd5a9f24fe89f7530e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c30fe4172676a5ea3fdc0da8a0fbb917d9cf878e |
|
18-May-2012 |
Vikram Aggarwal <viki@google.com> |
Call it archive rather than y_button. Fix b/6482584 Change-Id: I7cfc511eb582a0379e92a15d4e2740777b932d4f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
3d7ca9d2aefd20dc115f20532c1e19fdb60f7d68 |
|
11-May-2012 |
Vikram Aggarwal <viki@google.com> |
Consolidate OnePane, TwoPane, and Conversation Destructive actions. Change-Id: Ieccc3fc1962572fec78dfb1ea91557e56f931a48
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
d503df4f0c31bbf842c6a1d3cba18df8c074bf67 |
|
11-May-2012 |
Vikram Aggarwal <viki@google.com> |
ActivityController commits folders, nobody else Change-Id: I3ff870f275821ebc3cd08cfad0875eb229094f2e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
440fe79194314b25ef5829702494735ce2f1e2e8 |
|
11-May-2012 |
Vikram Aggarwal <viki@google.com> |
Safely create Collections. Change-Id: I5fb740195b7aa9cd683485609ad50312b6840555
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c2eefe687af6c52465791ff6960c067621dcb212 |
|
10-May-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE Bug: 6476020 Change-Id: I797349e918b778ffd8352ca1ab073c52e0e2168c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9da85df06175d25c52a09e08df3b02d1fd9cc6b7 |
|
10-May-2012 |
Vikram Aggarwal <viki@google.com> |
Minor fixes and nulls are not propagated. Change-Id: I33109d7074268721c1879fcece66b4e9e05573bd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
025eba8bfd4d0b5e248b6de0bda6f1129170fb41 |
|
08-May-2012 |
Vikram Aggarwal <viki@google.com> |
Always read settings from the account Since settings are a member of the account, read them from the account directly rather than keeping a copy. Also, stop passing Settings if we can pass specific values within them to limit the visibility of the class. (Nobody likes settings...) Change-Id: I0b4ee83f7396c9205169e89838e0121ee17232f5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
1e57e67c1a59b6d3b00d935fab91805689cb6f74 |
|
07-May-2012 |
Vikram Aggarwal <viki@google.com> |
Read defaultInbox through a safe accessor Precusor to cleaning up the Settings and propagating Settings through the entire app. On the road to fixing: b/6303321 Change-Id: Ibe3aaf7eb0c0a4a02af741589c32b5c1e8261890
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7f602f7a64f176894ccb7942a6642f22584c3894 |
|
01-May-2012 |
Vikram Aggarwal <viki@google.com> |
Synchronize destruction and remove dead/deprecated code Change-Id: Ia86449494cca7d4ed5e2d9d515d8afa3dd94b68d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
bc67bb1211654e69b1233e0f8759771873ca773e |
|
30-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
More Destructive Action consolidation. Change-Id: Ib4ac078d30b6c6d721aef398ada42030f1604678
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
75daee52f08c9bf66652b9bddf42cfbd1ca71987 |
|
30-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Consolidate list refresh and deletion Change-Id: I024dbc3f9d18ae0c762c5fd1c54855afe6d54050
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
90d89e2194cecb6ff0179c8159870575edf7365e |
|
27-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Enable CAB mode when returning to conversation list. Fix b/6381610 Change-Id: I158f827237d75d97cb763ae032de8d9bd1ffc95c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e1f86bfc3e136dbae492e5de8405e96dd019e99c |
|
25-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Go to conversation list rather than pressing back. Change-Id: I612a8677ab8020e15530eca9bc752674482a88a7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9f119c72042e4d0382017d5ddcee9aa2113b6425 |
|
25-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix problems clearing notifications Bug: 6348210 Change-Id: Icfa2084935b79afc6d747a73c017ca40c2842c8d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
acaa3c0aa2335e0a635601e09c955388d698dfda |
|
24-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Register the controller's DestructiveAction objects The final destructive action objects are now created by the controller, and so we will be able to commit all destruction before changing the conversation cursor. This CL is the last in the series. This fixes b/6381692 Change-Id: I4d2ef0f2aa9f3289e710152a2c96b71a6efb31ef
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c7694221dfa5cec3f4ae290f2266b081b2639d80 |
|
23-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Destructive Actions. Part 2: More logic consolidated. Get next and previous conversations through mTracker in preparation for relying entirely on the AbstractActivityController's logic. Change-Id: I0d477547356561316c1717d5ddbf4f467b7f3b3b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
09a4bfe3f81ee216b5c4a4e2d083432a4e387abd |
|
23-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Destructive Actions. Part 1 1. Change ActionCompleteListener to DestructiveAction. 2. Call OnePane and TwoPane objects DestructiveActions instead. No functionality change. Change-Id: I492de83bc9e49948a4dabcfc5e8438220339fc46
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
bf232c3735f65b1a4746943e4a134e59e36f0bde |
|
18-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Major refactor of ConversationCursor * ConversationCursors are now associated with a particular loader; there are no static methods or static state fields * ConversationCursorLoader maintains a list of current loaders (for tracking/debugging) * AbstractActivityController acts as a router of conversation changes to/from fragments (currently message view -> conversation list) * Comment out some ConversationCursor tests for now Change-Id: I9b8425a19c77501796b6681142e1bc0ad20b3693
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0e3fd9d61bc18ad9f828bb3c4dd24fc851f11df5 |
|
20-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Restore the conversation list position Bug: 6268694 Change-Id: I430e688b07eed6e4c4087dca5de7ae238e1bbcb8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
cf164d64bcb1da92b427bda99b97f7ec310ef704 |
|
20-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert "Major refactor of ConversationCursor" This reverts commit 5150f03723af8019169aeed8e406784da9c5f8f1.
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
5150f03723af8019169aeed8e406784da9c5f8f1 |
|
18-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Major refactor of ConversationCursor * ConversationCursors are now associated with a particular loader; there are no static methods or static state fields * ConversationCursorLoader maintains a list of current loaders (for tracking/debugging) * AbstractActivityController acts as a router of conversation changes to/from fragments (currently message view -> conversation list) Change-Id: I0eb554615b4bf93b3547ff28e2bd5913e8703a97
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
632721e6b3a9ba8c476456f2e0fb1b564561e0b5 |
|
12-Apr-2012 |
Andy Huang <ath@google.com> |
conversation paging This CL takes the approach of using a permanent ViewPager that pages through conversation fragments. Its adapter is only set and populated when the conversation view is shown. In all other cases, it is an inert empty layer. One risk with this approach is that it breaks with the typical fragment transitions that all other content panes use. On the other hand: conversation fragments are full-on fragments and benefit from loader separation, and the FragmentManager takes care of save/restore of state. Change-Id: Ic17d1ae3f35a0cb1119967f2d34433ad27fa307c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
7d81600cbce3cfd366cbff9ecd1b7317ff957221 |
|
18-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Update consumers on changes to Settings Change-Id: I96ed21a16c0dfb290198d2236fee8d21e299ec31
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
66150d75d09324e867be42ff8c0ea8fae115ef20 |
|
18-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix a several problems in conversation list 1) When viewing a non-inbox label, the fragment wasn't being tagged correctly, so it couldn't be found later 2) Make sure to set sRefreshRequired before calling notifyRefreshRequired(). Otherwise isRefreshRequired() would return false. 3) Disable the conversation list throttle. This was causing a delay of up to 4 seconds when switching labels (especially noticible when switching to a live label). This is also noticicible when attempting to load more conversations in a Gmail label 4) Make sure to notify the data set changed listener in sync() so the UI will know that there is new data. Bug: 6353342 Bug: 6353444 Change-Id: I54b43a2bf9af3fde308a1f703fb2fc61babc9b6b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6902dcf8688d7d0691639f49365a78a3a78fe9e3 |
|
11-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Controller gets fragments from FragmentManager Change-Id: I1d9906ba5d70ed5580e35a53b34797cd5f1e0ad7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9e85333dfc57e7c98ffef27cded4712ea598f554 |
|
14-Apr-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE Bug: 6338408 Change-Id: If7b80e0a0efb12a90deeb4b3b4f2577863a62942
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
cfa500421d5e092c05785b2bd0b216eb664adf53 |
|
13-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Read mCachedSettings directly. Change-Id: I3bc086a6adbcb93c09d138687a2d9b2b9e9ba226
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
b77a532b4c660254f7f0acd104c2334721ed6313 |
|
10-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we dismiss undo bar at all the appropriate times. Change-Id: Idf0b5ceb58e9c7db2c5d18f47d96828b892886c6
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
0963ef8394e1f0bca3f931f930b127b00790361a |
|
10-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Move undo up to the controller level. Change-Id: I1fa2d921132c0d66c677b428f570c60672471ad9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
0ec2a71d1bb48f1fa57f1a4c8a6d81a49f44400f |
|
09-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Resume CAB mode when returning to folder list mode Fixes b/6306109 Change-Id: I4449d8f4761fe9544c7d987487ffff14d2a33068
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e128fc21fab03f6d66c656efeee2155fab449a7f |
|
04-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Clear selection set when viewing messages on one-pane This is missing one crucial functionality: In conversation view, if we perform destructive actions on the selected conversations, the selected set is not accurately updated. For a correct implementation, we need a ConversationPositionTracker class, so that will be solved in a second pass. Change-Id: Ie9909ce026c4ec1148b4817d6968699b392e2330
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
70f130ee9be956e72bc0686e80c3fc4c92807451 |
|
03-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Use existing methods for search, and get authority from resources Change-Id: Ia5546689a373680330357da4f59663b66413fcf9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c67182dfb4884e92262a2365ecfcc5d254c7999c |
|
03-Apr-2012 |
Vikram Aggarwal <viki@google.com> |
Capture current conversation correctly. Fixes b/6277911 Change-Id: I59d8348b4a9443c56a390008b3ce1b2557938638
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a76e5aeff4a54ec70661de35be4f3ecb9d1d2fe2 |
|
29-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Add no args constructor for FolderListFragment. Fixes b/6251677 FolderListFragment needs a public no-args constructor Change-Id: I1f87b5ed105a3b2598da5507eedb0f439aad087c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
56e3f50f5aee6606035eae4b713ef634c4f3a686 |
|
28-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
The parent folder should be shown at the top of the list of child folders. Fixes hierarchical folders to allow the user to dive into the parent folder as well as the child folders from folder list. Change-Id: Ia75275b1941797be8e8c9e10ba8887ca8e5dcd71
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
6778f4663a790d3e9d4c6a2f43292eef43c1e0bd |
|
24-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Conversation unread + folder changes. Marking a conversation unread should force the user to advance to the next conversation as set in auto advance settings. Make folder changes show up immediately in conversation list. Conflicts: src/com/android/mail/browse/SelectedConversationsActionMenu.java src/com/android/mail/ui/FoldersSelectionDialog.java Change-Id: Ib9c21931a3edd4b624ec5f2b853dc1988ec29d5b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
863e44160d9175023d30e7e225ecb69ad3892eec |
|
23-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Update everything to read mute/ spam. Conversation menu items now reflect if mute/ spam should be shown. Change-Id: Ic4694c3feb3261c02d546e8befd9d999fdfefc85
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
c9d59184da271d5a6974edb709e3b39a5a970fa7 |
|
23-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fix up conversation menu items. Make sure the correct conversation items are shown/hidden Fix mark unread. Fix mark important. Change-Id: I7e5fa60d9501bb123cdd2276afd68c26e300dc3d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ab4863650794e81f35a0fd9abc16a5564d7b102b |
|
22-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Move the async tasks to cursor loaders. Change-Id: I37f60c698192eea1ac38ca51abae4010223af3b5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
967ede63e059810d9d4d425c50111d606014c893 |
|
22-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Move ownership of the conversationlistcursor to the controller. That way, conversation fragment, conversationlistfragment, and all the controllers can get to it for positioning, getting next/prev conversations, etc. Also removes need to keep conversationlistfragment from being destroyed/ nulled out. todo: should the controller own the list adapter as well so that is can make changes? unclear. Change-Id: I2388b8403c4253f6075c03f613ca73c2cfa81422
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
e5f4dc0661dad02e2cb39ffa62ff2157147ac387 |
|
22-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we follow auto advance rules for folder changes. Folder changes might be destructive. Change-Id: I9798667bcf958dcf301bf6c5db204f51ca3b047a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a3c4dc2efddf837d79639706bdadae72f773d407 |
|
21-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we set the conversationlistfragment position. Since we can't guarantee this is the same fragment or that the position hasn't been reset, set it before deleting. Change-Id: I2d731fc7ebb50d4c5a5ea92b74a7f1ff6b9cecd1
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
118b3f6443f1859ff4866c97c0e8896f3415f730 |
|
21-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Handle the case where user selects the same folder from folder list. 1) go to inbox 2) go to folders list 3) tap inbox (or 1 and 3 with the same folder) clear the previous current folder so that this will reload the folder Change-Id: Ic39ee8556bc5af5c685f8ec61ee1ecaaae57362f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
72a9f3918310f581fecf6411174645ad5b5ae112 |
|
21-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fix back stack behavior. Also puts a temporary title on the folders list. Adding an override for gmail in a separate cl. Change-Id: I891bcd8b491d3e920d0042743cb6dbb2d6d0bbc6
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
fbe4019a262f6b1934a44e598009ae63dc5745ee |
|
20-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
ellow onepane and two pane to specify their own behavior for conversation changes. Add menu handlers for help, settings, feedback to compose. Set up on compose to exit the activity. Change-Id: I42d2736e83cb5bedbb3194f0cffcf12aca6ced9a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
21ab490d4919985d611bc36ae2d8aea86a911499 |
|
20-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Hookup logic for going to list, newer, older conversations after destructive action. Change-Id: I86930dda9124a969307f272946826839713110bc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
f6acdade010b2d0f49fd425b33e7f7b376286490 |
|
15-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fix back stack when coming in from a widget or notification. Also, got into a weird state and was able to find a few places where null checks would be useful. Change-Id: Ida4ac37d618ffb3736f1582351a58e5f86ab6e76
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
cd09f5e9bf55e6f4310e8dc9408132b9c88e87c3 |
|
10-Mar-2012 |
Vikram Aggarwal <viki@google.com> |
Account change impacts conversation list transition Change-Id: I414f602b7330d1f4cd500093a1b901a667391537
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
ec5cbf79b825c6f96d45e85015319c66470b7e57 |
|
09-Mar-2012 |
Vikram Aggarwal <viki@google.com> |
Store recent folder list in the AbstractActivityController Change-Id: Ie557cf4e67b55c238c323063e3211117c6d101b3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
30fd47bf1947da5ad813cb957b6cbe569dce563a |
|
09-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Remove all label refrences from unified; change to folder Remove labels text views from unified mail conversation list items. Gmail will override with a new xml file that will provide a "folders" area Change-Id: I443b8d73f253f046dfa8a8a68afa19e89bf7a85a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
b849dfbda3c917f078a5c09f03906886c27ecbec |
|
08-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Make tablet search work correctly. Change-Id: Ib19dcc590fd80aa134aa3afab9989eeac2aec224
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
8690e2b71e1a3dd812ce418c9607e21f3a88ab54 |
|
07-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fixes issue with incorrect menu showing when returning from folder list. Repro steps: from inbox, tap "show all labels" press up or back still shows folder management action bar Change-Id: Ie4787448b4f3d4010c5eda59bbdc248ab22c39ad
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
559c3b3d302b3f6d2c2cb43a909069d942652e34 |
|
01-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Use real default inbox setting. Change-Id: Id8692cae322f1c0eea369ebc79c856da504f8390
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
3982e236fb2dd36d460df4dbf24e07e8ba55b3bd |
|
01-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fix up/ back behavior for one pane. Change-Id: I08ca5364e508eee6910e06fb1b0594a638a6ea0e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
161f50d0fabdaa384a63ce69f595861c5e69795f |
|
29-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Use intent to determine if we want to open the conversation list or conversation. Change-Id: Ic334d81ac4c3a81bb4ab457851dbbe6bbce297fb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
a9b93f35035dc4badd0ac40f4016e1ff809b26b0 |
|
23-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Load the ActionBar correctly on Account changes Change-Id: I1a7fa6476fad7f5c1c01119fc72908b91c930138
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.java
|
f5acda4a4b7c9e8ecacb41cb7d570ef426b6d4fc |
|
16-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Make MailActionBar use viewmodes; make sure it gets updated when view mode changes. TODO: would it be better to make it an on view made changed listener? Also, fixes up behavior. Change-Id: Ib48d54b4cefc39629182d0df942b0f19fa77361e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
01668eb393deaf8c8b8abf86be46109614a98631 |
|
16-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Give the test app a more reasonable back stack. We need to track the previous transactions, but at this point, we are able to get back to the conversation list and then back to the buttons activity. Also, prevent double loading conversation list fragment the first time we enter the activity. Change-Id: Ie01e566d8e3846fceea70e4357da745abfe2793c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
9b87568c9e9f1c32a9672b315229866a58a1e757 |
|
16-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Add conversation view fragment. This pulls over the logic that had been in ConversationViewActivity. Change-Id: Ib617d3c1cb43265a559a18e05842ca186188b3d3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
555140c7b7d5129fb2b17df66106cbd6eeef37a0 |
|
15-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Make it possible to drill into folders and see conversations. A little shaky to start. Change-Id: Ica1a4aac15cec18143b666b9e06593db3d550f5c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
28d5f72e0ad0db75b6243ee8125bfe3aadbdcb85 |
|
15-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Make a folder list fragment. Hook into Viki's app. Also, hook up listeners for changing account in the account spinner dropdown. Change-Id: I0e6bbabc525c141fa581f49e6265c26bc767b8cf
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
80aeac5356b5a14a5ef2aff8f0f72a464c9a3cb4 |
|
08-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Show Conversation Lists Change-Id: Ia4356aaa5ee698cad6f648b9d26a5719ba8076ba
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|
8b15263097bd9ce1a28db981b6a85261e6cb6886 |
|
03-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Change ActionBar to allow reading real accounts. Change-Id: Ic81ce7eecfb38e43fdaa9363ff5eb9981778c9b4
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.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/OnePaneController.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/OnePaneController.java
|
a55b36cb6b75ce8096812183651e89115300975a |
|
13-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Bring more classes into Unified Mail Bringing in SubjectDisplayChanger: (was called ConversationSubjectDisplayer in Gmail) AbstractMailActivity: (was called GmailBaseActivity in Gmail) MailActivity: (was called GmailActivity in Gmail) These are called the same things they were in Gmail: ActivityController ControllerFactory OnePaneController TwoPaneController Change-Id: Ie761407cad891b669172acc729950f9d358f5c34
/packages/apps/UnifiedEmail/src/com/android/mail/ui/OnePaneController.java
|