History log of /packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fde8089157ae2def89d0e4a03f5f6f2bcdf538fa 09-Nov-2011 Mindy Pereira <mindyp@google.com> Activated text should be white. Shares resources with gmail.

part of b/5520533 activated text should be white

Change-Id: Ia6f79bed2277185eca100bd6c65884a2cd574e22
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
f5418f1f93b02e7fab9f15eb201800b65510998e 14-Jun-2011 Marc Blank <mblank@google.com> Move Account into its own top-level class

Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
1b404f4fff39977e4f8edc9258c1bd1075da11c6 07-Jun-2011 Todd Kennedy <toddke@google.com> Collapse MailboxAdapter & MailboxFragmentAdapter

MFA was the only subclass of MA and the abstraction no longer made sense.
Collapse the two into a single adapter class.

Change-Id: I32c6f027bc37f3da08626f743c3f494e5f48c3f0
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
3a8a1b451dc21eb0e1b05e04b1d4df8971187c84 02-Jun-2011 Makoto Onuki <omakoto@google.com> Change on the mailbox list item background.

- The drawable for the active drop target background was static, and
shared between items. But StateListDrawable has inernal state and
shouldn't be shared.

- Also make sure not to set the same background more than once.

For some reason, they will cause visal glitches when we switch to synchronous
fragment transaction.

Change-Id: I10fede2ad4e595f74d61768907b5b70fd5d4da21
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
d531dc3058c52b1e3ee2ee53eb8d63d6177d9f91 19-May-2011 Makoto Onuki <omakoto@google.com> Fix opening Starred mailbox.

We need to pass around the account ID with onMailboxSelected too.
(It's kinda sad it wouldn't have happened if we had par-account starred
mailbox.)

Also made sure MailboxListItem.mMailboxId now really contains only a mailbox
ID. Before this chage, we stored an account ID to this for an account row
on the combined mailbox.

Bug 4452811

Change-Id: I732fd8eb18f787f4a700a45a40768f96e3bb8751
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
53ea83ebf91f820692e8fa8e781f5cc982dd94db 14-May-2011 Ben Komalo <benkomalo@google.com> Move Mailbox to top level class.

No other changes made.

Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
6c3cd4e2477eb1c7d1e107b3ea352639f1102933 15-Apr-2011 Todd Kennedy <toddke@google.com> Implement drag-n-drop with nested folders

We can now drill down into nested folders during drag-n-drop. Simply hover over
a collapsed folder for 750ms and it will auto-expand.

Change-Id: Ia9b42dd87e19c2ebdf8675c761cb1453bb26d158
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
f7036b737907f06df1a06507754b28596cf8225e 12-Apr-2011 Todd Kennedy <toddke@google.com> only allow navigating to mailboxes w/ children

If a mailbox doesn't have any sub-mailboxes, only allow selecting them to view
any contained messages. Do not update the mailbox list.

Change-Id: I6f469bf20a57dc440885402084c21ff184f13dff
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
3a5c1fb274a9ce72d708d88509bf2607cb018ddd 13-Feb-2011 Marc Blank <mblank@google.com> Email split, part neuf: Setup, logging, attachment glue

* Make "Exchange" option in account setup depend upon availability of the
Exchange EmailService
* Make presence of Exchange logging depend upon availability of the
Exchange EmailService
* Make AttachmentDownloadService use service rather than ExchangeService
class
* Move SSLUtils to emailcommon/utility
* Move account manager type defs to emailcommon/AccountManagerTypes
* Update proguard.flags
* This is the penultimate CL for the Email package itself; the next CL
creates a clean, SDK-compatible Email application

Bug: 3442973
Change-Id: I9162cf5fa6b5a043ded0fdd1e25fd3ce5948ad8f
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
a7bc0319a75184ad706bb35c049af107ac3688e6 10-Feb-2011 Marc Blank <mblank@google.com> Email split, part six: EmailContent

* Moved EmailContent to emailcommon

Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
eb73f28d1a757998b3fb1704ed950d6e80b3b539 27-Jan-2011 Todd Kennedy <toddke@google.com> Ensure foreground colour is set during drag

At any time, it's possible for the framework to recycle views. Normally it's
not an issue, however, during drag-n-drop a view with "unavailable drop
target" foreground colour may be reused. We need to ensure that the foreground
color is always set.

bug 3398330

Change-Id: I21acd04584a122c19219f3abb6690bb231bad3a6
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
6bbc689efcb33c74129493e7097aa4a485a7d7c1 19-Jan-2011 Todd Kennedy <toddke@google.com> Implement final drag & drop spec

Current specification calls for the following:
* Droppable targets: do nothing
* Not droppable targets: grey text (hex #999999)
* Hover over droppable: use label/folder list pressed state
* Hover over not droppable: do nothing
* Destructive targets: background (hex #f10000)

We need to copy the resource from the framework as there is no supported way to
fetch the pressed state drawable during runtime. Adam filed bug 3370043 so we
can specify a drag target state directly in the selector.

bug 3154986

Change-Id: Ifd5c24a3dc46b5a1c64a149904657dda297ed047
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
518124e47d8cf4510dd11c5ac3ee732f642004bd 10-Jan-2011 Todd Kennedy <toddke@google.com> Remove/fix STOPSHIP comments

* Remove the drag_background drawable as it is not referenced
* Correct icons for menus have been submitted; remove STOPSHIP
* Reverse target location check in MailboxListItem to fail fast if we do
not have a "down" touch event; STOPSHIP not necessary, removed
* Remove 10dip guard on mailbox list; this is near impossible to trigger

bug 3335078
bug 3335096
bug 3335065

Change-Id: I4bcc42ee03502c8a5c44d431e935dff92a648fb1
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
07f5f60b8f84da92305d4f02ffedae9436f87787 09-Jan-2011 Todd Kennedy <toddke@google.com> Implement proper drag-n-drop

Still some tweaks to be done, but, we're real close to what it should
look like.

Bug 3322756
Change-Id: I8549ab59677a344e8f259c88bed950169d7381a8
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
80a98fd939f0760f2e2d8abb604c492125c0bbad 06-Jan-2011 Makoto Onuki <omakoto@google.com> Pixel perfect: mailbox list

Now it should be close enough...

Also fixed the "selected mailbox won't get hilighted" issue.

Bug 3137965

Change-Id: Ifba83783121e62363fac6428534394d2e0a4bee9
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
9c39deef4e513554e0f8564d5c2ef3deddc87793 09-Nov-2010 Makoto Onuki <omakoto@google.com> Code change for new mailbox list layout

- Don't show a folder icon for regular mailboxes
- Change the count look
- Don't show counts for Sent/Trash.

Bug 3137965
Bug 3073147

Change-Id: I8fc0af8fc2d51968605fe4b570e5704453092ac7
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
c81bef672089654e6da3babbeb0172bd636564b2 14-Oct-2010 Marc Blank <mblank@google.com> Drag & Drop "move to folder"

* Drag & Drop "move to folder" preliminary implementation
* Use "drag handle" button to initiate drag
* Use the message list item itself as the drag thumbnail for
one item; "Move N messages" for multiple (not implemented)
* Disable MailboxList update during drag
* Use ListView itself as drag/drop target

Bug: 3138004
Change-Id: I9243e4f583cf91caa1b9dd04fd64d52e8b28fa30
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
0af92c0c39d20e5b83321017c78f3c96d732bbdf 18-Sep-2010 Makoto Onuki <omakoto@google.com> Use the default theme for selected mailbox.

The latest framework change made it very easy to do this.
We no longer need to implement Checkable by ourselves.

Change-Id: I9264b157b6600659597ca8d525a4288d7bb9c470
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java
c8502dd1946545cfa112c55aee1444c4544700af 25-Aug-2010 Makoto Onuki <omakoto@google.com> Highlight selected mailbox on mailbox list

* Use ListView's CHOICE_MODE_SINGLE mode to select list item.
* Added a view that implements Checkable to change background
for selected item.

Change-Id: Id55999b3d024ad1852e2b8c6436cd22ef255cf95
/packages/apps/Email/src/com/android/email/activity/MailboxListItem.java