History log of /packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ba96202717beb8d89f9996520dab0bf5689fc8c 02-Sep-2014 Rohan Shah <shahrk@google.com> [QUANTUM] Update folder_item for widget selection

Changed a few things around (Rel -> LinearLayout) in the
folder item view and added spacing for indenting child
folders.

Bug: 17260359
Change-Id: I648a96c21c5f071269d859ae76a0dd45de409a1a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.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/FolderItemView.java
7f3ff88101f91272dc43d8c37cf1d88097f365c6 15-Jul-2014 Tony Mantler <nicoya@google.com> Make corner radius a constant, clean imports

b/15966080

Change-Id: I21e2f645fb8e5c61de2bf1479d12d6447136341c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
d91b155b18d13857f23152b8639cc5ec639e631c 15-Jul-2014 Tony Mantler <nicoya@google.com> Make unseen count background a round rect

Removes dangerously sharp corners from the badge.

b/15966080

Change-Id: I00485990b5ca2276dc4dde014999afcdaee438a0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
bfeeaa17294f699c59adf86393160fdcccbd60c9 15-Jul-2014 Tony Mantler <nicoya@google.com> Format unseen count as "x new"

b/15966080

Change-Id: I0e8f9a325c61e156dd16a8c4cf22bb5d37939808
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
69086fd48a2e1565806dfd953116d11ab735ab84 02-Jul-2014 Tony Mantler <nicoya@google.com> Some quantum drawer styling

b/15966080

Change-Id: I2179143aca97d808445105fc358b6e7520f73499
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
f479bd60d01e5e752620bcb946d079c697a543f6 04-Mar-2014 Andrew Sapperstein <asapperstein@google.com> RTL: Properly align drawer items.

Fixes b/12719552. Previously used
BidiFormatter incorrectly. Now using
textAlignment's viewStart to align correctly
for all locales.

Change-Id: Ibffebc3d108d38ba6be9d38aefc74f473854bcbb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
9716d9a534b0ae1db0162cd3726bbf38863928ab 25-Jan-2014 Andrew Sapperstein <asapperstein@google.com> RTL - fix folder name padding. b/12721062.

Change-Id: I7ed8658ac33a469a3f7076ac9021b855748426ce
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
d90639004a3551d7fb7086f318d4c576d54d2b86 03-Aug-2013 Scott Kennedy <skennedy@google.com> More warning cleanup

Change-Id: I22970341bf11eb355aa495f61c022efb8db61bcb
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
ea5f307daea0f77cc1ce4701de759a575a7b8202 24-Jul-2013 Tony Mantler <nicoya@google.com> Enable Bidi, add correct tags to folder list items

b/7221227

Change-Id: Idf4b909811bf7c74e6d202346f21506c4cf875dd
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.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/FolderItemView.java
d5616f81b2fd411b7fac8ed63eaac044c267188a 24-May-2013 Scott Kennedy <skennedy@google.com> Remove unused imports and use proper order

Change-Id: If98ed6b80728ad8ebacfd8e0e5e49dc84c07a9b2
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
cf979b90e54f0e943008f04d4ad1a68b89f81683 22-May-2013 Andrew Sapperstein <asapperstein@google.com> Using drawable states for drag and drop.

Now we're using states for icons, background colors,
and text colors. The framework updates these automatically
so we're not updating stuff when we receive DragEvents.

Change-Id: I16c14cc8681b8249428876f6bc435ac9a8de93cc
(cherry picked from commit 05eca5b9b96778122e6a4c4b66bec604f0103bea)
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
0f50f3d2c7046bd27a6c78bc255bb64e1face2d4 21-May-2013 Andrew Sapperstein <asapperstein@google.com> Adding drag-state drawable to folder item icons.

Fixes b/8986628. Previously we had two states for
icons in the folder list (activated and default).
We now have a third state for when the app is in
drag mode and the folder is disabled which uses
a lighter grey icon. To make this work, we use
a custom drawable state (state_drag_mode) for
when drag is entered. Another CL will use this
new drag state for changing folder text color as well.

Change-Id: I280b187a454064f1c50f4ef62db5c8ba86c1f4d6
(cherry picked from commit 47fb86e95836e1a47bd784f6866c8c798b44ab6b)
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
2ad896272a5739972766d6cce095fae94332f099 30-Apr-2013 Rohan Shah <shahrk@google.com> Fix spacing and align in drawer

Fixed margin issues and spacing when there aren't
folder icons. Also removed linear layouts and added
back centerVertical align instead of baseline align.

Change-Id: Ia8f0494d978c820a4f0636d6b646b19cdc6ddcb1
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
c1e4506e27921c69e8b4441e6ff4c1b105a37b06 28-Apr-2013 Rohan Shah <shahrk@google.com> Add selectors for drawer item state change

For folder items and account items, add a selectors
in drawable and color to allow for an easy state
change (highlighted/focused/unselected).

Change-Id: I618bcb70ca72c9849cf90e9b6662092822e4862e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
51157a87fb9fe5e407ec480cd2ac3bfb244d86b5 27-Apr-2013 Andy Huang <ath@google.com> more contrast on drawer item text

Be consistent with converastion list text colors.
visD approved.

Change-Id: I4f35d82bd5e093490d9d28d649ba50911762c3f9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
a1ee97806aed01ca3293dd23fcf02d46a6d9e6f0 27-Apr-2013 Paul Westbrook <pwestbro@google.com> resolved conflicts for merge of d0204cff to jb-ub-mail-ur9

Change-Id: I16aa573b191f3c6e97ef69a7192558905507c32a
b905f0ea18ee0dc5774adb29c57cd7c122058c71 26-Apr-2013 Rohan Shah <shahrk@google.com> Change UI

-Removed accounts recents
-Changed colors
-Added radio button assets for accounts
-New header names for sections in folder
-Shadows, folder selection dialog modified

Bug: 8720403
Change-Id: I5b9379a4fe323bcc25fb0ed943ddc8ec7880a6be
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
e01b25cee824d9f04a8b2fba5e1f63044d787f89 19-Apr-2013 Scott Kennedy <skennedy@google.com> FLF unseen count should be "%d", not "%d NEW"

Change-Id: Icb07d145d521464eb09b775d44df71c1e259af1d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
21115dcf79619a8fd63378ba89c5944b1256a7ab 11-Apr-2013 Vikram Aggarwal <viki@google.com> Reduce refreshes to the drawer

notifyDataSetChanged() a lot less aggressively. This reduces the
number of times the drawer is updated on a single folder change (from
around five) to two.

Bug: 8558083 Gmail: Flickering after selecting any option from sliding
panel

Change-Id: Ie24ef81a904ad4921e240dc80c386d49af97ef8d
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
671133b7412ea98fc325fd88944e0d670d6992c6 26-Mar-2013 Rohan Shah <shahrk@google.com> Refactor AccountItemView and resources

Changes made:
1) Modified and separated most account_item.xml dependencies
-Res files were cloned if necessary
-Styles, colors, dimen have resources starting with account_item*

2) Cleaned out AccountItemView
-Removed icon, backgrounds, draggable

3) Removed folder_expand_item.xml
-No longer need expand item since MORE labels are gone.

Bug: 8458611
Change-Id: I9bc347ca8b9886d439dad7d7da39e4324072b8a0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
b958701ff6a98a7d95930e61d91104bb5db3299a 20-Mar-2013 Rohan Shah <shahrk@google.com> Add and separate Account Item View

Move account out of FolderItemView and simplify
some of the key functionality (removing params
and instance vars).

Fix the multi-select bug as well by disabling
state_activated for the account_item style.

Changed the header as well to make the style
different for currently selected account.

Bug: 8440682
Change-Id: I55c55e403bc64733b5924f95f423fd1097c4dc16
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
8c1058ee75ec4a5824a68c3c5275bc48d56bbad8 20-Mar-2013 Scott Kennedy <skennedy@google.com> Change FolderType to a bitmask

This allows one folder to have multiple types.

Bug: 8426563
Change-Id: Ide918a884cfb76022f3c03f5cc69adb149a964cc
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
4a4de37596a8172c767749c361c1ebbba082d56f 18-Mar-2013 Rohan Shah <shahrk@google.com> Added unread counts to account in drawer

Accounts now have unread counts on the right in the
drawer, similar to folder item views.

I'll be refactoring account view into its own
class/xml at some point on 3/18 or 3/19.

Change-Id: I181dd7a9d8af37bcc6605163d90503cc615b432f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
07dbaa6989ea5c63ecf79b5ce7ec3a6a18a1ff35 12-Mar-2013 Vikram Aggarwal <viki@google.com> Ugly first cut of putting accounts in the FLF

Things to be done which will be checked in soon:
1. Removing some of the ugliness around using a FolderItemView.
2. Reducing the amount of boilerplate when registering observers.
3. Pictures on the accounts?
4. Unread counts on the accounts.
5. Selected state on the account per UX spec.
6. Collapsing the existing list and expanding new list as per UX spec.

This is a known ugly solution to unblock the effort of others.

Change-Id: I8659232ce5508c9f766e5e8da69e21ad9ec24f32
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
61bd0e84a3b0545a722bbfe931233b47afdf52e2 11-Dec-2012 Scott Kennedy <skennedy@google.com> Preliminary sectioned inbox support

Add basic support for sectioned inbox. This does not include the
teaser view or other less important UI features.

Bug: 7685676
Change-Id: I2cba26dc4acc1021f5b8ab0ca81d4e0a65f744a8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
1aecbb72739265d5f7c4926e553ad16c024a66b3 06-Nov-2012 Vikram Aggarwal <viki@google.com> Add checking to recover from unread count inconsistency

In general, keeping the current folder in the FLF entails storing it
for fragment life-cycle events, serializing and de-serializing it,
etc. This is undesirable for performance reasons. So we keep the
current folder only for the purpose of detecting unread count
inconsistency.

Bug: 7230012 JB MR1 tablet: unread count in LHS label list sometimes
inaccurate

Change-Id: I692e282037883137b1e9ee27ed7d93e731898783
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
b65d12f5a848017fa19484eb281dc7ed2aa52a93 22-Sep-2012 Vikram Aggarwal <viki@google.com> Carets, not Elipses for parent folders.

Use a caret in the South-East corner of the item, not elipses.

Fix Bug: 7212509 What does "..." mean after the name of a folder (in
an IMAP or EAS account)? Change-Id:

Ib7b5b5d75058beccf2f7ca68006b84de126ea2b3

Change-Id: Ied96f73e2093ba07682b735cc2755b90bb9ea0f1
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
9312ea31ee196fd072ebf315c007654d5d558d53 14-Sep-2012 Vikram Aggarwal <viki@google.com> Show parent... if children exist

Fixes second issue in b/7136651 In folders list, top-level folders
with children don't show the .. affordance

Change-Id: I90725a2e718f34662697abdd27f1553bda3689a6
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
601ab03706b6674c4154ca313080b6549bdb562f 05-Sep-2012 Paul Westbrook <pwestbro@google.com> Display total count for outbox and trash

Display the folder total count for outbox and trash label, in addtion
to the drafts label.

Ensure the the actionbar count is the same as the FolderItemView count

Bug: 7100166
Change-Id: I2ef367a53267c0bf14df22455245f1413291b25c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
f60450d3adb6bf7e7d3b985b5b889c4f2b0521df 13-Jul-2012 Paul Westbrook <pwestbro@google.com> Fix problem when views are recycled

Change-Id: I21de559318a4bb5f79e390025f4aafa703e25a55
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.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/FolderItemView.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/FolderItemView.java
e213aefc51c9ecc5c901cda4e2b02de3f9a82601 28-Mar-2012 Paul Westbrook <pwestbro@google.com> Show total number of drafts in folder list view

Bug: 6219624
Change-Id: I5b835695dd22de50f28be3c08c6a3aa0f03c575e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.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/FolderItemView.java
2c47a117415bc4461150f190837e0e94389b7597 17-Feb-2012 Mindy Pereira <mindyp@google.com> Show unread count for folders.

Change-Id: Ie20b9078afb39ede91173047121f426447e05d4e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
465d03d2318a4d764044c257f8f77d21e04531f0 17-Feb-2012 Mindy Pereira <mindyp@google.com> Show a special collapsed asset icon when a folder has children; use CursorLoader

Remove unneeded UIProviderCursorLoader
Change-Id: Id0671479de98c23242018ef1e576dd803e16395c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java
f645288ddaf5d24af952dd4ebf6d461eebddcfcf 15-Feb-2012 Mindy Pereira <mindyp@google.com> Show all folders for an account.

This is just the start. Needs a lot more passes, and will
want to make this a fragment instead of an activity.

Change-Id: I107390ee6c2e3af044c977c160b8d9a52477d569
/packages/apps/UnifiedEmail/src/com/android/mail/ui/FolderItemView.java