summaryrefslogtreecommitdiff
path: root/src/com/android/mail/ui/SecureConversationViewController.java
Commit message (Collapse)AuthorAgeFilesLines
* UnifiedEmail: Support configure the sync size for each mail contentweitan2016-08-241-1/+7
| | | | | | | | Email Application will fetch/sync the mail content as the sync size to save user's data. Change-Id: Idfd1b671495544cb44b488355f08731afb2f3794 CRs-Fixed: 1016744
* CV attachments. b/16138036.Andrew Sapperstein2014-08-071-2/+1
| | | | Change-Id: I612bb54ccd2710754be03d9b4a566da544780d09
* Remove above attachment promo. b/16138036.Andrew Sapperstein2014-08-071-27/+0
| | | | Change-Id: I611f0f7e6eeea0247956e0f1a9f2ec3ec51c9eef
* Disable snap headers for SCV.Andrew Sapperstein2014-08-051-4/+5
| | | | Change-Id: I69666b72d94bdb70f997f6324c69db27ccf152fc
* Remove borders/cards from conversation view.Andrew Sapperstein2014-06-191-6/+1
| | | | | | b/15595931 Change-Id: I51b5ce1d9387d6354d421b0e399a2003c6e84c54
* Revert the CLs that updated the message headers.Andrew Sapperstein2014-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Merge "Gmail does not display inline attachments nor does it offer "Show ↵James Lemieux2014-04-241-1/+5
|\ | | | | | | pictures" within the EML viewer" into ub-mail-master
| * Gmail does not display inline attachments nor does it offer "ShowJames Lemieux2014-04-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am 41d2b6bd: Use proper conversation uri in secure conv view.Andrew Sapperstein2014-04-231-1/+3
|\ \ | |/ |/| | | | | * commit '41d2b6bdf39f5a3d78ae938eff1057f3849408f0': Use proper conversation uri in secure conv view.
| * Use proper conversation uri in secure conv view.Andrew Sapperstein2014-04-231-1/+3
| | | | | | | | | | | | Also add null checks. b/7659807. Change-Id: I0af249178236d6411b8e991c2ca4d03b33e7145b
| * Merge "DO NOT MERGE Revert 4 CLs that updated the message headers." into ↵Andrew Sapperstein2014-04-221-1/+1
| |\ | | | | | | | | | ub-gmail-ur12-dev
| | * DO NOT MERGE Revert 4 CLs that updated the message headers.Andrew Sapperstein2014-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully this'll make b/13772061 no longer happen. 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
* | | am 381c322e: Save to drive promo. b/7659807.Andrew Sapperstein2014-04-221-3/+30
|\| | | | | | | | | | | | | | * commit '381c322eb30c39f63a2bb82812d63262eb3c1c1c': Save to drive promo. b/7659807.
| * | Save to drive promo. b/7659807.Andrew Sapperstein2014-04-221-3/+30
| |/ | | | | | | | | | | | | | | | | Provides a space above the attachment bars to show some additional content. Default behavior does nothing. Hooks have been added to allow resizing of the message footer. Change-Id: Ib950091d176311bdb06c7c7a466223beb997a7b5
| * DO NOT MERGE Revert "Prevent flickering. Fixes b/10994303."Andrew Sapperstein2014-04-161-2/+1
|/ | | | | | This reverts commit bb6f0504c1607c89d9a3dd3e6023f36d61837016. Change-Id: I834c3f2a2ebf89108d67ef497bfd52b1234e55cd
* Some more code-style nits.Andrew Sapperstein2014-03-291-7/+1
| | | | Change-Id: If4ef0ebae4fc815c0f5b929ed3ad021e992f0b3d
* streamline inline attachment view param passingAndy Huang2014-03-251-1/+1
| | | | | | | | | | | Put more logic in CVF (or its secure/eml equiv) and pass fewer objects of lower specificity to the intent builder. More concretely, the viewer intent builder now accepts a Message, which can be quite useful. Bug: 7659807 Change-Id: I6be3bf87c3e01367a20c062d1e59f4ca6e1dd85e
* Merge "View entire message UI." into ub-mail-masterAndrew Sapperstein2014-03-141-2/+3
|\
| * View entire message UI.Andrew Sapperstein2014-03-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | RTL - Align conversation header with viewStart.Andrew Sapperstein2014-03-131-1/+1
|/ | | | | | Fixes b/13432564. Change-Id: I97954654b829579d481780ddd0c550d4caa58086
* Redesign of message headers. b/12933316.Andrew Sapperstein2014-03-041-1/+1
| | | | | | | | | | | | | | | | 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
* RTL - conversation view fixes.Andrew Sapperstein2014-01-281-1/+8
| | | | | | | | | | | | | | | | | 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
* Fix buildMartin Hibdon2014-01-081-2/+0
| | | | | | I accidentally checked in some invalid imports Change-Id: I8fa71c5dbccd2f01662460457dc75a03e6fc7f33
* Implement snappy headers for emailMartin Hibdon2014-01-081-6/+46
| | | | Change-Id: I3bc066f573f217ac1767d46fdf9f68a6b946eb36
* View inline images in photo viewer. b/5555553.Andrew Sapperstein2014-01-071-3/+11
| | | | | | | | | | | | | | | | Uses the existing javascript image src rewriting step to build a mapping of urls to message ids. This mapping is passed into the InlineAttachmentViewIntentBuilder so that it can use this information along with the conversation id and account name to build attachment and attachment list uris so that a photo viewer open intent can be created. Additionally, SecureConversationViewController will need a different mechanism for this UI to work in Email/the eml viewer. Change-Id: If14800348fe2191d0633bf768b8cb4e9746f6578
* Hide inline attachments from message footer.Andrew Sapperstein2013-12-111-0/+3
| | | | | | | | | b/5555553. Now skips all attachments with type != STANDARD in conversation view display. Also fixes b/11559781. Change-Id: I232e2d59e0605d3ab52ac382b2b96d85c72d4ad8
* Show message details inline, not in popup.Andrew Sapperstein2013-11-251-1/+0
| | | | | | Fixes b/11576631. Code deletion CL is best CL. Change-Id: I22b10b7078a4a8ae89fa3e7667d5dae191ad6f5f
* Use activity instead of context for printing.Andrew Sapperstein2013-10-291-1/+1
| | | | | | Fixes b/11432054. Change-Id: I0a56b4498d8e4f1231436b9965c91246c730717e
* Print single message and offscreen webview.Andrew Sapperstein2013-10-111-2/+8
| | | | | | | | | 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
* am 37ce6077: Update conversation header when account settings changeTony Mantler2013-10-041-0/+2
|\ | | | | | | | | * commit '37ce6077b70c94ca11063fb82c0600874d826b06': Update conversation header when account settings change
| * Update conversation header when account settings changeTony Mantler2013-10-041-0/+2
| | | | | | | | | | | | b/11066041 Change-Id: I8fad4670ce97beeadb607f7dee6570ed39601e65
* | Initial printing support.Andrew Sapperstein2013-09-261-0/+4
|/ | | | | | | | | | | | | 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
* Fix infinite resizing by using RigidWebView.Andrew Sapperstein2013-08-291-0/+1
| | | | | | | | | | | Ported some code from Email1 to fix the problem where using wrap_content with zoom causes certain html to expand infinitely. Fixes b/10542802. Also turned off overscroll glow for the webview since the scrollview already handles it for us. Change-Id: I0ffd2b5475deab2c077cb377644fd56fa2755994
* Align web view content with sender image.Andrew Sapperstein2013-08-221-3/+2
| | | | | | b/10264590 Change-Id: I2528b09d5308c9c2390abeb737f80130d9724b52
* Conversation View UI Refresh: Cards for SCVF.Andrew Sapperstein2013-08-021-0/+13
| | | | | | | | SecureConversationViewController (and thus SecureConversationViewFragment and EmlMessageFragment) now have card-like UI. Change-Id: Ia573809e1577280318bb90a897ef2c987856a551
* Conversation UI Visual Refresh: border fixes.Andrew Sapperstein2013-08-011-1/+2
| | | | | | | | 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
* Conversation View UI Refresh: Cards.Andrew Sapperstein2013-07-251-2/+2
| | | | | | | | | | | | | | | | 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
* Use DialogFragment for message details popup.Andrew Sapperstein2013-07-181-0/+6
| | | | | | Fixes b/9888950. Change-Id: Id6cc2b998aad8193adc04cd48bcf0f5ed2bdef76
* Final eml viewer cleanup.Andrew Sapperstein2013-06-251-1/+1
| | | | | | | | Fixes b/9560839. Now we show the title of the eml file and we also show an overflow button with settings/send feedback/help. Change-Id: I5eab245d9fd47e37b83eadcb419255939117ab39
* Working implementation of eml viewer.Andrew Sapperstein2013-06-121-0/+210
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