e2a30e19a9fff0e4368c4ec36280a3fcd4ca03e2 |
|
03-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
conversation footer b/15595931 Change-Id: I9eda1060f4e49a0448a321f603aec0a254daf86a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
edd6c1a2807d2ade930dfd4622707298dc470d64 |
|
08-Oct-2013 |
Tony Mantler <nicoya@google.com> |
ConversationInfo is now always populated Get rid of conditionals for when it isn't, and associated duplicated fields b/11120430 Change-Id: I63d8ef5d190b9a4d42e3029bb4a45004b5543de5
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
cee3c90574b48ccaa0f8b9f9341383c231ed41d2 |
|
31-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation UI Visual Refresh: border fixes. Borders now expand and collapsed based upon the state of the messages above and below them. Also fixed a bug where replying to a message added an additional border. Change-Id: Ia90caf4ea595767a90213fe33b29e1bd75c0aca0
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
9f957f3463fd149d33c209409e2bba500b539177 |
|
20-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Initial Ads work. Created AdViewFragment and AdHeaderView. Change-Id: I6c534579ed7fb5ca53e12ca57f9f8091717cbb9f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
09cb391d6040e1648cde6b549548193d2aa51010 |
|
11-Dec-2012 |
Andy Huang <ath@google.com> |
fix ConversationInfo NPEs Bug: 7710206 Change-Id: I277381ae67a243802d4a4d4ba17a9f4c9c8a8ebf
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
351ad4e87e0b0b98df9ca88266a8a63541dc5a81 |
|
07-Dec-2012 |
Andy Huang <ath@google.com> |
use parcel intermediate format for ConversationInfo Instead of passing ConversationInfo/MessageInfo around as Strings from provider->UI, use Cursor's blob functionality where the blob is the marshalled form of the parceled Info objects. This should be a acceptable use of Parcel, given that we are not persisting this form, and it only exists to facilitate provider/UI communication through the generic Cursor interface. Parcel blobs are fast, well-tested, and do not require input sanitization. Traceview testing reveals pretty good gains in Conversation construction (29% faster on Nexus 7), which is most of the work in getView(). Change-Id: I05451fba2201ca2f2c3ee76c80fb356c36e8ccad
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
2bc8bc1f69faacaddab41ab61e1d2e8658f4181f |
|
13-Nov-2012 |
Andy Huang <ath@google.com> |
fix restoring nested Parcelables Any Parcelable that contains other parcelables should have a CREATOR that extends ClassLoaderCreator so it can pass along the classloader when reading the inner Parcelable. This is how Fragment.SavedState works. Hooray for not fabricating classloaders! Bug: 7517657 Change-Id: Iae9c3cfa291a956659eabb501b9c57fa3c2707c9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
202738427ede23dd5863583aa3df17e4abfbf5e2 |
|
07-Nov-2012 |
Scott Kennedy <skennedy@google.com> |
Store the "Show pictures" state on rotation Keep track of whether the user has selected "Show pictures" so that we don't prompt them again if they rotate the device. Bug: 7255132 Change-Id: I7109465e79a7a0d6c126dcf3cef614eae8cb81f8
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
cd5c5eeae167885ffa2959c200233fea2f39c5f7 |
|
13-Aug-2012 |
Andy Huang <ath@google.com> |
refine message cursor update accept/reject logic Conversation view should ignore no-op or irrelevant MessageCursor changes, but certain other changes should refresh the view. Use hash codes for each message and for the entire cursor to distinguish. Updates from the server confirming a client-side read/star change no longer cause the conversation view to reload. Other cases that do cause a reload: * edit draft locally or on the server * read/star change on the server * discard draft locally or on the server Now that mCursor is changing all the time, and not always reloading the view, we have to be extra careful to not keep stale references to the old mCursor after a change (because CursorLoader will close the old cursor after onLoadFinished). This meant mPendingCursor wasn't needed. This also meant ConversationMessage needed an intermediary to get the current cursor. Bug: 6951782 Bug: 6437156 Change-Id: Ibd94eb9dc0e72fae371e47db08dff0d7c09ee145
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
08098ec4c894d9a15dfe800ad2397494e7e0a79a |
|
13-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix collapsing conversation messages We weren't saving the expanded state of message when a conversation was first rendered. This was causing subsequent updates to the conversation to collapse all but the last message (or starred messages) Bug: 6951782 Change-Id: Ieb26cc1a817121a45c93b08b2d386c7e0d2ec0fa
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
47aa9c991b33c722a6ba1946fc02e0aba17bc1c9 |
|
01-Aug-2012 |
Andy Huang <ath@google.com> |
"new message from" in conversation view on update * put the New Message bar in a new floaty layer in ConversationContainer. snap header can also live here. * add left/right margin support to ConversationContainer Send/save of a new message also generates the 'new message' notification for now. Bug: 6384217 Change-Id: I10a40bbf87423194214e5ded08539abaaf7fd25c
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
7e854f52f0890b9621846ac7fe201a5681e65666 |
|
24-Jul-2012 |
Andy Huang <ath@google.com> |
ensure ConversationInfo is populated from notification Bug: 6867243 Change-Id: I5e22978bdbd15506d8e9d5a0a671402756a41671
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|
839ada22ea84251dde3305003d2f8fc5bf14914e |
|
21-Jul-2012 |
Andy Huang <ath@google.com> |
save/load conversation state, add granular mark unread Centralize mark read/unread logic in AAC. Restore some conversation view state upon rotation. Clean up code for star/unstar from conversation view. Move most of that logic to AAC. Move transient conversation state from Message into ConversationMessage subclass. Add new AsyncTask for content provider single or batch requests. We should move to using this instead of AsyncQueryHandler or a raw thread. Bug: 6293711 Change-Id: I907a687ef7ff287fece8c90725dbd204a02485e9
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ConversationViewState.java
|