summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/FolderDisplayer.java
Commit message (Collapse)AuthorAgeFilesLines
* Add optional vertical offset for folder chipsJin Cao2014-10-061-1/+2
| | | | | | | | And add 1dp vertical offset for CV folder chips. b/17656383 Change-Id: Ie4316a96e19598b9c461acd1c4d3cbb78139aa85
* Change folder chip alignment to align with the baselineJin Cao2014-09-221-1/+0
| | | | | | b/17471973 Change-Id: Iead6dacd17c4c477a09ee092210656d1f4c4f97d
* Unify the code to construct folder chips for TL and CVJin Cao2014-09-171-5/+190
| | | | | | | | | | Refactor the code used by TL to construct the chips drawable so that it can also be used by CV. Update the CV folder chips logic to take advantage of existing drawing code. b/17471973 Change-Id: Iee70f22c72969ea3d17951e3ea4c6f14d5aaccbe
* Updated conversation header for quantum CV.Andrew Sapperstein2014-06-301-1/+0
| | | | | | | | | | | | | | | | | | | b/15595931 Using a combination of breaking and non-breaking spaces to ensure that labels start on a new line if they don't all fit in the remaining space of the first line they can be drawn on. Starring works now. Can click the labels to open change labels again. Priority indicator is now baseline aligned. Properly drawing the label chips. Label chips moved up to the baseline RTL support. New star asset. Change-Id: Ife32339f174bff7beafc979f9cc9761cefffed72
* RTL the conversation list and two pane layout.Andrew Sapperstein2014-01-151-6/+5
| | | | | | | | Fixes: b/12451886 b/12452546 Change-Id: If2bd3d63c07eda3190d16fd95746c0105b251406
* Add a new FolderUriScott Kennedy2013-07-161-3/+3
| | | | | | | | 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
* fix flashing labels in conversation viewAndy Huang2013-06-041-3/+13
| | | | | | | | | | | | | No reason to cache the filtered list of folders, so remove the cache. Its presence broke conversation view's display of folders because we're now reusing the same Conversation objects from the list view. Filtering the folder list only happens once per row upon bind(). If anything, we could move it into the worker thread, but there's no particular benefit to caching the filtered version. Bug: 9277845 Change-Id: I12dd2cdd93f87e3f24c0ea6de9c0b715b0e34c61
* Always show folder labels in Email.Andrew Sapperstein2013-05-231-1/+1
| | | | | | | | Now that we can actually put the current folder in, just show the label always. Fixes b/8488727. Change-Id: I1bf139baebc81c5708950157f60ebf6d9d1d7247
* Exclude all inbox labels when we're viewing an inboxScott Kennedy2013-03-201-3/+6
| | | | | Bug: 8426563 Change-Id: Ib9256fcdb658cb3df9b67485f7768f75bb8b6539
* Make widgets work againScott Kennedy2013-03-071-2/+3
| | | | | | | | We can't send Folder parcelables to RemoteViews, so let's just send what we need: two URIs and a String. Bug: 8330949 Change-Id: I67bf7668d5eeef3f3b2e6225cf8697a4c5533f16
* Reduce time it takes to render a conversation itemmindyp2013-01-081-0/+6
| | | | | | | Re-use an existing folderdisplayer instead of recreating one each time Remove unnecessary TextPaint call Don't do html to plain text on the ui thread; its done when processing senders Change-Id: Id1b4fa93b2b082fd9f69e473d6d3ee55bd852684
* Cache displayable folders.Mindy Pereira2012-07-301-3/+2
| | | | Change-Id: Ibb2766e5a197a86adb0a456dc1fb58cdd98fd610
* Use cached rawfolders.Mindy Pereira2012-07-271-2/+3
| | | | Change-Id: I4b70c2761a699541b98a02a24f8cd017df13433f
* Remove folderlistMindy Pereira2012-07-271-14/+1
| | | | | | | Theres is probably some more caching I can do with the getRawFolders() call on conversation. Next CL. Change-Id: I171ba2ec08c2dd557efafe01d1e59b6c7f563971
* Make swipe remove label when not in inbox.Mindy Pereira2012-07-131-2/+3
| | | | Change-Id: I80b22ccd04d3c1b27ebd8af7b84dadea127ed4c4
* Changes to support different Log tagsPaul Westbrook2012-06-251-1/+2
| | | | Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
* bring in classes to support conversation view's subject/labelsAndy Huang2012-03-151-100/+26
| | | | | | | | | | | | | | No functional change. Bring in classes and refactor existing folder-display related classes. Remove FolderValues and use plain Folder. If we need somewhere to tuck display-only Folder properties or behavior, we should wrap base Folders instead of duplicating fields. Folder objects now support equality checking using the (globally unique) URI. Change-Id: Ic4cd9b555a6a71ed037a1e730f36f7f64c50ca36
* Allow rawFolders to be nullMarc Blank2012-03-151-7/+12
| | | | Change-Id: Id8d9ab76c0f0abbb1d2aeaf932b2420736d08c6e
* Fix build.Mindy Pereira2012-03-131-1/+1
| | | | Change-Id: I058eb7e76ccadfa230cc6839d36c9ef01d78272f
* Get rid of second id for folders.Mindy Pereira2012-03-131-4/+9
| | | | | | Use the uri to compare two folders. Change-Id: I95c63190ec3a467b0b792f8c8104b6a69fa4b8c7
* Remove the folder we are in on the ui side.Mindy Pereira2012-03-131-2/+6
| | | | | | Conversation needs to show it; conv list doesn't. Change-Id: I0c26852525ca58bb71fc8a27e90ea4868487a5cd
* Use the correct text color for labels.Mindy Pereira2012-03-131-1/+13
| | | | Change-Id: If4665bd42c4ec55476cdbf02111105b792b61a05
* ehow folders in conversation list items if they exist in the layout.Mindy Pereira2012-03-131-0/+121
Change-Id: Iec0198f7eab014c71d66e1c026942988d985f1e9