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/ControllableActivity.java
|
12a05d22f6ac528e96716de9a451c5b7bee7a26d |
|
29-Aug-2014 |
Andy Huang <ath@google.com> |
remove drag/drop code Bug: 17322937 Change-Id: Idc21156e6d5e9ea4e83e3c17e92a66388ffc7a6a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
53de448d6c67e56df4e3bcefb3e2d84c810e2e89 |
|
29-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Revert "Revert "Megadrawer" until b/16637856 is fixed." Want this to be ready when the bug is fixed. This reverts commit c53c887101aa90b5024af635823023aa801e075f. Change-Id: Ice73a0f48cbe1e949fde3db3719ee86995778ebb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
c53c887101aa90b5024af635823023aa801e075f |
|
29-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Revert "Megadrawer" until b/16637856 is fixed. This reverts commit d4bb2af4a545493b88e900be5262329c715dd38a. Change-Id: I3c8860d30cde8b70c135c2ef457f5f601b45b8b5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
d4bb2af4a545493b88e900be5262329c715dd38a |
|
28-Jul-2014 |
Tony Mantler <nicoya@google.com> |
Megadrawer b/16458862 Change-Id: I476ee21209e8108fc77e3d265326347a53f13ef5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
2b806edc62eb8e83c77edc471fda4652281a15c4 |
|
11-Jul-2014 |
James Lemieux <jplemieux@google.com> |
Replace all references to UnifiedEmail's com.android.oldbitmap with equivalent usage of framework's com.android.bitmap. A small refactor of AccountAvatarDrawable.drawBitmap(...) is also included which produces no functional change. Change-Id: Ic67690cde56de6ca691ac8647ef02865b766ca62
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.java
|
a57da3c151ae174bc8621af79f3f09392ed90953 |
|
10-Jun-2014 |
Ray Chen <raychen@google.com> |
Implement support for help library b/12068507 Primary changes: * Merge help and feedback as requested by the new guideline * Determine help context by the view mode (list or conversation) Change-Id: I6d9d7cc56063e7eedfe6db18c2c363e9b4d07cef
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.java
|
8913ca6aebe6017efe8060b61b8ad38eda95aa8b |
|
15-May-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Allow alternate sources for contact images. Makes some classes that overridable in order to provide alternative implementations: ContactResolver, ContactResolverTask, ContactLoaderCallbacks, and ContactPhotoFetcher all can be subclassed to provide new behavior. Also added hooks in ControllableActivity and MailIntentService to override building these classes. NotificationUtils was also updated to force all calls through MailIntentService which can be overridden. Finally, moved the BitmapCache used in conversation list to the activity level instead of at AnimatedAdapter-level (which is effectively fragment level). This speeds up subsequent queries for images dramatically. We reset the cache when changing accounts. b/11387812. Change-Id: Ie70d800862b073163ccbfa5295d6950e57d64009
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
61f26c2d1c1d3735cf883b58fe7e45550bb1a54c |
|
14-Mar-2014 |
Andy Huang <ath@google.com> |
add floaty footer to the drawer * settings now moved to drawer * swapped out footer assets to match sectioned inbox icons (TODO: even newer assets) * tweaked footer misc to match mocks * split out the drawer list's scrollbars a la conversation view * disable floaty footer on short screens (e.g. landscape phone) * move AAC's drawer-related APIs from Account Controller into DrawerController and expose more, like raw access to drawer state * drawer is now white, footer is gray (expansive tablet unchanged) * align footer items with sectioned inbox items * only activate the footer items after closing the drawer (smoother, better fit for Feedback) TODO: tweak animations, especially when scrolled near the bottom Bug: 11061485 Change-Id: I3e70d994934c846061efbfb8d118604a965d344f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
30b17e3a157dcfd65cf51ebb788283efa79df268 |
|
08-Apr-2013 |
Vikram Aggarwal <viki@google.com> |
Remove the subject from the actionbar Following the new UX guidelines: no subject in actionbar anymore. Bug: 8438223 Subject of the mail disappears from the action bar on orientation change to landscape mode Bug: 8492928 Action bar title switches between subject and the folder+account name Bug: 8529168 Remove search_actionbar_view Change-Id: I8551fdacd7843ca0b2ba0bf1025483eee2587638
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
7c8325de829ca029ce4547e4f0fa266124301367 |
|
28-Feb-2013 |
Scott Kennedy <skennedy@google.com> |
Teaser view for sectioned inbox Still some changes required as the spec is updated, but it works. Change-Id: I068488d057e42bc62af36e532d55ce17f695f49d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.java
|
83e6b574cffd06164cad18ee388237a9427ceb3f |
|
06-Feb-2013 |
Paul Westbrook <pwestbro@google.com> |
Enable screenshots in feedback reports This will allow us to get more information about user's problems Bug: 6102742 Change-Id: I49d04d884f2d2316fe642554a2f9747807508c61
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
69a6cdff8afde77ec9bcd75a5651ee212344019e |
|
09-Jan-2013 |
Vikram Aggarwal <viki@google.com> |
Allow veiled address pattern to be updated through settings Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
ca87de41285bde382a894b6cb2d13c112c5d7a2f |
|
29-Sep-2012 |
mindyp <mindyp@google.com> |
only get content description when accessibility is enabled. Getting the date is the most expensive part of the bind operation takes ConversationItemView.bind from ~5ms to .5ms bind is called whenever we get a list item view, so its important that its FAST Part of b/7188066 Gmail inbox list fling is jankier comparing to previous release Change-Id: If789382df6429f61ac80c4be08611c5391da5618
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
9d3fd92ed6091dbd0d38799222a1cf841f1c3f29 |
|
27-Sep-2012 |
Andy Huang <ath@google.com> |
Wait for visible conversation to load before loading others add conversation load observation APIs to CLC interface save/restore CVF user-visible flag move CVF state restore to ACVF's onCreate start using FragmentRunnable to avoid doing work too early (before ViewPager settles) clean up unused onConversationLoadError codepath fixes undefined conversation load order on rotate improves conversation load speed a (tiny) bit Bug: 6268986 Change-Id: I4670d0c04cb1a36d5aa2c5355e2a79de17d042dd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
3bcf180f8104bc27319086a9a6ece5a3c2917c37 |
|
09-Sep-2012 |
mindyp <mindyp@google.com> |
Add loading animations to conversation view fixes b/6272925 jank - conversation loading isn't animated fixes b/7131797 Blank scren shown for live conversation, when in airplane mode Note: need to do a next cl that puts off showing the spinner until at least XXX ms have passed Also, we cant use the software layer for rendering like we did in gmail1 it looks like there is a skia crash that triggers when we try to use software / switch to hardware rendering for the browser need to investigate that more Change-Id: I96a30b700c3e88d52e603fe2f11b44d113e013d2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
58cad2eea744d41a11c0124e91308e38108d242e |
|
29-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Folder list fragment by sections. Known issue: the recent folder *and* the user folder is highlighted when selecting a recent folder. A change is being prepared to fix this. Fix b/7074104 Change-Id: I82733bc6be105c6270d17f3c1a281fd4ec15a48a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
3825f3d2284b2b57fadcfe6a4ebd9992f3c5c7bb |
|
30-Aug-2012 |
Andy Huang <ath@google.com> |
fix spurious stopListening on the pager when loading from widget When loading from a VIEW intent, the pager was sometimes disconnected from its data source before the data was loaded, which caused it to stay in singleton mode forever. The original code to disconnect the pager was intended to disable pager updates when jumping back from conversation mode in 2-pane (via account spinner), so move that call to the beginning of 2-pane's mode change animation. Also do a bit of misc API cleanup. Bug: 7076780 Change-Id: I508b59816f4f537276aa103b9dcae51972389eb0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
5390fcabb7baf683fc14bd68d8612913dac70a81 |
|
22-Aug-2012 |
mindyp <mindyp@google.com> |
Restore drag/drop logic fixes b/7034633 Drag functionality is missing on tablets Change-Id: I8d0c9d4a95cf143a307fb093721f3b5f6eba872c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
4969e0c5f8ab837e1b0d29ea56d220e6404e9250 |
|
20-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Move ConversationListFooterView click handling Since the click handling for the ConversationListFooterView is essentially the same as that of the ToastBar, move click handling into the Activity Controller Change-Id: I14b8ef6788b929e82d61b8393195b703c210021d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
ca9b3f6c4a6611ccf89016f63ecf672f2f008820 |
|
16-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Correct the list visibility in Two-Pane mode. Fixes the following problems: 1. R.bool.list_collapsed is only meaningful in conversation mode, while previously it was used even in conversation list mode (b/6980648) 2. Dispatching conversation list visibility should happen when entering conversation mode. 3. Change the list visibility before changing the layout to ensure correct measurements. 4. Dispatching conversation list visibility change can be safely done on the UI thread. 5. Consistent variable naming, and removing dead code. Change-Id: Ic910b7adc7bdb1b599a7e650239d580d36c3478b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
7c401b7896910c00e6234e8774aab0be45740d32 |
|
14-Aug-2012 |
Vikram Aggarwal <viki@google.com> |
Get the Account through a listener Every object that needs an account gets it from the ActivityController by registering for future updates. This should reduce some of the headaches with account objects going out of sync. Fix b/6969950 Change-Id: I0449b482ecd84bdb947304db5f0504c77dd1dc7a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
cff1aeaff92efb9f7a03203d9f757a2820b87686 |
|
10-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Refresh cursor even when scrolling This allows the "Loading..." item to appear before the user stops scrolling the list. If the the live data is populated before the user hits the end of the list the user will not see the "Loading..." item Bug: 6966755 Change-Id: I902eb442e47a6efb99b850a559106c81acac19c0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
7591d2fc98c4308567a1d8822b41b48133227b25 |
|
27-Jul-2012 |
Andy Huang <ath@google.com> |
observer access shuffle Change-Id: I0f8c41eedab1c570b337bcc93e3c0599507ece7e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
6d8e7fe77c3a3ecfac7bb3bdf0f87f7f89f66b77 |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Fixup Folder model; make ConversationListFragment observer on folder changes That way, we properly show the "loading" bar Change-Id: I780fb1cc9cc78d8c3d05d5b3ab7fa8a83b5090e2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
278fd226160fa486db17cc7e55deebe5d7a2ae0f |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure syncwindow gets syncwindow, status gets status, convlistfragment gets status. It looks like someone is already intentionally passing the conversation list cursor. Which is good, since it loads (sometimes) before the convlistfragment exists, so it will never see the initial call to onCursorUpdated We need to do the same thing for folder, since the convlistfragment may not exist when the folder update first comes in This allows us to properly show the loading row Change-Id: Ic9a4498e03e6f0551e527e19fd9fc95e8d5af03e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
5895f7b0e5fa921f6d46bbaf6d8c7b1a8ebc7804 |
|
02-Jun-2012 |
Andy Huang <ath@google.com> |
subject in actionbar Mostly a port of Gmail1 code. New and noteworthy: * when switching between ActionBar list nav vs. custom display, toggle ActionBar.DISPLAY_SHOW_CUSTOM rather than messing with custom view visibility * This exposes something of a framework bug where collapsing an action view will leave views for all inactive navigation modes GONE, which I work around for now (b/6664203). * ActionBar views were being inflated with system default Holo theme due to application vs. ActionBar context (wrong theme on the application context). Fixed that and un-inverted some existing styles. * SnippetTextView: save off the last measurespec rather than inventing one as before. * bring back an existing excellent behavior: since PagerAdapter.setPrimaryItem reacts too slowly to nicely change the action bar subject when paging, listen for OnPageChangeListener.onPageSelected in addition. Bug: 6384157 Change-Id: I45d995a472d4b3c71f1371dc7b993923423b7cf7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
531488ed848766708252a5fdc01c4ecf0fd167d1 |
|
30-May-2012 |
Vikram Aggarwal <viki@google.com> |
Remove all bad ideas from SelectedConversations 1. Remove references to AbstractActivityController and ConversationCursor (yikes!) from the selected conversation set. 2. Create a new interface for delegating all changes to conversation state. 3. Consolidate FolderChangesCommitListener with interface created above. Change-Id: Id1d982a19eb2d26c51aec661cee5dc23ef98c110
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
48b2a6c5fe209f0603fdf85d35cf399f7f7d462e |
|
29-May-2012 |
Vikram Aggarwal <viki@google.com> |
Minor cleanup 1. Remove uncalled empty methods. 2. Remove methods from interface if nobody else is calling them. 3. Remove unused DragListener interface and all references. Change-Id: Iac498336209b8e73f9a0e13dd8954652e83fd1fc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
23aadfd1c83e08b6723d4cb9357b2908cc464a86 |
|
25-May-2012 |
Mindy Pereira <mindyp@google.com> |
set folder selection on activity attached since attaching a fragment to the activity is async, we may not have the fragment by the time the folder is selected let the folderlistfragment set the selection once the activity is attached Change-Id: I10aad32af1982a4b349492fd449c42a58c37bc4f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
acf6039a23382f18c35f6b487d90d53cb67b5858 |
|
06-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Drag and drop into folders. Change-Id: If80c43fb5643d328bf061c2bed87bd9acb6e4661
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
276c80bb3ca7cff5f2a0511e8a9d0452ae91d858 |
|
09-Mar-2012 |
Vikram Aggarwal <viki@google.com> |
Moar cleanup Change-Id: I2ec187ec05d14000edbfff22acf2b8ff251530fb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.java
|
f96ec32ba61bac2a7635f6ef6e04a78cc63cfff8 |
|
02-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Fix spacing, styles for conversation list items on tablet. Also, make sure we have the correct view mode. It was not being passed to the adapter, so the conv items never knew if they were in conv list, conv, etc. Change-Id: Ib55231e9b04dcd507b134a0947c14352ba71cf51
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
6c51158ad3269f157424e6c7bd488425c98da08f |
|
27-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Make constructor public to handle resume/rotate Change-Id: I4953ae6ed753792eb8a7aced99474fe09976f140
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
d247dc966bca1ed303039c2893c54979d448a336 |
|
11-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Allow batch selection of conversations. Change-Id: Ibaa7e96154b8c433651d9e8ef68f7973b92b7ac9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.java
|
7d602884ed70d07a42f1adf999fdf51b258f23f9 |
|
08-Feb-2012 |
Vikram Aggarwal <viki@google.com> |
Return ActivityController object from MailActivity. Instead of delegating individual methods, we return the controller object as the appropriate interface. Change-Id: I7122a921037c83dc63e9f0987d0f95171061cdf9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.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/ControllableActivity.java
|
b9e1a353c6a173a2885642dbcc1939f3281f29f7 |
|
25-Jan-2012 |
Vikram Aggarwal <viki@google.com> |
Create ConversationListFragment The ConversationListFragment does not do much right now, but the framework is in place. Next steps will include showing the conversation list and allowing for conversation selection and the Contextual Action Bar. Change-Id: I130bb77a93bd4f58b189cb6ce47adc9e09f8e6ae
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ControllableActivity.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/ControllableActivity.java
|