ead0f081264b7b9224a17b193f1bf95c45c048a8 |
|
08-Oct-2014 |
Jin Cao <jinyan@google.com> |
Merge "Add folders to conversation item content description" into ub-gmail-ur14-dev
|
2cff0881131d3cd4469d3494a3f7bf0ee3f2f09e |
|
07-Oct-2014 |
Jin Cao <jinyan@google.com> |
Add folders to conversation item content description b/16574780 Change-Id: I7c9ec0da374c89364633158e65bbb7fbdc317873
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
49b72f2736de522c8479155d08742ae8e4ba3a91 |
|
04-Oct-2014 |
James Lemieux <jplemieux@google.com> |
Speculative fix: ensure avatars are not created with empty email addresses b/17802490 I was unable to recreate this bug using 5 different renamed gmail accounts. But, the code lends itself to locating the bug with a reasonable amount of certainty. ContactRequest throws IllegalArgumentException if it is created with a null or "" email address. SendersView.handlePriority(...) houses the algorithm that chooses the email address used as the avatar for the TL entry. The algorithm already avoided choosing null email addresses, but there was at least one code path through the algorithm that would accept an empty email address. Specifically, if all messages were read, and the last message was sent by someone with an empty email address (obviously this represents bad data), the algorithm would still happily choose that sender. If this case happens, we do something the algorithm has done since time immemorial: set the email address to the *name* of the particpant (which is not empty). This will produce a failed avatar lookup and result in a letter tile or generic avatar if the letter is not in A-Z. Change-Id: I0a0ad0e5e66cc2316ef188b833485daa3c90c4b6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
3dbfbc210a607382ba9c150d7ae373ca0508267c |
|
12-Sep-2014 |
Jin Cao <jinyan@google.com> |
Choose thread icon more carefully b/17298161 Choosing the avatar to draw as the thread icon follows this algorithm: 1) Prefer the sender of the first unread message. 2) If all messages are read, prefer the last sender that is not the current account. 3) If all messages were sent from the current account (e.g. user is emailing themselves), use the last sender (aka current account). In the process of doing this work the last remaining dependency on DividedImageCanvas was broken, so it could be removed at this time. Tests confirming the new behavior have been added to SendersFormattingTests. Change-Id: If8e066de8cb98f2f95b019a88a2fdadc2f9f5090
|
ec0fa48764bede0772e9c711f3e33361b62f3608 |
|
29-Aug-2014 |
Jin Cao <jinyan@google.com> |
Keyboard support for focused state - remove focusable from FAB so keyboard won't navigate to it. - rename selectionSet to checkedSet - selected is a state for listview to focus one of its elements - what we really want is checked state for checked items in CAB mode. - show the blue focus bar when isSelected returns true - this is auto-set by the framework as we navigate using the keyboard. - remove blue background color for selected state b/17258708 Change-Id: Ic9739c9b349403942f64fafa26500c08d1f1cc4c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
0e29e769c74e385342fc5dc8e9c85517771aaa34 |
|
11-Jul-2014 |
James Lemieux <jplemieux@google.com> |
Remove attachment previews from Conversation List This includes: - all references to the 3 attachment preview columns in the Gmail conversation table (except for migration code in MailStoreInitializer) - all layout and drawing code for attachment previews in conversation list - all assets related to attachment previews - all preference and analytics code that aided attachment previews NOTE: This does not alter, in any way, the display of attachments in conversation view. Change-Id: I0aa5a32c8cce0ba98758827b973b323896932c39
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
10ea28ab588d8e922c0f78f0f47fe479739ec2cf |
|
27-Mar-2014 |
James Lemieux <jplemieux@google.com> |
Show "To:<Names>" in sent and outbox index views b/13304929 The solution being delivered introduces a new folder capability: UIProvider.FolderCapabilities.SHOW_RECIPIENTS which indicates a folder should display "To: " in front of its participants list because it is a folder containing outgoing mail or sent mail (thus viewing recipients is more useful than senders). This capability is returned for Drafts, Sent, and Outbox. Note that extra work was required to make this function properly in the widget we export to the launcher. See BaseWidgetProvider and friends for details. Change-Id: I2fa2394224ef3911992ab8d5cb67b05fdf5f3e85
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
3b59b333ad0693f74f9a8cfb24a468a8acbaca8c |
|
10-Jan-2014 |
James Lemieux <jplemieux@google.com> |
Mail in Sent, Drafts and Outbox should show addressees, not sender. b/10847599 This is the second attempt at fixing this bug. The strategy has changed entirely to accommodate GMail as well as reuse formatting rules that squish the list of conversation participants into an abbreviated line for display in conversation lists. ConversationInfo used to include a List<MessageInfo> which was used to answer questions about which senders had read which messages in the thread. This has been removed and replaced with a List<ParticipantInfo>. The backend should populate that list with appropriate conversation participants (e.g. recipients of the last message in the case of Sent, Drafts or Outbox; senders for all other mailbox types) Change-Id: I834223c55296bcd2509fdf544634c155594739b0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
be0cb1e421831672f49c30ecb46e6eee765cb661 |
|
16-Jan-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Ad teaser redesign. b/12243411. Change-Id: I993b326bc36de8edf1f2f40202d8f32551de4d94
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
a4296c179cd4eb12e7c4912d72c22dd2ec724a7e |
|
11-Jan-2014 |
Andrew Sapperstein <asapperstein@google.com> |
RTL the conversation list and two pane layout. Fixes: b/12451886 b/12452546 Change-Id: If2bd3d63c07eda3190d16fd95746c0105b251406
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.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/browse/ConversationItemViewModel.java
|
3b2039afbcd8465ab829ecda8a5b207e988e773c |
|
03-Sep-2013 |
Scott Kennedy <skennedy@google.com> |
Preserve advertiser name We were previously parsing the name as an email address, which caused problems with certain non-alphanumeric characters. Bug: 10605932 Change-Id: I1ea17096950f50b68e44cc1c976b69c4060b46e4
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
103319aaed26bce257de55b2fe93d4f78d3c59b9 |
|
26-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Ads in conversation list Change-Id: I3095409211d6a6bdc42212bcd6a330333a9da411
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.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/browse/ConversationItemViewModel.java
|
479505d71969e26b0785d8e0e1b81108731cf827 |
|
21-Mar-2013 |
Mark Wei <markwei@google.com> |
Attachments in Conversation List: Backend changes so that the appropriate attachments are passed to the UI. Implement PhotoManager so we can start showing images. Upon sync, we extract two image attachments from the first unread message, and add them to the conversations table. UI changes as well. Load BEST if that is available, else load SIMPLE. No vertical dividers in attachment previews. Attachment previews are above labels. Round badge appears for unread conversations when there are more images than shown. Only appears after the previews have loaded. Clicking on the attachment previews launches photoviewer. Attempt to load bigger images than necessary to prevent reloading during mark read/unread and rotate. Show animated loading icon while previews are loading. Previews load from top to bottom, from left to right. Big performance improvements: No longer decoding bitmap on UI thread. This kills most of the jank. Only load when we are not scrolling. This kills a lot of jank. Remaining jank will be delt with later: DividedImageCanvas.setDimensions() creates a huge empty bitmap on the UI thread, which causes a GC. ath will fix. Multiple images in one line now load whatever's ready first. Added tracing. Bitmap cache given more memory. Following ath's advice, decode Bitmap from InputStream rather than byte[]. Don't compress into BitmapHolder. Only use the bigger Bitmap cache. Bug: 7481049 Change-Id: Icf823f56abc9345e6d0b800a1e6d45444d8fa028
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
3b965d78774a42358ce6bbdcc43b4c8df130a60e |
|
25-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Clean up a bunch of warnings Bug: 9565838 Change-Id: Ie3a380581e81c63aaa0764875c55bfdccd5f2b13
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
07fe8df87bde8732398434e55cce366a8528c181 |
|
30-May-2013 |
Andy Huang <ath@google.com> |
try not to grab the conversation cursor mutex on the main thread Bug: 9186894 Change-Id: I27ad96a0cdeea354bd3fc915a6072bbf79518fd0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
4758e980c21027ef1a9cacc9847170290b2ae42e |
|
25-Apr-2013 |
Alice Yang <alice@google.com> |
Make sender image behave like checkboxes - Tapping on sender image selects/deselects a conversation. - Removed the "checkbox" option from settings, but didn't change wording yet since settings text hasn't been finalized. Bug 8713329 Change-Id: I11afe2b2ca3191f63ae5b82228fa209fdbd9295c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
fbc519e976de0c0debd810ed8c7f77de44d136a1 |
|
06-Apr-2013 |
Andy Huang <ath@google.com> |
spring cleaning; implement new conv list redlines Unify all Email and Gmail list item layouts. App-specific features are now enabled/disabled in code rather than through XML includes and overrides. I find this easier to understand and maintain. Folders now bottom-aligned. Item heights are now dynamic and variable. There is now room to display 5+ folders - removed max of 4. Copy more dimensions and styles from Coordinates so layout control is more centralized and normalized. Make Coordinates values final. Bundle the now-numerous configuration flags into Coordinates.Config. Remove most fixed vertical margins in favor of values from font metrics. Static caches considered harmful - moved coordinates cache to hang off of adapter, which fixes configuration changes not taking effect (e.g. font size, language). Removed overspecified styles (font sizes). Will remove old layouts and styles in a followup set of cross-project CLs. TODO: fix hard-coded leave-behind height - too short. Bug: 8393227 Change-Id: I85239cbd97c485d7f73103a80d5ab92069b550d9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
ff8553f20964f4c31b0c503a9e1daff6ae08a9c7 |
|
06-Apr-2013 |
Scott Kennedy <skennedy@google.com> |
Cleanup Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
40ada66d5dc6a0d5ad02f4a319acc03d126e9fc9 |
|
22-Mar-2013 |
Scott Kennedy <skennedy@google.com> |
Remove a bunch of unused methods Change-Id: I9c7fa70d42335694fc6ae9d9acc3955a922c96d7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
ce59fca1cfad3489bc121e9b58a9c67e765ca35a |
|
26-Feb-2013 |
Andy Huang <ath@google.com> |
optimize scroll perf Switch date stamp back to a simple drawText(), as we had switched to use a TextView to use font face spans, but this was much slower. Since we are no longer using a custom font for date, this is safe. Tweak call ordering of measure/layout/setText of subject and senders to be more like it was in UR7. Calling setText last defers text layout until draw time, which is normally bad, but when our list is already so far behind, it turns out there are fewer draw calls than layout passes, and this saves some time. Switch EllipsizedMultilineTextView from using its internal layout to using a StaticLayout to determine the chop point. I found this slightly faster for my data. I think this was because most of my subject+snippets require StaticLayout vs. BoringLayout, and even checking isn't worth it. Bug: 8236797 Change-Id: I8684ed7cd58d9dbbaff1df4721a823a59635171c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
6d11c8fbca5d54a013d78c85d6eb28f590093e3c |
|
03-Jan-2013 |
mindyp <mindyp@google.com> |
Sender emails are now available. Use the senders email to lookup their contact photo. Creates the DividedImageCanvas, a light weight way of collecting and rendering sender images to a canvas than a standard android view. Also, allows us to get bitmap processing off the main thread in a future perf related cl TODO: perf pass; implement correct visual design for letter tiles once available Change-Id: I67b8f74f40703543609d1011098062c98e3e42cc
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
95f9e1b167f4945adfa4ca62f4b72a102b621794 |
|
26-Dec-2012 |
mindyp <mindyp@google.com> |
Match redlines for new ur8 layout. Change-Id: I0e23a356e366c953f1bb36a43f246ad8622a1d9a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
88acafa03a87f5c84b959697d13b81df8f11a96e |
|
21-Dec-2012 |
mindyp <mindyp@google.com> |
Make it possible to get the emails of senders we want to display photos for. Change-Id: I32bdf23f1fdb8b94d2f0abc4d4bb05d2e2d04648
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
842aa19e551fb6b7e76fb89c8d39f189b9dacc81 |
|
19-Dec-2012 |
mindyp <mindyp@google.com> |
Add unread state to end of content description for conv list items. Fixes b/7391417 Mail status(Read/Unread) is not echoed when hovered through the list of mails in inbox. Change-Id: I390b7af98d9a72cf705f4ff44ba597948a876edb
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
b2033d855ab0f13e253e5403ce25989bcbc49488 |
|
08-Dec-2012 |
Andy Huang <ath@google.com> |
Convert rawFolders from String to FolderList Continuing in the Parcel > String vein, switch rawFolders to use FolderList, a small immutable Parcelable class. Individual Folder objects are still stringified when used alone, but those are not time-sensitive cases (e.g. generating a view intent). Traceview on Nexus 7 shows 61% speedup in serializing and deserializing folder rawFolders. Overall time for Conversation construction appears to go up, but that's because the previously lazy-deserialization is now done in the constructor. I think this is okay, since the only performance-sensitive codepath that constructs Conversation objects is the conversation list, which always needs rawFolders. Bug: 7690709 Change-Id: I42eadd79aaeb260f3d9642bf930437a69e510282
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
8335d37d0e6b6e06ba4666223945c2a3f24103c1 |
|
12-Nov-2012 |
mindyp <mindyp@google.com> |
Remove slower ops from onDraw Per fwk team: most to least called: onDraw (get slow stuff out of here!) onLayout init Change-Id: I79bcbb4ebfe562adcd31b536b10187585366bf78 Conflicts: src/com/android/mail/browse/ConversationItemView.java
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
2598be2e9681c24fb5746f7c5efc963378dccf0a |
|
10-Oct-2012 |
mindyp <mindyp@google.com> |
reduce allocations: reuse a textview instead of creating a new static layout each time. Also, picks the font color at draw time which should fix activated text issues Change-Id: Id6928616f688bf557c569d0de05df6e707b5c976
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
7f55c685376659550ed11b047a78cd8d70158ad9 |
|
04-Oct-2012 |
mindyp <mindyp@google.com> |
Use initial version of the cc cache fix. We need to selectively do a few things: 1) dont update the conversationinfo if we haven't changed the read state; this means we wont override the cached conversation info unless totally necessary 2) add sendingstatus to the set of flags we check to see whether or not to redraw the conversation item uses marc's initial cc fix Fixes b/7258975 Reading conversations doesn't immediately mark them as read in UI Change-Id: I647ebb3d20115b5f73ef50ad0fb860d067d4dfd7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
ca87de41285bde382a894b6cb2d13c112c5d7a2f |
|
29-Sep-2012 |
mindyp <mindyp@google.com> |
only get content description when accessibility is enabled. Getting the date is the most expensive part of the bind operation takes ConversationItemView.bind from ~5ms to .5ms bind is called whenever we get a list item view, so its important that its FAST Part of b/7188066 Gmail inbox list fling is jankier comparing to previous release Change-Id: If789382df6429f61ac80c4be08611c5391da5618
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
0d27ba45a0cfdd372872c00bd05fbeeb7eb4d600 |
|
11-Sep-2012 |
mindyp <mindyp@google.com> |
Use snippet instead of convinfo. Change-Id: I57bcb9ccc124c70c304d30a2787ccda916df4953
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
615fb1ca3f2e9f05a388ea509513d3e996343d80 |
|
04-Sep-2012 |
mindyp <mindyp@google.com> |
Adding inbox when in trash is destructive. Fixes b/7100602 No way to remove messages from the trash. Also, make sure we have a first message sender to get info from its possible this is a draft so prevent a crash Change-Id: I76f21879382115c0085a3fb37e6ce7f5405db9d9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
dc0617f3478b21dd3324ab10b8c433517ae95460 |
|
31-Aug-2012 |
mindyp <mindyp@google.com> |
Update accessibility text to make more sense per user feedback. Reset view heights that may have changed during animations Might fix the issue where items look odd after swipe to archive Change-Id: I1231fb98ab4ca855e8bce277e715d78472f9baa8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
850c55ee2cab6b1c224366c66502f5d5f55018eb |
|
22-Aug-2012 |
mindyp <mindyp@google.com> |
Implement workaround for issues in staticlayout. There is some bug that is not keeping text on 1 line and not ellipsizing (http://b/issue?id=6954231) Using a textview to explicitly set maxlines == 1 Fixes b/7002058 Conversation list overwriting lines when font size is "Large" since this bug existed as of late in ICS, and we need to support all the way back to HC, we need to use a workaround here. Change-Id: Id3523a115f9e23ec7697fa9cc5f711cb29143942
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
0b96043f9f2f740ce4d81dd5036e076e9704aa3b |
|
16-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
New content description string. fixes b/5196381 read the date and from as part of accessibility round 1 Change-Id: Ia091a5dc8f9d8f9c5dc33b55e326dddd8a5d4ed2
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
12fe37aa24c313fd8192dede0770dadf0ec23359 |
|
15-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
When we update the folder the user is viewing, clear the items cache. When we swap folders, a lot of information about an item is going to change AND we wont be seeing a lot of the same items. It makes sense to just blow away the cache and redo. fixes b/6987220 User defined label added to a message is missing in Gmail Inbox after reading the message Change-Id: I1167af604bab4045946c89bcacf3f87bd2077919
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
583eea0562dff158bdd3db9c2adfaec9b7ebef68 |
|
15-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we take priority into account when deciding whether or not to redraw. Fixes b/6991264 marking important/ not important not immediately reflected in conversation list items Change-Id: I546f7018f1f8a1055fe08245063e4e6fb5be0e84
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
8a6eb44e688ce082597978def2042ea8376b34b2 |
|
11-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Make senders text turn to activated color when subject/ snippet does Change-Id: I8d2c98cdd5f63384093cc3deaf540475592d4897
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
f64891149de2176cccd3a03e28a62eb210decf8a |
|
08-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Fix animation heights. This fixes the not growing/ collapsing all the way thing gabe reported. Change-Id: I93bc9049c69e4ac06a37229935dda04a6e3c6257
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
48b55b5945a3e9fddfb8c750ded3327ac733b21a |
|
08-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Use objects.hash The hash code wasn't changing based on the read bit Change-Id: Ib7de80f37a3555b5aee2d2a64d6dec53f49f8c01
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
b1cbb89f72631bb7e34822b98e8d0842ebd01b83 |
|
31-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Use priorities to decide who to elide. Not sure its perfect, but its LOTS better Test cases in a later CL Fixes the subject showing in sendres in widget Change-Id: I711ff6d8b1343aa01e5a38193a76467910425a9d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
2598e6d3122da1a4705c2aa53cb27931fff9ee3d |
|
31-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we check read state when determining whether to use cached item or redraw. Fixes b/6908420 Read message displays improperly in convo list... Change-Id: I80dc18a53ba06d288b83f6344332b4bfab330325
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
4f2224c70d4d07df85b325fa3faf78218f92aae6 |
|
31-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Since star can change via a user action, don't cache the bitmap. That way, when we draw the star, its always up to date with what the conversation has. fixes b/6897152 Changes made in message view (star/unstar, read/unread) aren't reflected in conversation list Change-Id: Icd841b3c60d37b8a453529423f51304577691bb8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
85c4a77abd849f5f3f0236d51554bb1bb99fe8f6 |
|
30-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Cache displayable folders. Change-Id: Ibb2766e5a197a86adb0a456dc1fb58cdd98fd610
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
0f36e72e3e946c225e457f697d87e233c370e755 |
|
29-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Raw folders may be null for email. Change-Id: Ife2e95e15d13ad6bf30d73fbcef9cee3fb9d5d2e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
bf19cb00a3cc0f65b6b6e5ce8553f53c03a3b717 |
|
29-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Dont allocate the src/dest rectangles at draw time. Allocate a scaled bitmap once and reuse it Also, applies changes recommended by marc's cl review And makes sure that we show a date background whenever we show any labels Use rawlabels to determine when a conversation item has changed as well, since we update labels to render to a conversation as well as unread state all on the ui side Fixes b/6172805 Gmail's CanvasConversationHeaderView allocates at draw time Change-Id: I1711929c262b7c80bf71dbfbf7e85270cc2a9e7c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
c3efca18f09904f4ce39395169559c5d82bd3d06 |
|
28-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
We weren't using the cached header models correctly. This should speed up scrolling since we allocate fewer objects. Also, fixes the issue where we were not properly creating a new layout when the read state of a message changed in the case where a user opened an unread message and then went back. Now, all the senders are properly bolded/ unbolded. Removed the deprecated conversationInfo.sendersInfo, which was only being used by gmail, and had been replaced by using the proper messageinfos Also, performed some surgery on the widgetviews so that it acutally uses the messageInfo from conversation info Change-Id: I43fde9cd23ebc12f2de68e0d18b941304b4a2be7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
53f262e1c93fc20c9c44d46ebb9fc1b5a44cd06b |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Use cached rawfolders. Change-Id: I4b70c2761a699541b98a02a24f8cd017df13433f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
aa1f945612847bc4cf5c8909b8acfab4b5ecf54e |
|
23-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Add snippet logic when marking read/ unread. Change-Id: I497344c4361616c8ec293ee89ea99ce9c1a5f2fc
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
b1207e3ec8fe3ce988996722e13b80a4dfdf1c72 |
|
20-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Use conversation info/ message info to render senders. Change-Id: Ie1cad4451f5048846fb0d3e730bb9d2855a0c083
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
648df3f0b0ebcd3c4adf907d70ff0938e5dfc78f |
|
19-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
JSON objects for conversation and messageinfo. Used by UI to pre-update sender fields instead of waiting for a content provider updatee Step 1. Not checking in until all the CL's are ready to go. Change-Id: Ib75e4f875fde7989e43fe15297030a4c7e7241b5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
0b686764015284889d98b8e9f1abea8b27ce26bd |
|
29-Jun-2012 |
Mindy Pereira <mindyp@google.com> |
Fix font colors for activated conversation item view items. By pre-creating and caching the activated and regular subject layouts, we dont have to create these object at draw time. Also fixes that the subject/ snippet didn't change to the activated color (white) when the user tapped them on tablet, but the senders did Change-Id: Idcb45b84dec5d375b0f38723251eb4d143911c59
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
d7a4ad903cd77a2cd3ad44c7c456b48c7d47e599 |
|
02-Jun-2012 |
Andy Huang <ath@google.com> |
rudimentary bidi support in assembled senders string Let the framework draw the entire assembled (possibly heterogeneous) senders string. No need to do text layout ourselves. This is a manual cherry-pick of I9f4e4303. Bug: 5058894 Change-Id: Ia28740efc8c3db506c80183f52f1c2280f732782
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
b6b174fb3a8f58a2c81e035917ebad8ab45b88ae |
|
04-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Respect hide checkboxes; tap and hold to add to CAB group Change-Id: Iaddd1dbbfd1a0e3c07ba1ffcd6a4e4368ad0e294
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
866d319dd23ec8b7b7d5476c65f7f83469d55d2d |
|
26-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Re-enable swipe. Swipes all checked items at once Tap highlight Properly colored background Doesnt swipe non checked items when there are checked items Change-Id: Id71e331d35f75ee02813dee8376d764386221868
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
8d83c8a0c9c01ce5ed9381f2765b3ba59948710f |
|
15-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Show invite icon in reply state location when applicable. Change-Id: I851b088c766b72e6e4a9fc1e1ece2bd3b04d71e1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
54467a21dce72130bb04eb5aa1c9813d88308a80 |
|
14-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Add reply state logic. Only show it if its defined in the layout for the item. Change-Id: I41a58e41b76a6b3f0c2ca87f1e8336e67e71eb5d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
3cb938f638cc3cec08c9c42d20192e65b1e7d343 |
|
14-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Dont show personal indicator by default. Only show it if the layout file has it. Change-Id: I6ac6c8a11fb42f0a23250dbdc613dc6865e96dbd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
b5080d5335d2aa445a660ad426ab008750be24cb |
|
09-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
ehow folders in conversation list items if they exist in the layout. Change-Id: Iec0198f7eab014c71d66e1c026942988d985f1e9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
a831b2f1ba6d3c18d5e54563df8bae1f589c4257 |
|
24-Feb-2012 |
Mindy Pereira <mindyp@google.com> |
Use a constructor to create a provider object. Some were using from(Cursor), and it was confusing. Change-Id: I49655b4ed013fb4dd47cdefea0bfd850a3fa4517
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
8d69d4e10a9a36ff790babb2f3a098a12d0dc732 |
|
25-Jan-2012 |
Marc Blank <mblank@google.com> |
Enhancements to Conversation/Cursor/Provider * Added methods in Conversation for doing batch update and delete (e.g. from selection screens). The batched changes reflect immediately in the conversation provider and are then executed in a single transaction in the underlying provider. NOTE: If called from the UI thread, these operations will not block (the underlying provider is called on a new thread); it's expected that update/delete will almost always be called on the UI thread. Where the result of operations is needed (i.e. a Uri return from an insert), synchronous operation is required; this can be done by calling on a non-UI thread. * Support for selection -> add star * Also, quick and dirty implementation of read/unread, both by reading mail and by using selection -> mark read Change-Id: Ia060cdf21b2f9f3960315c746e81c04ae3afc6a1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
c8a994227b9c686d88ee05840544162711a85712 |
|
19-Jan-2012 |
Marc Blank <mblank@google.com> |
Prototype ConversationCursor/ConversationProvider * Handles updates/deletes from the list instantly, then forwards the request to the underlying provider * Only starred/delete are implemented currently for Email types; the Gmail provider doesn't yet support updates to UIProvider uri's Note: Email types support read there's no read/unread support in the prototype UI * Updated UIProvider/MockUiProvider with latest adds to Conversation class * Underlying provider must notify ConversationCursor of changes via newly defined notifier URI TODO: ConversationCursor wants unit tests Change-Id: I91babcd5c27109acaa1f7479d584524e8a508a56
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
732600e38891db139bae02dc91dd0c5b0987e8e9 |
|
11-Jan-2012 |
Andy Huang <ath@google.com> |
conversation activity plumbing Short circuit UI usage of unnecessary ConversationColumns.URI indirection. Conversation view can be passed a model from the list view rather than querying again. Add Conversation parcelable to be a model that the UI can pass around. Fix minor misc issues. Change-Id: Ifdbdc914d1522066bfce757e1237caa67d85fea2
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|
30e2c24b056542f3b1b438aeb798305d1226d0c8 |
|
07-Jan-2012 |
Andy Huang <ath@google.com> |
rename unified email's package name to com.android.mail New code needs a new package name. Fixes IDE conflicts when browsing. Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ConversationItemViewModel.java
|