summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/MultiFoldersSelectionDialog.java
Commit message (Collapse)AuthorAgeFilesLines
* Change Move To Dialog (Quantum)Rohan Shah2014-08-201-0/+1
| | | | | | | | Added folder label drawables to move to dialog (single folder selection) and removed dividers out. Bug: 17073025 Change-Id: I491577d126d9d4d6a328e1392b6f1975217397eb
* quantum change labels b/16054906Andrew Sapperstein2014-07-031-4/+2
| | | | Change-Id: Ieb8ef93f9ce6eb784a3f2c3343286e0666bb31de
* Properly uncheck folders in selection dialogJin Cao2014-05-191-10/+30
| | | | | | | | | | | - Properly check isAdded flag to check/uncheck folders from savedInstanceState. - Rename isPresent -> isSelected for FolderRow for better consistency. - Remove isSelected from ordering because we now add the originally selected folders in a different section of the adapter so that they are always on top. - Add section headers for the initially selected folders and the rest. b/9174917 Change-Id: I0f063e9280312a1c2a9c76e604e6a9f799f72822
* Folder selection dialog loading twiceJin Cao2014-04-141-0/+1
| | | | | | | | | | In MultiFoldersSelectionDialog we do not clear the adapter every time the loader finishes. This causes the adapter to add multiple copies of the data if the loader returns multiple times. b/14059457 Change-Id: I4f9bdbd5ca6527d2954deed87b7494274631019b
* Fix an NPE in the folder selection dialogsMartin Hibdon2014-03-251-0/+5
| | | | | | b/13637409 Change-Id: I35b887cf3bb8a35a8468addcb0e408798e294f9d
* Convert FolderSelectionDialog to a DialogFragmentTony Mantler2013-12-121-68/+99
| | | | | | | | Also clean it up to use loaders b/11538664 Change-Id: I5810f0c4423c0c30d9785723672b3535eebcf998
* Add a new FolderUriScott Kennedy2013-07-161-3/+4
| | | | | | | | 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
* Clean up a bunch of warningsScott Kennedy2013-06-251-1/+1
| | | | | Bug: 9565838 Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
* Don't show inbox sections in "Change labels" dialogScott Kennedy2013-04-251-5/+11
| | | | | | | We can't support multiple adds/removes here yet. Bug: 8722438 Change-Id: Ie527d210ace1b379f247ba331af43f712f3583d2
* Fix Move To DialogRohan Shah2013-04-121-1/+1
| | | | | | | | Removed "OK" button and fixed the "Move to" string for the dialog. Bug: 8604616 Change-Id: I50df230054f7c6ba9573a8e95a7e7d4be163fa23
* Change the undo message for a "Move to" actionScott Kennedy2013-03-151-2/+2
| | | | | | | | | | 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
* Convert rawFolders from String to FolderListAndy Huang2012-12-101-1/+2
| | | | | | | | | | | | | | | | | | Continuing in the Parcel > String vein, switch rawFolders to use FolderList, a small immutable Parcelable class. Individual Folder objects are still stringified when used alone, but those are not time-sensitive cases (e.g. generating a view intent). Traceview on Nexus 7 shows 61% speedup in serializing and deserializing folder rawFolders. Overall time for Conversation construction appears to go up, but that's because the previously lazy-deserialization is now done in the constructor. I think this is okay, since the only performance-sensitive codepath that constructs Conversation objects is the conversation list, which always needs rawFolders. Bug: 7690709 Change-Id: I42eadd79aaeb260f3d9642bf930437a69e510282
* Prevent change folder dialog from opening more than once.Mark Wei2012-10-181-120/+47
| | | | | | | | This CL has signification refactory that consolidates Multi/SingleFoldersSelectionDialog. Bug: 7247467 Change-Id: I1aacba68411d4b9cc586482d0f17c5c90df36e04
* Prevent change folder dialog from opening more than once.Mark Wei2012-10-021-4/+17
| | | | | Bug: 7247467 Change-Id: I0b5583830d7c8c2f63e01714b4a7fa2976d0eefb
* Lots of fixes to move to folder dialog.mindyp2012-09-181-0/+223
Fixes b/6919987 bring back divided "move to folders" sections Change-Id: Ia7d709c5cd1f8787e2e1083442aa4eaf50d6babb