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/MessageHeaderView.java
|
c12da4a53eee911765975f0d8afe62f749806b60 |
|
25-Sep-2014 |
Jin Cao <jinyan@google.com> |
Prevent contact icons from cropping The main issue is caused by DecodeTask when the decoded bitmap is bigger than the desired size. In some situations, the algorithm will crop the decoded bitmap down to the desired size. Since the size returned from the API is always capped at 96px by 96px, we can just use that when building our bitmap buffer size so that DecodeTask will rarely (I say rarely because it's possible for the user to upload a 10px by 10px contact photo, but that is extremely rare considering how big 96x96 is) have to crop the resulting image when decoding. The destination (either ImageView or an image drawable) will then scale the image accordingly. I also noticed a LOT of overlap between AccountAvatarDrawable and ContactDrawable, so I refactored them into a common base class and allow child classes to override default drawable. b/17319292 Change-Id: I96b9fe39769e434fb45cebe11f9699d3259960df
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
d267498a916882165afb88e7e42cd898d5e748d0 |
|
05-Sep-2014 |
Régis Décamps <regisd@google.com> |
Allow LetterTileProvider to use a defined fontsize Also refactors the bitmap cropping into a circle from MessageHeaderView into BitmapUtil and makes NotificationUtils use that method as well. Bug: 16875798 SetupAddressesActivity: Show letter avatar if none Bug: 16378212 Draw letter tile for non-Gmail avatars in Account switcher Change-Id: I375990e3df331ff9952652d5f06a4f4f8d133e48
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
57f82d24a7f7105800eff71083e41db5b27ba183 |
|
09-Sep-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Return of the message-level stars. Fixes b/16563881 by enabling starring/unstarring via the message header overflow. Also restores the behavior where starred messages are expanded when you open the conversation. Fixes b/16349888 by turning off the conversation-level stars in CV. Also fixes b/17432202 where the message header overflow wasn't properly aligned with the action bar overflow. Also noticed a super-collapsed bug where we weren't properly resetting state on bind. Change-Id: I39d7ef7b49f13aad62895e743effe76c707510f0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
c0371f579ede0a524b2a140bf899c68548693496 |
|
28-Aug-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Include "bcc: " in recipient summary. b/17243353 Change-Id: I1717eaa96da58c9b0b055441945d879a1138fa5c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
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/MessageHeaderView.java
|
0eb990597f23e553343c7e432271645fa4c68db2 |
|
16-Jul-2014 |
Ray Chen <raychen@google.com> |
Merge "Delegate Account creation to builder class." into ub-mail-master
|
4b0c0127d24e387a4f49d442b63b5c60cedb6922 |
|
11-Jul-2014 |
Ray Chen <raychen@google.com> |
Delegate Account creation to builder class. Account contructors are no longer public and clients need to use Account.builder().buildFrom(...) instead. Change-Id: I8f072e893b49b64d962fa7a075e5c15364c4c05f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
605dcfcefab6b222db6178f9c64a9d7a1c464da9 |
|
03-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
super collapsed block b/15595931 Change-Id: I197cff27874feac2317603783c65388d12be8d48
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
928308d6b10d353493492ad05e0227f960ddaa7e |
|
02-Jul-2014 |
James Lemieux <jplemieux@google.com> |
Implement general layout and colors for Thread List items. This includes: - separating the subject and snippet lines - RTL support - new layout sizing (common to phone and tablet) - new font sizing - new colors - mirroring these changes in the widget version of Thread List Change-Id: I92fda7ca9936a8d7f96bc5f584a7a11e0e0fe72e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
58aea286155200751000d5ceefbfa3d6f55fe68d |
|
02-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix some UI nits in CV. b/15595931. Change-Id: I0156d2153a22e670ce789dd29520ea144fc12a88
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
de40dd3a292531c7dd8a5741eb0980f666a88b84 |
|
01-Jul-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Message header ui update. b/15595931 Change-Id: Ic3ce06409707e326e4dc2eef6bb8617f5f03d1b8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
fa501472f11a7f9b34d081a34e4d75d2c673cc8b |
|
23-Jun-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Remove message level stars. b/15595931 Also don't expand starred messages in conversation view. Change-Id: If6b499d12525bed00f7d8db0d2a8e80ba2afc226
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
59ccec3db4710f2aea6a4a9a30160ad19331367d |
|
19-Jun-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Remove borders/cards from conversation view. b/15595931 Change-Id: I51b5ce1d9387d6354d421b0e399a2003c6e84c54
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
8913ca6aebe6017efe8060b61b8ad38eda95aa8b |
|
15-May-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Allow alternate sources for contact images. Makes some classes that overridable in order to provide alternative implementations: ContactResolver, ContactResolverTask, ContactLoaderCallbacks, and ContactPhotoFetcher all can be subclassed to provide new behavior. Also added hooks in ControllableActivity and MailIntentService to override building these classes. NotificationUtils was also updated to force all calls through MailIntentService which can be overridden. Finally, moved the BitmapCache used in conversation list to the activity level instead of at AnimatedAdapter-level (which is effectively fragment level). This speeds up subsequent queries for images dramatically. We reset the cache when changing accounts. b/11387812. Change-Id: Ie70d800862b073163ccbfa5295d6950e57d64009
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
a839fd0af18f53574128e32dc0900339280fba05 |
|
22-Apr-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Revert the CLs that updated the message headers. Revert "Remove padding for message details. b/13329913." This reverts commit 42c39c4026970508a536099085d5155196bbee42. Revert "Fix UI issues caused by new attachment asset." This reverts commit b6a6a5c2cd6d8b07e93c07b8a2cafa2276d9bec7. Revert "Redesign of message headers. b/12933316." This reverts commit 2ed8c0409cd7d8e64c58ada6f63a519517ddaf7d. Revert "Ensure expanded details always shows. b/13348592." This reverts commit bac524cc0575ff3cf54aa93247bf33c06edcdd9d. Change-Id: I1d70329504dd788e4b2879137bae43eb4c4167fe
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
b1f7786d52e34485d6c9f1fe50c2aa6fc38ad90b |
|
24-Apr-2014 |
James Lemieux <jplemieux@google.com> |
Merge "Gmail does not display inline attachments nor does it offer "Show pictures" within the EML viewer" into ub-mail-master
|
8e1ffbf042a23824a97a9f47cfc81cf6f14603be |
|
23-Apr-2014 |
James Lemieux <jplemieux@google.com> |
Gmail does not display inline attachments nor does it offer "Show pictures" within the EML viewer b/13912473 The Eml viewer (and indeed all Secure Conversation Views) now offers "Show Pictures" to display the inline images. Those inline attachments are also displayed as tiles at the bottom of the Secure Conversation View so that interaction with them is possible. Change-Id: Ida66820c98c88b222e459aa9d2559383a3b608a0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
6ecd041cf979c95b92e41957b88bdaa26d679309 |
|
24-Apr-2014 |
Scott Kennedy <skennedy@google.com> |
Remove dead code Change-Id: I0dc0b7e62c5653107879bab6e3f60603416db3b0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
dd3e80d1aae8dad3b92e6184528aff89d7380dbe |
|
23-Apr-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix b/13624037. Restore adding unknown contacts. Change-Id: Iff5596626b33342409624d24d44089934c86ae0e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
82bb8d280b0d8cdd3b4777006b18715b17bc306a |
|
17-Apr-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Add analytics for toggling message details. b/13172001 Change-Id: I18f19043132aee8b3f3a3c3d82f9094ec62d4750
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
bac524cc0575ff3cf54aa93247bf33c06edcdd9d |
|
05-Apr-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Ensure expanded details always shows. b/13348592. Need to all requestLayout when we toggle. Change-Id: I2801d17ff2dd3ea11dfc12454c07c89198291d44
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
0653f9f2cf6424bbd274a2016b8d72d5431f2125 |
|
03-Apr-2014 |
James Lemieux <jplemieux@google.com> |
am 10ea28ab: Show "To:<Names>" in sent and outbox index views * commit '10ea28ab588d8e922c0f78f0f47fe479739ec2cf': Show "To:<Names>" in sent and outbox index views
|
3b05815c69c01526d80ccbfc3f0e4abc61cd2e12 |
|
01-Apr-2014 |
Jin Cao <jinyan@google.com> |
De-duplicate header on name/addr conflict Only show the formatted address if the resulting address and name are the same. This prevents names that are email addresses being shown as linkified in the expanded header view. b/13733037 Change-Id: I7dc9143372fdbe4acce83307c6aa8e6db5026df1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
f59d01c3116dc2adde97a5b52aa6094144c2d315 |
|
20-Feb-2014 |
Andrew Sapperstein <asapperstein@google.com> |
View entire message UI. We need the per-message plid server support, but we are forwarding the clipped bit to the UI and showing a button based on that bit. Clicking that bit will open the plid viewer for gmail. Email should be unaffected as it does not ever return clipped as true. b/2887917. Change-Id: Iddb54e37cf650ca16a75fcbe69f1861becdd81b9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2ed8c0409cd7d8e64c58ada6f63a519517ddaf7d |
|
28-Feb-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Redesign of message headers. b/12933316. Pixel perfect. Re-architected a bunch of the layouts. Revised some of the string building for the new formatting. Removed unneeded references to some Views. Fixed a visual nit in SecureConversationView with the snap header. Removed a bunch of unnecessary BidiFormatter uses. Deleted dead assets. Removed padding around attachment icon and thus revised the margin/padding for it for both conversation list and conversation view. Aligned star when collapsed to top of date. Change-Id: I4b1fae35206e1f4713687c44a1c226e1257b13e4
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
26a20758413f0f8629ea71a0943304e3ae740165 |
|
01-Mar-2014 |
Tony Mantler <nicoya@google.com> |
Get rid of Account#name b/13249115 Change-Id: I5478b139cba9e3e37924c3af1c7a4f818a803fa3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2a757d7b27ff54e49307316c8a993100a99fd527 |
|
04-Feb-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix Email crash on rotation. b/12885310. Change-Id: Id4eae8d284f60f75420d2907918621d3602f91e9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e2c36b0565d19806fe941496299b3a4f3fca4295 |
|
04-Feb-2014 |
Scott Kennedy <skennedy@google.com> |
Fix a NPE Change-Id: I0d6f5771f8879644b4ed4b6e31995f1150ca930f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
c00709ba11f83afa950832c18a0261d6e77ee668 |
|
31-Jan-2014 |
Tony Mantler <nicoya@google.com> |
Line length Change-Id: Ic5cac9f5410bf76fbc50329d6f1eaaf5b7c010c6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f55d4c8f31c0dafd0b16cba94e2ecd29d003864c |
|
31-Jan-2014 |
Tony Mantler <nicoya@google.com> |
Null check adapter before grabbing bidi formatter b/12807578 Change-Id: I0c3d9b4cfc312f517fb2da10cc5220139d69052f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2fd167d6131482da984768b5ee75cefa32ed3e32 |
|
28-Jan-2014 |
Andrew Sapperstein <asapperstein@google.com> |
RTL - conversation view fixes. b/12681840 - Properly align attachment details. b/12681242 - Message header expanded details are locale aligned. b/12681528 - Message header title and snippet are locale aligned. b/11989230 - Set each overlay view's layout direction. The first three bugs were fixed by adding unicode wrapping to a bunch of fields. The final bug was slightly more complex. In some scenarios, the overlay views's layout direction was not properly resolved. But it should always be the same as its parent so we forcibly do it now when adding new views. Change-Id: I9e065e0deaf1958ee87d098231238f6d976e9e68
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
821e578a71c7015646522e729600618f0ec16fc0 |
|
07-Jan-2014 |
Tony Mantler <nicoya@google.com> |
Deduplicate Address class Change-Id: I4f6df51f5641475ffaf96b0189ccc00748880cc0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
9261dd632bf81395e967b15bb1c71d0bb0df6b0e |
|
08-Jan-2014 |
Andrew Sapperstein <asapperstein@google.com> |
Fix MessageHeaderView NPEs. Fixes b/12439154. Eml viewer will leave some fields empty that MessageHeaderView previously choked on. Now that's no longer true. Change-Id: Icf83f134ee9ccc781a32006c7c4ac3832580df2a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
b7eac4739e2180b68d5d428438393581a3b5cfa7 |
|
07-Dec-2013 |
Martin Hibdon <mhibdon@google.com> |
Update date format This is according to the new android date format rules. Change-Id: I3d6ca4579ddd3ecb63a6f67e88fb00545fe0ffaa
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
3034f4449c52e30d285303c6c251b8ba24170fc7 |
|
26-Nov-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Show message details inline, not in popup. Fixes b/11576631. Code deletion CL is best CL. Change-Id: I22b10b7078a4a8ae89fa3e7667d5dae191ad6f5f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e6c9fb6835247d98898e2af581ad9449ad7f3184 |
|
15-Nov-2013 |
Andy Huang <ath@google.com> |
misc analytics * lots of new menu items * log auto-advance setting * log message header taps * log photo-viewer menu items * log conversation views (including enclosing label, synced state, message count) * log folder views (including bucketed total counts) * log pager swipes (including folder type) Bug: 11253673 Change-Id: Iffdcbf19b202fbb3b6b33e0f7f0e9e4c24fa948d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f323c046034b4658a80438575d8e9f01d92e57e6 |
|
30-Oct-2013 |
Alice Yang <alice@google.com> |
Use server prefs for show images setting - Change setting from a checkbox to list pref (popup) - Use synced preference "bx_eid" for whether to always show images setting, in order for UnifiedEmail to read this pref, it's added to the account's Setting field - Dismissing the teaser now sets "bx_eidps" pref which gets synced to the server (once server changes are in) Bug 11158252 Change-Id: Ibd28690ccd95e0bdd399aaad9c9e205968a0ef39
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
a467d40eeb9c598fc6d7cb2dbafa2a331292d23e |
|
16-Oct-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Clean up SnapHeader interface & remove ad border. b/11132059 Change-Id: I509263f27fe904353cd608989c173510a2ef1462
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
85ea6188b3c62ede2eb0427379f050717f79562c |
|
15-Oct-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Abstracted out snap headers for ads UI refresh. b/11132059 Rather than directly including the snap header in conversation_view, we inflate it at runtime via an override-able method in ConversationViewFragment. Change-Id: Icaec39f6461313a894eef5506448b3f7513df044
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
562c5ba7235948cf1d20a9afa40e67cd62f43cf7 |
|
10-Oct-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Print single message and offscreen webview. b/10712542. Also supports Eml printing and secure printing (though that's email only and has some buggy rendering). Also fixes the no subject crash. b/11136365 Change-Id: Ie5f6e7d7e1762c115df3169b6e62dc439545f08c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
6293ef09d934e191148279a72036f927366f82f0 |
|
08-Oct-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Printing: support tablet message header overflow. b/10712542 Adds new behavior for v19 devices, both phone and tablet. On phone, new printing option in MessageHeaderView overflow menu. On tablet, new printing option in same place but since we now have an overflow, we use the reply/reply all setting to show only one of reply/reply all on tablet as well. As a result, we also changed the string for that setting for v19 tablets. Change-Id: I71db88ce4a50479b03775b9d50d65e3626231589
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e8221483ce5f013f02a4ef63d6682cc36313cda7 |
|
03-Oct-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Show images by default. b/11044804. Needs final UX on preference placement and strings but otherwise, it works on Gmail. It's off and the setting is hidden in Email. Currently a checkbox preference. Change-Id: I97ce4361e9093e5ce7b3300205cba8f58e27b3d6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
5c1692a5faeab220881a17a3427a8986ef874403 |
|
16-Sep-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Initial printing support. Needs mocks and redlines and such. b/10712542 TODO: Logos for Email and Gmail. Attachment support. Use offscreen webview. Secure conversation view support. Change-Id: Iec37a9a46e506ccf12fbbb775c1b47b08a0d9724
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
31b828da09beb6ef3d8ffaf4a72bf80dc4030b62 |
|
30-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Show date in expanded header. b/10564577. Change-Id: I8d59f361be68a0e7beda1584d1fd4bcdb6387959
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2862cba002c7805a8f8e28146c6d5504831dcec7 |
|
29-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Add white background to message details header. I want to revert this change. Change-Id: I0153e7851908b183aa68b95aad23e7aa584c3aa2
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
968e014c857439de821cf2590ec6aa44363352d0 |
|
22-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Rebind MessageHeaderView if on-screen. Fixes b/10413376. Previously, if the MessageHeaderView was on screen while its snap header was tapped (to collapse it), it would not be updated with its new state (since they were two separate views). The rebind takes care of this. Change-Id: I5a24338b52e1d0f220a02f8e1ebc92b53814d16c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
978ed3bb6127784bcb833b5222385b1ddd156a9f |
|
20-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Remove presence from conversation view. Fixes b/9892710 by removing presence indicators. Huzzah. Change-Id: I9f6ae5254ab624eeb9ffcb61ad7d47c5649d66e6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
ce03eaa2663f543bbd49819515a5835dfb4ea77e |
|
17-Aug-2013 |
Alice Yang <alice@google.com> |
Disable "Looks good/bad" Change-Id: I031c7eef0525ff8b4442b863c5dacbe6f7d13f61
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e2ea40f7a718ab372bc160de0a2798963b166ec2 |
|
02-Aug-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Merge "Conversation UI Visual Refresh: border fixes." into jb-ub-mail-ur10
|
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/browse/MessageHeaderView.java
|
2b9d80eb16156173f11a02eae4f770d8c975927c |
|
31-Jul-2013 |
Scott Kennedy <skennedy@google.com> |
Change all resid switches to if-elseif-else I really want to get this building in an IDE. As per http://tools.android.com/tips/non-constant-fields, library projects (like UnifiedEmail will be) have non-final R constants. They are not final until packaged into the main application project's (Gmail/Email)'s R.java. As such, they cannot be used in switch case statements, and we must use if-elseif-elseif-elseif-...-else instead. "This is typically in UI code and the performance impact is negligible." Change-Id: Ie699c13e1becd51c59c1b2ea81bc902d4f2e28d9
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
ef8d379fa5a6dadf0602159d3aa3f498327adde7 |
|
27-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Align all name/email address pairs. In message details header, we now align all of the sender name/email addresses. Change-Id: I4439b1296e8737d6411164799015c70ad0930a80
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
14f937408fe2451a91b44d3cd7d141347e716775 |
|
25-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation View UI Refresh: Cards. Lots of changes: New show pictures asset. Added border as a new view type in the conversation view to vertically separate cards. Changing its size is TBD. Final UI for details header (both collapsed and expanded). Side borders are accomplished via a new overlay layer that is positions a view to each side of the conversation view. Lots of dimension changes, padding and margin changes, and other pixelpushing. Change-Id: I4029ae46896e27fe20b005c01b8df04bb2a46c2a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
21a6ed2bdd46ccfdf9aa3e8aecd4cb1af6c2539f |
|
18-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Use DialogFragment for message details popup. Fixes b/9888950. Change-Id: Id6cc2b998aad8193adc04cd48bcf0f5ed2bdef76
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
3de76eca03ed7ec1d40f2cce23cbbbe8e5e6d70f |
|
16-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation View UI Refresh: links w/o underline. Using a custom span that disables underlining of email addresses. Additionally, uses a custom onClick that opens ComposeActivity with the currently selected account. Still uses autolink, and just replaces the URLSpans with a custom replacement. Change-Id: I30f98e124dddc4b732c7e188102928a88dbf222f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
6a187d5113518435d13c60e2f1cabc418238c600 |
|
13-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation View UI Refresh: More message header. Added strokes to aid in visual separation. Will change some more. Also lots of changes to the expanded message details header. Still need to update the link style. Change-Id: Id6c258f7c9d2a902cdee791812f4a7fc6334ccd3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
35c3bb793ac3ea8f63ff73d282c0dabfee5a49ce |
|
11-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation View UI Refresh: more message header. Revised design of the upper header. Some work on the expanded and collapsed details header and the other sub-headers. Still needs some UI resolution before this can be finished. Change-Id: I925e3b50f06519fbe41ffe7470e2fbfa50e337c7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
5fbc58bc22df9642385e35da34f0ba8e218620b4 |
|
10-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Fix bug where some sender tiles were not showing. Change-Id: If56b1e42e87ee8fed1650b6cb4b49144f91e0a66
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
c5499cdd4627df39b935c3569c2b8e6e4b6ed38e |
|
04-Jul-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Conversation View UI Refresh Message Headers. Still need to do the new snap header spec and the icons are a bit too small, but it's a good start. Change-Id: I0e2e622a1100c96dab022fd3836bc6666d6330cd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.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/MessageHeaderView.java
|
4ddda2f0a4ee5381a90779a6939b05b064ce5d11 |
|
10-Jun-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Working implementation of eml viewer. Everything works except attachments. The implementation uses a controller that is used by both SecureConversationViewFragment and the new EmlMessageViewFragment to do the rendering work. Change-Id: I4d8b9b56e6609c3a81b902b102a90f1e50c115cd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
8812d3c50e35c4f2a02d29c35c76082c4ebec0cd |
|
05-Jun-2013 |
Andrew Sapperstein <asapperstein@google.com> |
Refactor ConversationMessage out of MessageCursor. Just moved the static final inner class to its own file and fixed up the imports. Also moved the MimeMessage parsing into Message instead of in ConversationMessage. Change-Id: Ic35d4cf5e52b392d68898ff47efaeeee4d0865b0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
543e709c976ce954a072020ba6f75d12f41b1fba |
|
22-Apr-2013 |
Andy Huang <ath@google.com> |
Fix table-layout emails, blacklist transforms by sender domain Fix Twitter emails by overriding any 'table-layout' style when overriding table width to 'auto'. Add infrastructure to blacklist transforms by sender domain. Not actually used yet, because the Twitter email fix above is more generally useful and doesn't need to be special-cased. Bug: 8403536 Bug: 8685326 Change-Id: I9e72e8e6336c138674839724df57eef1f86a2d9b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
75b52a50a7b8382d9046d48ea8cda97b5471cbc8 |
|
15-Mar-2013 |
Andy Huang <ath@google.com> |
hide rendering reporting in Email2 Change-Id: I6fc750a0369a9396fc00f4e5fe4ffac61831d5b4
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
1ebc2db723ed29093d724eb5da906a496ee57224 |
|
15-Mar-2013 |
Alice Yang <alice@google.com> |
Add way to report good/bad emails. Added option in overflow menu to report an email as good/bad. Currently forwards to the mailing list and prepopulate the compose text with debug info. Change-Id: Ieb468d8a13dc929dff808a3020f3d52ae7f85b07
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2b7bbb53344b1e2c1d970a8da051a7431565db1f |
|
27-Feb-2013 |
Rohan Shah <shahrk@google.com> |
Switched alert dialog to context menu for long press on message header Originally, long clicking on the upper message header led to the creation of an alert dialog that would display the copy email address option. The issues with that were not limited to improper truncation and poor UI choice. The change borrows from WebViewContextMenu to create a context menu on long pressing on the message header when that message is expanded. The options present for the new popup are copy and send mail to address. Note, I will be fixing the chips side as well. Bug: 8254505 Change-Id: Ia2eb0759e14f8b800324f96f7e0df27cff1d6f77
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
4faa8e36d39a6d50bf8d8d2cfcb2cc9ab33efd2e |
|
07-Feb-2013 |
Scott Kennedy <skennedy@google.com> |
Merge "Start showing "from" in message details under header" into jb-ub-mail-ur8
|
8ba9791f38f1433db4a4ade5ebbf706dae77c0ff |
|
06-Feb-2013 |
Rohan Shah <shahrk@google.com> |
Create Message Dialog upon long pressing the MessageHeader When you're attempting to check and copy a sender's email address, you should not have to remember or type out that person's entire address. One way to approach this problem is to add in a dialog that allows for an easy way to copy the email address. Upon some user action, the dialog can then pop up for the user to copy the sender's email address. In this case, the user action will be a long press on the message upper header in a Conversation View, such that a dialog with the correct sender's email shows up (Unique to each message in the conversation). The long press, however, will not affect conversations that are collapsed i.e. the message header was tapped and the message is not visible. Bug:8142748 Change-Id: I0c736d89e6b1183ea46d852fd8574125931081ed
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
0a1720ece123f882edda14d1262fd58da73f7c77 |
|
05-Feb-2013 |
Rohan Shah <shahrk@google.com> |
Start showing "from" in message details under header When looking at a message in a conversation, the user is unable to quickly copy the sender's email - especially when it is a long email address/unknown contact. A possible way to fix this is to always display the "From" subject/email address. This will allow for users to long press on the text in order to copy as much as is required (From both the name/email). Changes viaDomain boolean logic in order to always display "from" between the "date" and "reply-to" rows in the message detail. Bug:8142748 Look for ways to copy sender email address in conversation view by long pressing on message details to copy text Change-Id: I0da55258186d6b73d59d22cd07c96a7f95887b73
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
7faa4d0a0ee25200f4fdc6dee30bb98b8e18b24a |
|
15-Jan-2013 |
Vikram Aggarwal <viki@google.com> |
Support veiled addresses in collapsed view Change-Id: Ib807231d71cf09889d497ca0e0432ecdcf7f16c6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
69a6cdff8afde77ec9bcd75a5651ee212344019e |
|
09-Jan-2013 |
Vikram Aggarwal <viki@google.com> |
Allow veiled address pattern to be updated through settings Change-Id: Ibbd412308283fd2c0cae0abbec0a43be1db1b3ad
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
a8dc86faac4d1ac07901be75dc92b7a877ca46ff |
|
08-Jan-2013 |
Vikram Aggarwal <viki@google.com> |
First cut of veiled addresses in mail The feature is currently disabled, and there should be no performance impact while it is disabled. Change-Id: I57947ce4dc1ea8c6019e3df15a6754f59ee405f6
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
eb9a4bdc53269ee05fe11870b9ebf03f18196585 |
|
12-Nov-2012 |
Scott Kennedy <skennedy@google.com> |
Fix always show pictures for multi-message thread The always allow pictures button only affects a single message in the thread, so we need to propogate it to all other messages from the same sender. Bug: 7346217 Change-Id: I722ef284afd7b8853ddab622f54b86ebaaa5d463
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
02133aa80d4ff68739a8b8c6f4cc00150a3cfc80 |
|
09-Nov-2012 |
Andy Huang <ath@google.com> |
fix starring after rotation Starring a message depended on having a working ConversationController. But while rotation retains the Loader/Cursor/Messages, it makes the controller (actually a Fragment) useless because a new one is made. So have onLoadFinished ALWAYS update the Cursor's controller to point to the current Fragment before using it. Similarly, it isn't great that the Cursor points to a Conversation, which may be old after rotation. That one is less bad, since a Conversation is relatively static, but everybody should be on the same page after rotation, so stop caching internal Conversation references in the Message/Cursor/Loader. No null checks on conversation/controller get(), because they really should never be null on access. NPE is as good as anything to catch these cases. Bug: 7295695 Change-Id: I949f53779afc820eae0f05da4618e570db381942
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
470aa42b2b33d3ec5cdffa967d47e7a7b4b7209a |
|
09-Nov-2012 |
Andy Huang <ath@google.com> |
fix "show pictures" button state after the view is recycled Make sure to update the adapter item so the next time a view is bound, it restores the button state to "always show". Bug: 7507503 Change-Id: Iaad869f4ff8b15321639f2e2c809118aae6c09f4
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
289b45a2672e3837adf0c40ccf27f879f5aa28e6 |
|
08-Nov-2012 |
Scott Kennedy <skennedy@google.com> |
Merge "Store the "Show pictures" state on rotation" into jb-ub-mail
|
8960f0af431bc164003e09b3c8981aab808d9ec1 |
|
08-Nov-2012 |
Scott Kennedy <skennedy@google.com> |
Maintain to/cc/bcc state on rotation The tokenized string was never updated after being initially set, even if the backing values changed. Additionally, the to/cc/bcc values were never updated once the Message was initially created. Bug: 7490394 Change-Id: Iae1c8ae88f9ab5b8e2e7fe10835587b61decf0c8
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
8f1877832b0f3bc55e6d63ccf70dfae7dd8328c9 |
|
07-Nov-2012 |
Andy Huang <ath@google.com> |
wire up snap headers pref Have conversation view read the initial value upon view creation and update the value in ConversationContainer via dataset change, which is triggered by account change (which is triggered by settings change!). Bug: 7217360 Change-Id: I55ac947dea692af6ad32995d0970c69dbdf5c2ef
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/browse/MessageHeaderView.java
|
4baafcbb39e20a81a1585270fc270a560ec8824d |
|
02-Nov-2012 |
Andy Huang <ath@google.com> |
add sanity checks when updating snap header in-place If snap index points to a collapsed header, mSnapHeader will be unbound. It's invalid to ask the snap header to refresh in this state, so only refresh if it is bound to an affected item. In practice, this really doesn't happen much, because you'd have to send a message, collapse it, then scroll down far enough (perhaps you send another message) so the sending collapsed header intersects the scroll top. Prevent header view rendering on null for good measure. Bug: 7459484 Change-Id: I3bf4af97102a0f6b1af5405ffdac72f26e5c7620
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
6b3d0d9ab407c3d8b6bcb73bddbfd23f2513bb83 |
|
30-Oct-2012 |
Andy Huang <ath@google.com> |
update header sending status in-place (more so) Previously, an in-place header update avoided a WebView re-render, but did re-render all overlays. This is normally imperceptible, but thumbnail views flicker as they are rendered. Since only a couple of overlay views are truly affected by sender updates, update those views in-place when they are present. This is only supported on MessageHeaderViews for now. Bug: 7434748 Change-Id: Ifdebea1410dadfceefae52d406891b5383e9ab15
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2a1e8e30bdd02dc08bdf2f878201b279f60d5142 |
|
24-Oct-2012 |
Andy Huang <ath@google.com> |
show "Sending..." in an outgoing message header until sent It mostly just wasn't wired up to Message.isSending. CVF.processInPlaceUpdates() now looks for sending state changes and causes affected overlays to re-render. "Sending..." changes also apply to the snap header, so I improved how data changes generally propagate to the snap header. Instead of manually prodding the snap header upon a change, fix it so dataset changes on the adapter also unbind the snap header view (to stay consistent w/ non-snap views). The positioning pass that immediately follows will re-render it. Bug: 7229688 Change-Id: I72930bfa7ec20788c3e4de67f4b6856a7e6a0bf7
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
0a135884c7452225bc0c86c5f768d581c0ce6c04 |
|
17-Oct-2012 |
Mark Wei <markwei@google.com> |
Hide Stars in Trash. Bug: 6516160 Change-Id: I9f4fd099971c696379532f6b9654582fdeb8556a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
0a648c9b8f9d02f89e8711e97215b0e30f2cf0b6 |
|
02-Oct-2012 |
Andy Huang <ath@google.com> |
Apply snap header overlap as layout offset, not draw offset Using a homebrewed draw transformation alone doesn't transform event dispatching. Oops. Bug: 7256664 Change-Id: I2404e3b965e5291990beaf1d3e67957b4a8f104e
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
1b3cc47f54072105c161d6ed557550e0e149b8bb |
|
27-Sep-2012 |
mindyp <mindyp@google.com> |
much better reaction to opening/ closing details for a message after zooming when the user taps show / hide details, scroll the webview up (show) or down (hide) enough to compensate for the difference in header height. fixes b/6319197 After pinch zooming, expanding the message details causes the message headers to jump Change-Id: I64ced1b9a1d411fa0fa34a179f2ae629fc993088
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
014ea4c15d147794789b9c5bf4e243fa08781ad9 |
|
25-Sep-2012 |
Andy Huang <ath@google.com> |
handle sender/body changes in-place Sending a new message updates sender string (for custom froms and such) and the body (for elided text), after the message is sent and synced. Avoid conversation view flashing (re-render) in those cases by applying the changes in-place. Sender string changes will update all dependent adapter items, and a dataset change on the adapter re-renders all overlay views. Body changes are handled by sending affected IDs to JS so it can request individual message bodies. Quoted text collapsing is then re-applied on each new body. Bug: 7183109 Change-Id: I630187c276ffc63448e6b457c9cd02afd452c438
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
63f9b48ee0d54faf9ddc802e4582b7e499d87e04 |
|
20-Sep-2012 |
Paul Westbrook <pwestbro@google.com> |
Fix Crash when reexpanding message details Bug: 7201975 Change-Id: I7be973a8b8ff61db3b2f90c2151b34f0af29f255
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
77a4605e6fbc368b2b87b4888f2ffd6329620807 |
|
18-Sep-2012 |
mindyp <mindyp@google.com> |
Show message details in a popup window for secure conversaton view. Fixes b/7056611 Alternative design to expand/collapse message details in Email2 Change-Id: I557b661798f78e957c7973dd3df593d3bd65e45a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
48c25b33e76f9f763f25852ee960acf21ce5bdd5 |
|
17-Sep-2012 |
mindyp <mindyp@google.com> |
Add pishable title bar to secure conversation view. Change-Id: I6e50f04813f9521d0da541ac5046012ae6e7162b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f4fce1227d8b49f45e6569f1590565f2df9e8d6e |
|
15-Sep-2012 |
mindyp <mindyp@google.com> |
Stripped down view for email that uses no javascript. TODO: push message header off the top of the screen like browser url bar TODO: use spinner in the secureconversationviewfragment while waiting for the page to load; should be able to push logic to the AbstractConversationViewFragment fixees b/6383847 Implement secure/sanitized conversation view for unsanitized message content from IMAP and POP servers Change-Id: I03299a2d193ad1dc8fb5cc509eaf5d9f3dae6b0f
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
1dc5753d6d55bc45123c94a2f0696e600d86208b |
|
13-Sep-2012 |
Mark Wei <markwei@google.com> |
Fix when pinch to zoom on a wide message displays part of the message on the sides of the snappy header Bug: 7153691 Change-Id: I9b4d111b04ffdac0aeb636c9746817082cd78638
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f69a05bc8aabf7d3ae37b1f7ba76ac0a5eeb252d |
|
08-Sep-2012 |
mindyp <mindyp@google.com> |
Make it possible to collapse a message by tapping on the snappy header. Change-Id: Ibe9215afc9485159d4cebc55495d28a53d23b44d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e952353a26db3e2e6e422072daf2213e5f7b9f82 |
|
27-Aug-2012 |
Andy Huang <ath@google.com> |
fix NPE from a click on unbound header view Bug: 7060948 Change-Id: I73e9023773193880618390c8ab40414ff79a24b3
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
28b7aee7fa1f7d096d33fc823a88a64f7a3fa79d |
|
21-Aug-2012 |
Andy Huang <ath@google.com> |
update conversation view on reply-all setting change Use existing adapter's dataset change signal-- dump overlays and re-render. Begin to assume that Settings always hangs off Account. Bug: 6245217 Change-Id: I70f98f641eee6d193f9842a578a889197f650941
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
31c38a8247b4583ac1cc506acf8454d8922ee491 |
|
16-Aug-2012 |
Andy Huang <ath@google.com> |
animate snap header away Change-Id: I8978cb80bd7a6c0f637a240c8b4137e5c7e61528
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
59e0b18db1bd06cfb74693d7dbb0cb48112a69b1 |
|
14-Aug-2012 |
Andy Huang <ath@google.com> |
snap headers Low-speed obscuring of snap header not yet implemented. Change-Id: I23bcf61a8de6d9d719d40a6b65009c7711ef0e19
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
e805ab4b4e4dcdfc21dd58d4341ec226bf70b65d |
|
10-Aug-2012 |
Andy Huang <ath@google.com> |
handle null message snippets Bug: 6963189 Change-Id: Ie3dbeda620349346989064965ed4c6114c2736e5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/browse/MessageHeaderView.java
|
b8331b4565566ca733997398e8c07a26cd2bee98 |
|
17-Jul-2012 |
Andy Huang <ath@google.com> |
wire up Quick Contacts Also generalized telling header items whether or not a bind is only for the sake of height measurement. Bug: 6373134 Change-Id: I759e4fd95dca874b29a7e3b392ee83f7e7e6f760
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
d5b369b324a22d28b63def902eefaf6591edf004 |
|
13-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Added the via domain to the UI. When the via domain exists and the message is expanded, the message subtitle shows "via blah.com" instead of the normal address. Additionally, if the via domain exists and the message details is expanded, a from row appears that shows the full name, address, and via domain. This row only appears if there is a via domain. Change-Id: Ic39d7d90d72592e300fc6d6144e62e4b08db3b91
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
3b08c51ec46794b3c22c8649eb86bf77c72e0d9a |
|
12-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Spam warnings now show in the UI. Based upon the specific attributes of the message, various different UI options are set for the warning. Change-Id: Ifc49ab122c453dde0464ae516c3cfa443d92c21d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
b334c9035e9b7a38766bb66c29da2208525d1e11 |
|
25-Jun-2012 |
Paul Westbrook <pwestbro@google.com> |
Changes to support different Log tags Change-Id: I7121fbf7132444fc0f5c0c130373e3f2d1a3cf7a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
a71f1f3368f26b6627512298f64484611fd6b0e8 |
|
25-Apr-2012 |
Andy Huang <ath@google.com> |
calendar invite UI The actual UI is a bit of a placeholder, as the old UI didn't match desired specs either. Bug: 5011918 Change-Id: Idd8a845f6840ba4d96adfc05c8142e6c5c1d04a1
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
65fe28fa88daad08f3be4c084ca5b4eaa366d1a7 |
|
07-Apr-2012 |
Andy Huang <ath@google.com> |
optimize low-hanging fruit found using traceview * View.getTag/setTag is a slow way of finding an overlay view; switch to a SparseArray * this also obsoletes mChildrenToRemove since we can immediately remove overlays from the SparseArray * bring back the Email Address cache to avoid repeated parsing * avoid repeatedly calling findViewById for each header * cache expensive timestamps and recipient summary strings Change-Id: Ic76265848e4956a28a44c4a2e3e726ec9ef6bfaf
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
9f369596f1dc59184cdabe683c2ebfc19ead4f83 |
|
06-Apr-2012 |
Andy Huang <ath@google.com> |
fix expanded message details appearing above the message header Updated to handle inflation in any order, as can happen when you recycle previously collapsed headers. Change-Id: I7d58c26513b7634f9e3400b0b0ef63f87be2310d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
c7543579c6a97c0ae3341578332f56d4d226f34c |
|
04-Apr-2012 |
Andy Huang <ath@google.com> |
support message header collapsing * toggle header collapse/expand * initially render read messages collapsed * collapse removes attachments footer and stops loader * expand creates/reuses attachments footer, but ONLY if visible * can (mostly) expand/collapse details * can expand/collapse quoted text * add lots of logging (disabled during scrolling!) to catch strange layouts Change-Id: I73f533c91d24ef1c05919d0a3b396f276898107a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f0e95c3e49c8a12009dd138d3985f5e9fb8f2754 |
|
03-Apr-2012 |
Andy Huang <ath@google.com> |
bottom-aligned attachments Refactor attachment view logic out of MessageHeaderView into its own view class, paired with MessageFooterItem. Change-Id: Ic6539f52d53be0e2d23144abec1baffb9368f8cd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
7bdc3750454efe59617b7df945eadd7e59bee954 |
|
26-Mar-2012 |
Andy Huang <ath@google.com> |
building blocks for bottom-aligned attachments Attachment overlays now warrant their own adapter entries, because they are no longer attached to each message header. So since cursor items no longer map 1:1 to adapter items, add a new specialized adapter to house different kinds of scrolling overlay views. This support is also needed for super-collapsed blocks. The adapter is also an ideal place to store transient render state like 'expanded' and 'show pics', as each ConversationItem can manage its own state instead of having the fragment do it. And view recycling requires that the adapter remember item state as you scroll around anyway. Next CL will actually separate attachment views and logic out of MessageHeaderView. Change-Id: Ibc589915f01ada0d9a41d8968a0ee63be6030449
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
2405528bb15245f594277fe7b6efacd6a18ce69e |
|
28-Mar-2012 |
Andy Huang <ath@google.com> |
measure header heights when generating HTML Size the header spacers properly depending on the message. Messages with attachments have taller headers. Bug: 6237871 Change-Id: I502bb870ebfe4d2d776819a5fe83e34f05e3cdf5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
bec5115726f24733a0a1577caaf05fb6e9ef9c6f |
|
23-Mar-2012 |
Marc Blank <mblank@google.com> |
ConversationView -> ConversationList starring * Star/unstar in the conversation view is now reflected instantly in the conversation list Change-Id: I0dade26726bec96610b4c30dded19d36c9dbe439
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
d8e249ee7abb0e1ad24e17e4e299736d4a150936 |
|
22-Mar-2012 |
Andy Huang <ath@google.com> |
implement star/unstar on a message Switch to separate read/starred flags to avoid committing stale flag values. Change-Id: Ib9f37ba3821f1e67675a803bce7739c64b8f628b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
3233bff8ae08a56543c9f5abf1bc6ab38f0574ce |
|
21-Mar-2012 |
Andy Huang <ath@google.com> |
hook up 'show pictures' button Add 'show pictures' button for messages where the provider claims it embeds external resources. In Gmail, this is true when a message contains external image hotlinks. Inline image attachments are not yet handled. 'always show' tells the provider to whitelist the message sender to allow images in the future (works with Gmail provider). Change-Id: I1b174d8fad9da481ec305caff06d109f9d215093
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
bb87b7fa57f25fc9cee1f572dd253f33f58f81da |
|
21-Mar-2012 |
Paul Westbrook <pwestbro@google.com> |
Enable editing of existing draft messages
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
1c078cff1958b29e280100bfa6221103ec46b555 |
|
21-Mar-2012 |
Paul Westbrook <pwestbro@google.com> |
Temporarily revert this change while I fix the Email build Revert "Enable editing of existing draft messages" This reverts commit aeb7cab52bb34c94c3de4319948a8e337ed77a01
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
aeb7cab52bb34c94c3de4319948a8e337ed77a01 |
|
20-Mar-2012 |
Paul Westbrook <pwestbro@google.com> |
Enable editing of existing draft messages Change-Id: Ib9154bffe33fda6693ef832610c81a5542eb771c
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
5ff63747a1b5c6e2197528972cbc3ba808b09d8d |
|
17-Mar-2012 |
Andy Huang <ath@google.com> |
show subject and labels in conversation view Show labels only for accounts that support multi-folder conversations. Move some classes into smaller 'browse' package. Special-case subject/labels overlay for now. Full adapterization is coming soon when super-collapsed blocks are in. Change-Id: I458009776eb2e3840dd9e441de9e4ead3cc94d0b
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
0a22047bb6c54d8f1ce980762f75908e35b08c3d |
|
15-Mar-2012 |
Andy Huang <ath@google.com> |
"fix" starred check on a message Change-Id: I824428020949333998c30cf6c6d6e2b1b6661255
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
51067133f35911bf4b43f97be52b00e5bd9f07ab |
|
13-Mar-2012 |
Andy Huang <ath@google.com> |
fix looping with Gmail provider and auto mark-read. cleanup. * only mark initially unread conversations read * disable re-render on loader update for now. will re-enable later for specific cases like new message or updated draft, or when UI changes no longer trigger provider notifications * properly invalidate cursor on loader reset * pick a better loader ID for attachment list query * disable scroll tracking before geometry is known * ignore JS callbacks after views are destroyed Change-Id: I6cec7186dab301d57995a73df0c3506549a7932d
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
cf5aeaea234a52ff153729d959b207af1ab62abc |
|
10-Mar-2012 |
Andy Huang <ath@google.com> |
clean up attachment loaders Need to clean up upon either view recycle or full-on view detach. Also make sure to finish removing scrap views when the conversation view is torn down, like AbsListView does. Change-Id: Icee78edecaec757d66e91b9a692548375ad65227
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
8973c6c14d75fa40ef2169dd23d1ebb247a18b8a |
|
10-Mar-2012 |
Andy Huang <ath@google.com> |
Use fewer attachment-related loaders Pare down loader complexity by processing attachment updates in one batch for each message. Now, the list of attachments doesn't blow away all children on every list update, and each row's view refreshes only the properties that changed. So update processing overhead from batching them up is minimal. Too many loaders would have led to more headaches as message views were recycled and all those loaders would need to be destroyed. We do still need to destroy the one attachment list loader, though. Change-Id: I28b24efa61d62ed366300b970bf8f9bed4f88ab5
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
88fc42e48ee4e927eb77e5cab23f2f5151cac649 |
|
09-Mar-2012 |
Andy Huang <ath@google.com> |
attachment UI in conversation view Load from a message's attachment list URI to render initial attachment views. Each attachment view then monitors its own URI for changes when it expects them (this is quite likely too granular!). Change-Id: Ie559672e63910034e4dbf7766101a2b5768129aa
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
30fd47bf1947da5ad813cb957b6cbe569dce563a |
|
09-Mar-2012 |
Mindy Pereira <mindyp@google.com> |
Remove all label refrences from unified; change to folder Remove labels text views from unified mail conversation list items. Gmail will override with a new xml file that will provide a "folders" area Change-Id: I443b8d73f253f046dfa8a8a68afa19e89bf7a85a
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
bb56a1512559a5f024ba213c4bdcfe3d9d9387de |
|
25-Feb-2012 |
Andy Huang <ath@google.com> |
Conversation view touch event shenanigans * Fix scrolling when the touch begins on an overlay view. Drags do not engage scrolling until the system touch-slop distance is exceeded. Logic copied from ScrollView. * Fix pinch zoom when the first touch begins on the WebView by disabling motion event splitting. * Fix pinch zoom when one or more touches begin on an overlay view by intercepting upon ACTION_POINTER_DOWN events. Change-Id: I6f23eb75f9df32ac9c9b0c1be8a304e2c16c6fe0
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
f70fc4052b72a850bbb9be585d0f5a4877ee9448 |
|
18-Feb-2012 |
Andy Huang <ath@google.com> |
conversation view zooming Zoom is enabled on the entire conversation using the built-in WebView mechanism. Wide messages are individually best-effort shrunken to fit-width. Start a custom ViewGroup to hold both message headers and the single WebView. A common view parent makes input handling easy: the WebView drives scroll position, and position is relayed to the custom ViewGroup to cheaply shift around headers without a full relayout. For now, all headers are inflated at once, but soon they can be recycled depending on the virtual scroll viewport. Change-Id: I92555f9b79e10630457b17ca970ab9a2e9028e80
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
3ce64e7ceb6246130342385d91550bcf33b31cc8 |
|
13-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Create parcelable message. Also, gets rid of and renames fields that required them per: name change to appendRefMessageContent remove custom_from field remove quoted text pos Change-Id: I33a2f83b906d2504a8a6ae58f79f1618bb8a20cd
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.java
|
97c25be161de53aa55662ebf44f2d489ddd86dea |
|
13-Jan-2012 |
Andy Huang <ath@google.com> |
UiProvider API cleanup remove CLIENT_CREATED change DRAFT_TYPE to an integer enumerable instead of a string for consistency. Change-Id: Icd4bfebd7836f06d8c146c6e3366c5dcec517202
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|
33fe908589dca6a7f58aa9f56d73f74a48ac42f6 |
|
10-Jan-2012 |
Mindy Pereira <mindyp@google.com> |
Pass the account around instead of just hte account name. We need the account for capabilities, uris, etc., so just pass it around when launching new activities/ fragments/ etc. Change-Id: If05cae10a092679ea0e7807ae36f7965d065a649
/packages/apps/UnifiedEmail/src/com/android/mail/browse/MessageHeaderView.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/MessageHeaderView.java
|