History log of /packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
513486cfb5d446f098b1c97d16932e51e316d1a7 13-Oct-2011 Ben Komalo <benkomalo@google.com> Fix per account starred mailboxes.

We always switched to combined view when we tapped "Starred" in a
mailbox list. This was confusing since tapping to show the mailbox list
will take you to the mailbox list for the combined view, even if there's
only one account on the device! Other confusing things happened like
showing coloured account chips, even if there's only one account.

This fixes it so that we pass the account ID when building the
selection. Lots of wiring to make it happen, but very little change
overall.

Bug: 5388326
Change-Id: I1fe52f211cceca0c1b26581e200f3c7adcd0734a
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
2ac164f609faea134b8fa1d6c0ebc90ccda91166 01-Jul-2011 Makoto Onuki <omakoto@google.com> Fix bug 4982804 / nested fragment transaction

Post MessageOrderManager callbacks instead of calling them directly
to break the loop.

Change-Id: I033121f7bdbadf6edd7a0fab87b960b737da820e
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
4c4e4c3515c3e3300e03f90e02a0c520dc2dff32 13-May-2011 Makoto Onuki <omakoto@google.com> Clean up the method to build message list selection.

- Moved the method to EmailCommon.
- Use *_SELECTION for magic mailboxes
(meaning we now use subqueries for magic mailbox selections, rather than
building the mailbox ID list by ourselves)

Change-Id: I3ebf6af62fd912fea6faea0f75e05fc61c87af3b
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
31d9acbf0623872f9d4a2b3210b5970854b654c7 12-Feb-2011 Marc Blank <mblank@google.com> Email split, part huit: Refactor constants, clean emailcommon

* There are three pieces to this CL (sorry):
1) Move and/or rename some constants into emailcommon
2) Move Utility to emailcommon, moving the few UI
related utilities back into Email (FolderProperties
and UiUtilities)
3) Remove all references to resources from emailcommon
* The three pieces relate in that, between them, they allow
the emailcommon static library to compile cleanly

Bug: 3442973

Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.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/tests/src/com/android/email/activity/MessageOrderManagerTest.java
34e487594da7c63e1e6a98bdf2f13f423d18848e 09-Feb-2011 Todd Kennedy <toddke@google.com> Remove unused import for Log class

Change-Id: I5edb48c11bde8d0785dd6e1857a04949ea122a46
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
bddc4e87ef57b2d05e9d0e2bc8dc3e4c8427ae27 08-Feb-2011 Todd Kennedy <toddke@google.com> Fix mailbox adapter & message order manager unit tests

* the new mailbox queries will only catch message that are
"loaded"; by default, messages were created "unloaded", so,
the query was returning 0 results

* extra parens were removed from the query string; the text
needed to be updated to not check for the extra parens

bug 3428077

Change-Id: Iea5867e741b9673985ca020aa3a8425c061324bf
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
931ca67a1f1baa0c1fd115124e35183c7786fc63 09-Nov-2010 Makoto Onuki <omakoto@google.com> New message view command layout

UI Changes:
- "Move", "Delete" and "Mark as unread" became action bar commands.
- The message view bottom panel now only has "newer" and "older" buttons,
with the current position in the message list. (shown as POS of TOTAL)
- The buttom panel is now shown only on portrait

Non UI changes
- MessageOrderManager now keeps track of the current cursor position
as well as the total message count.

- Fixed the "move_action" string, which was wrongly marked as non-translatable.

Bug 3169454

Change-Id: I599543f9e11000a4ee283d31fbd407b2ab53ac44
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
02a750dd6478689612d2c49a552c229919bd9553 08-Oct-2010 Makoto Onuki <omakoto@google.com> Fix tests

Bug 3077014
Bug 2992255

Change-Id: I1e8127327158b0821177d0744a60132f89dccdd8
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
638c67f4dbad4055b1d89834ca2e140f55a06d66 15-Jul-2010 Makoto Onuki <omakoto@google.com> Adding more test to MessageOrderManager

Added a case where all the message in the message list is removed.

Change-Id: Iedc2dbdf391978bd67d3bcdc260590d98cc9ef7d
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java
de0a1c33c9507e96d554ca645d42d07f1241157e 01-Jul-2010 Makoto Onuki <omakoto@google.com> Extract MessageListTask and make it self-contained.

Introducing MessageOrderManager which maintains a message list for
MessageView. It's used to tell if there is newer/older messages
in a mailbox, and the id of them.

Also, slightly related to this, moved mWaitForLoadMessageId to
ControllerResults where it should belong.

Change-Id: I84e32180c7e84a317f2204bb10ad7245ec022dca
/packages/apps/Email/tests/src/com/android/email/activity/MessageOrderManagerTest.java