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
|