5e0a5cacbe7fad3307986eb9e830c06d0674a8dc |
|
07-Oct-2014 |
James Lemieux <jplemieux@google.com> |
Merge "Speculative fix: ensure avatars are not created with empty email addresses" into ub-gmail-ur14-dev
|
ea61dab12099606a1d385e1003dde46bf0f47d4b |
|
06-Oct-2014 |
Jin Cao <jinyan@google.com> |
Remove retry UI state and enable delete for sending Until the "Failed" state is fully implemented, we are going to stick with the old behavior and remove the new Retrying UI state. We'll also enable delete for Sending items so users can delete messages that are perpetually sending. b/17814043 Change-Id: I6e510a553123fa5fdf6bada0fae92bb3e82ec798
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
42b362587928704ea17b0a09a5e4e16037d14491 |
|
22-Sep-2014 |
Jin Cao <jinyan@google.com> |
Fix messageInfo styling - Fix bug where we incorrectly use displaySendersText (it is only used by AdTeaserView), this was causing the draft message to not render properly. - Add a character style span to the split token so that it's not white. b/16321486 b/17586158 Change-Id: I1ad2d919813f031d00e1e9d3e5dbecdd25715edf
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
c9e00fcb05c5311633dc3a414b9bf685816b4350 |
|
17-Sep-2014 |
James Lemieux <jplemieux@google.com> |
Sending a mail to self crashes gmail b/17517391 When emailing yourself in Gmail, the initial entry in the messages table is written with a NULL fromAddress. When the Gmail server responds from the call to actually send the message, the sender is then filled in. This brief period of time where the fromAddress is (needlessly) NULL produces cursors that report the sender name and email address as NULL. To sidestep this problem, SendersView now takes the current Account as an argument and, if no proper sender information can be located, falls back to displaying the avatar of the current account, which should typically always match the sender. Change-Id: Ibe052dc948ff90e319a287ee1fb8cc8b707991b2
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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
|
0fd4cba8db984955729871d15a7cfebd73e9cf9d |
|
24-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix NPE for singular draft string. b/16323068 Change-Id: Iaed56eaf74a24537bfb927b404d896179a0dc3e5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
f75cf1157b7168cd4c501b1b34ad473e2ab724f0 |
|
19-Jul-2014 |
James Lemieux <jplemieux@google.com> |
Not enough difference between unread/read in TL b/16131268 This reworks the colors, fonts and sizes used to distinguish read and unread entries in the conversation list. Change-Id: If807ea43a4011cb36b8d39cd5aba080fbb018016
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
735a22a197215ec4787ad9f3cbaf465cce54f4d0 |
|
11-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Quantum CV - drafts. b/16138121 New assets, new red color for drafts. Super-collapsed becomes red when there's a draft. Conversation footer is hidden when last message is a draft. Change-Id: I89a58971a19475be79f56cae53934f3c7b2ab894 Missing: properly re-sizing the footer.
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
0647f7d71e908562e7420ff2a9908ec9a93dc551 |
|
30-May-2014 |
Jin Cao <jinyan@google.com> |
Typo on last commit Change-Id: I3d06db9342cb3d952716453675314d02a3889b15
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
6a2df258316b267151296556dbbdba20200ecb1f |
|
30-May-2014 |
Jin Cao <jinyan@google.com> |
Provider support for different sending states for messages Add support at the provider layer to differentiate among different sending states (not sending, sending, retrying, failed). b/9805976 Change-Id: Icb47412ad6f961f36adb6223a6289b0c4dcd7a2c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.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/SendersView.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/SendersView.java
|
821e578a71c7015646522e729600618f0ec16fc0 |
|
07-Jan-2014 |
Tony Mantler <nicoya@google.com> |
Deduplicate Address class Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
2214f44c56a45f08729c334ab59ad5c1cb032457 |
|
06-Aug-2013 |
Andy Huang <ath@google.com> |
improve senders display of the form "last, first <email>" This doesn't exactly fix the root cause of spurious line-wrapping, but it should reduce its incidence. We were displaying the <email> portion of an address when the name contained a comma. Turns out the Rfc822Tokenizer is built for comma-separated lists of senders, with some logic to handle a sender which may itself have a comma. Let's use that instead of TextUtils.split(). Bug: 9594770 Change-Id: I2812fb560b7395fb87f4215b211d5e824aa23083
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
8173cf41d2acf48c7b45ae3e7868fc391aae0359 |
|
01-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
More bidi notification fixes. Change-Id: Id0934adf6a41025ad54131de874fc344e5689086
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
d4de4aa5c73a9e68e1887c2b3de233acd0c51761 |
|
18-Jun-2013 |
Paul Westbrook <pwestbro@google.com> |
Add new "me" strings Bug: 8903354 Change-Id: Id66017793d7a430716bfba7fdf6cda6abd66e290
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
dfa99af9e631d5e2f9ca91b5a03026fca1c5c193 |
|
20-May-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Show non-ascii sender names properly in msg list. Fixes b/8498763. In conversation view, we properly decoded names. We were not running through that code path in email in the UI layer. Refactored the decoding work into a static method that is now called when we get the sender text. Change-Id: Ie8212dd20b74558626e66d2c58a39e95e39b068a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
bcab7611959549a955be8a30115d6a4c937afd24 |
|
17-May-2013 |
Andy Huang <ath@google.com> |
fix chopped senders string The static (sigh) paint used to measure/ellipsize the senders text was stuck in 'date' mode, which used the tiny date font to measure. Bug: 8715214 Bug: 8972566 Change-Id: I96480b284feae6a5d69a3dd4702365c5d1da355a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
b53fe05fb867685d0d3f2f37daf0f93bc6488ded |
|
21-Apr-2013 |
Andy Huang <ath@google.com> |
misc contact photo optimizations * Only invalidate the contact image region on async load. * Calculate hash codes by hand to save autoboxing of ints. * Don't parse Folder color strings at draw time. * Switch ConcurrentHashMap to SynchronizedMap. No need for concurrent write support, as we only have one writer thread. Write perf is much better. No-op stale photo requests more correctly now. Previously, a canvas that was re-used and happened to have the same person in it would apply the photo even if the dimensions didn't match. Now, PhotoManager makes a record of the canvas's "generation" at request time, so the results can later be rejected entirely if the canvas generation differs. Bug: 8051779 Change-Id: I31c3fd0c3bcc10641f264b6e30eb133cc0bf77b3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
e22c41d168aebe3bba6781e0ef8f5a6cbe5e3686 |
|
28-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
Follow-up to IntentReceiver leaking See I5a4d8825cbbc53c2b8c6cd68a4fe5cd3e5215d0c Wrap calls to clearResourceCache() in a finally block. Bug: 8029270 Change-Id: I39249a893890e6044c6cdf7f5ca9ef9a639ee635
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
d5fd04656f364a209703a67debc33d91dabfb83f |
|
26-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
Prevent the leaking of an IntentReceiver Only cache resources (and setup the related IntentReceiver) upon request, so we don't leak it if the first call to the method is from a Service. Bug: 8029270 Change-Id: I5a4d8825cbbc53c2b8c6cd68a4fe5cd3e5215d0c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
d25c753fd348cbd98a148e434134bbe2191aad7d |
|
22-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
Don't use a custom color for senders in notifications Bug: 8045625 Change-Id: I3d7baa2df73619c4cc3da9d464e966d9c92ee367
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
41e313eedf07d234f08aebdfc08f354496520d7e |
|
11-Jan-2013 |
mindyp <mindyp@google.com> |
If we don't have a sender email, assume old format of senders info and show the default image/tile Change-Id: I0eebbcf1c76a9e585cecb86e25a7bf032529ec7d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
6a4c4f62db0ddf6660d889bf1f21e37d25a99363 |
|
09-Jan-2013 |
mindyp <mindyp@google.com> |
10" tablet style; use old fonts and read/unread colors Change-Id: Id82c30abaffe6fdf05579f98985d28529d74f394
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
69495b0a5551aaf4b70b6b29348946b730cfc3e8 |
|
08-Jan-2013 |
mindyp <mindyp@google.com> |
Reduce time it takes to render a conversation item Re-use an existing folderdisplayer instead of recreating one each time Remove unnecessary TextPaint call Don't do html to plain text on the ui thread; its done when processing senders Change-Id: Id1b4fa93b2b082fd9f69e473d6d3ee55bd852684
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
1c69e784964cc17e2bcbf2f08c13933b449d05d6 |
|
08-Jan-2013 |
Scott Kennedy <skennedy@google.com> |
Show sender in notifications This method is no longer just visible for testing. Bug: 7958979 Change-Id: I5bf7ca4fecd99a0ee4ccbe9f94522faeae794d2d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
c76ab94c69e09ade8036f47d370d56902f0e1f6e |
|
03-Jan-2013 |
mindyp <mindyp@google.com> |
fixup algorithm for which sender photos we need to show pictures for Algorithm: 1) show pic for first sender 2) show pic for last 3 senders, ellided or not Also, messages from "me" should show my contact icon Make sure we just use characters for the tiles: fixes b/7959815 Problems with sender "letter" Change-Id: I1b713df0cd12b3ca324fa4f6492ed337f867a434
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
f2caf91209e4e2d4182d6b379a3cd79eed81af71 |
|
02-Jan-2013 |
mindyp <mindyp@google.com> |
Set font sizes, colors, and types for subject/senders/ snippet. Set max length for subject. Also, a fix for: b/7937635 Senders text displayed as "e": need to figure out why the single sender was being marked as elided at all so leaving the issue open Considering an option in which I divide the subject into 2 textviews and ellipsize based on length... Part of matching redlines. Change-Id: I109001fb1d52c032d489bf7d3a0a6e925a9d7f1a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.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/SendersView.java
|
949ea2185d79e3e266662766cfa07cf748493e3a |
|
14-Oct-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE We can't just keep a single static map instance, as the thread updating the widget can be running at the the same time as the main app. Instead use the Object cache to reduce object allocations, but also to prevent multiple threads from modifying the same object. Bug: 7344709 Change-Id: I803963f2acf17eaa7cb928e90830eade86a718d8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
ce499a669a8008397e3fd92e3b0c5e44e0ae4ab6 |
|
05-Oct-2012 |
mindyp <mindyp@google.com> |
HtmlParser not thread safe; let widget supply its own version of the parser/tree builder Fixes b/7292288 gmail crashes on launch/loading msg Change-Id: I2a7f3c6c8593ff5f704c9df6baec9125f9c954a6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
c926762f1d4a787ce5342e40cb67afe41a2fa0d7 |
|
05-Oct-2012 |
Scott Kennedy <skennedy@google.com> |
Reload the "me" string when the locale changes Since we were caching the string in a static field, if the locale changed, the cached string was never updated. This changed forces it to be reloaded from resources if the locale changes. Bug: 6117697 Change-Id: I18c4b62192bbc4adab8b74ed742d64dc5b09859d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
cc399081e9f39d6c3238791b7116e36de66e4ac7 |
|
26-Sep-2012 |
mindyp <mindyp@google.com> |
Make scrolling less janky Part of b/7188066 Gmail inbox list fling is jankier comparing to previous release reduces time for processing sender names that have html content from 5ms to < 2ms Change-Id: I85cac378b57d857bd01844e7731f1fc644e573a3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
beeec8d9688445b87ef4124e4fc5ccfe1c867574 |
|
24-Sep-2012 |
mindyp <mindyp@google.com> |
Num senders used can only be zero, so why divide at all? if we hit this case, just truncate Fixes b/7216813 Divide by zero from com.android.mail.browse.SendersView.handlePriority Change-Id: I95df14a05176d8e33af3e22c37195fb7a0fde3f3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
ae70f33c9db0e71e4ea67eaef892afb1546319a6 |
|
24-Aug-2012 |
mindyp <mindyp@google.com> |
fix message info when there are no senders but there is a draft. fixes b/7052115 odd senders display where then are no senders Change-Id: I06c114832e6ff419658a8d376fc042b4f9862c52
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
be95d004c24569a3cc8bb314997a94d5f8ab8b4f |
|
10-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Apparently there are some cases where this just goes off the edge. No idea why Fixes b/6963607 Gmail crashes when switching from personal to corp inbox Change-Id: I87b32219b9d8815717725d1bf947a04a87fed116
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
a3831fb1589226a14adc67657f16204718c8ac74 |
|
08-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE Bug: 6949444 Change-Id: Icdc44ebb7715053eed79e4daac923eb4cc705b62
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
feffa26a40e933ad0ff4700e2bf9e0555f0f8470 |
|
08-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Since its an arraylist, we need to just replace existing with nulls. Fixes b/6949402 gmail crashes on launc Change-Id: I7babea1f55a66940a1a8a3fee53f5a7798f97e9d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
93695575afcc16d6716c1ae71f1e6fdf38ab7092 |
|
03-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
fix "sending" text formatting Don't show a comma in from of "sending" unless we are showing a message or draft descriptive text (including just the word "draft") Change-Id: I4c451799421e043e5dbff7f5b39f71a2a0897f5a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
77d7f3c3c8c82048b51025428a825f6ac71e8560 |
|
03-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we update style spans for senders when there are config changes. Need to make sure to clear these static styles out and reset them based on new font sizes so accessiblity can enlarge the text. Keeping them static means we can reuse them with just a wrapper, which is a nice time saver. Change-Id: Ibb5a4082606c5ea5f511017ef981bf7c2be812c7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
b821e306583115e5fce8a8f0383019ae6268b1cc |
|
03-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Add sending state to the end of conversation list items if its set to sending. fixes b/6916537 messages that are sending don't show "sending" state Change-Id: I89ada52f0480275582940266a3ce3182fe634d5b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
05448212df93567d8ba222b792dd90fd2225fd3d |
|
02-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
More fixes for: b/6910770 track any incorrect senders formatting bugs In this case, found 2 conversations with issues 1) where the conv was from "mindy", had 2 messages, second was "unread" 2) dirk, ryosuke, john, dirk; last from DIRK was unread, but nothing was bolded Change-Id: I53c80fc56c0026f23fbf02d0dec6cbadd356605a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
0c2e567e792d557de1d80ef25f82aaf3c41c22b6 |
|
01-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure we use the proper spacing between count, senders. Also make sure we measure draft text with draft text styles! Fixes part of b/6910770 track any incorrect senders formatting bugs Change-Id: I632698a7937a8f1fd15a44e14aca4021938f5ce9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
c1e1fbb0be9fc60a141b8a5a067f4eed035989c1 |
|
01-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
More fixes for old-style senders. Correctly differentiate between old and new styles Make sure to clear sender fragments before remaking them as we are caching models. Change-Id: Iba3e5c86760744b912c5aa94131b2f5aa3feed04
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
6870ffca9ac04fee930ad56380eb1d214e5a9481 |
|
01-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
make sure old style senders have their resources, too. Change-Id: I9d09340e8780081d99bb8999f823db80d425ac2f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
172f56a81bba3b2589026c7cded795010e7678ad |
|
01-Aug-2012 |
Mindy Pereira <mindyp@google.com> |
Cleaner way to apply styles; make sure we know font sizes when measuring Use TextAppearance spans to style senders, draft, message info That way we have the sizes, font style, and colors up front Should help with b/6910770 track any incorrect senders formatting bug Change-Id: I4a0157e92a619c9394997fb49d5003dd8f4e1056
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
7fad2fda87f86692fcba1314f01b56265de67f2e |
|
31-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Remove merged formatting logic. No longer used. Change-Id: I0bb6266ca100e4023b4ba4f214cbc0cdb74fc818
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
5f424372f9a801120b5dc8d3f56e907baaa04e25 |
|
30-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Splitting strings == faster than json Cut the time to create Conversation() nearly in half Went from 43ms/per to 26ms/per Change-Id: I3353c5406ba40116ce2906376369acde8d30cb7d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.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/SendersView.java
|
d8e5ff44a8a7405bb8891fb46570782138babbd1 |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
De-dupe senders; show the second occurance of a sender. Change-Id: I78b558c0084e8d5edd6ba4b1bfd4ce6c3fff9a5a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
24538e893ef2db41a4c1b341f676b64422920304 |
|
27-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Get rid of hard coded comma Fixes b/5354473 Conversation header sender formatting should use resources Change-Id: Iefd40ce9c4f3e8ec55bc52c8334942be19696655
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
e58be741900d7f1fe0e4c7f6c5c8e1e304ba45f0 |
|
24-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Unencode html symbols in sender names. Change-Id: I6fdac49f3117908c6fa1635f81ab5f3d32ea0c01
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
54855addd3fae6c497971d77366eac7dc00d7b42 |
|
23-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Don't show 1 for 1 message Only show count if there are > 1 messages for a conv Change-Id: I12003eaa643342332abaa66ea93cf309e647fba0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
d97782206889a5508279b75cce19d7c0fb8a3bca |
|
23-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Gmail won't be providing first/firstunread/last snippet at this time;handle "me" Fall back to snippet from conversation When the sender is empty for a message, the sender is "me" Change-Id: Ia68ee623797b41456f152a683fcd601c429472d6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
6c2663dc9cade8aff34c462d244e3d72c475c664 |
|
21-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Update conversation read state on the ui side. Change-Id: I372464e23c39131b45c20ad8bd72ddd6207a1bb5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
58ef69ad99623fd8795a95227aa718d3d6177c5a |
|
20-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Render draft text, message count Change-Id: Ib5acdc80720bc84fa5d9961cc4c4ba2b6ef979ff
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
571de2212f311cc4a514ffa74e7585a2df1fb907 |
|
20-Jul-2012 |
Mindy Pereira <mindyp@google.com> |
Wire up mock provider testing. UnifiedEmail doesn't have the correct permissions to access Gmail accounts, so just load the mock accounts when building/ running the unifiedemail app Also, create mock conversationinfo's to test out ui side changes to sender formatting in the conversation list Change-Id: Iddaad001df8dd40a859c44a080cfe76d5077fa3d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.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/SendersView.java
|
a1512b60eb12f732ac249fe7fcdc4fec756ed147 |
|
11-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Escape formatting version for widget senders. Change-Id: Id03df2f61596cce854318e94d6d645ff241cee8b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
b9c036b36542924894f141e3ecd81381a12e94a9 |
|
10-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Provide formatting versions for senders. That way, Gmail can use its formatting, email can use CSV (default) and we can add another version when necessary. Change-Id: I088e99376d1fba7cebb2d6a8d260dd8a80c6cbdc
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|
8eb43be8074acb4e09da1385225fbb41c97b1bd5 |
|
09-Apr-2012 |
Mindy Pereira <mindyp@google.com> |
Make sure that we render conversation sender details. Change-Id: I5fffcf1b4abf6ee565d0d1db5520fd14dd6490be
/packages/apps/UnifiedEmail/src/com/android/mail/browse/SendersView.java
|