e56653086586c02cda55474e537ec5502adce06f |
|
31-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Change the logging for errors loading attachment b/11436795 It's not really an error condition to get a fileNotFound trying to load an attachment, it's normal if the attachment has not yet been downloaded. We don't need to spam the log with stack traces when this happens. Change-Id: I2e177d639d4eec69b72ee8692827d22675758768
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
7b1e10093f127dd3fcc00a7d1a3c5d717a0f1dea |
|
13-Aug-2013 |
Mark Wei <markwei@google.com> |
Respect orientation of attachment previews. Previews with orientation will not be eligible for pooling. Bug: 10036191 Change-Id: Id7d625dde612742e4b12cc650c119f5c308456a3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
1dfdeb0308dc3c4b353f307e0bf3aa9ad510af75 |
|
29-Mar-2013 |
Yu Ping Hu <yph@google.com> |
Improve error logging for loading thumbnails. Change-Id: I5daaef6ee16e9a7b12f6fa71c473075b4170d341
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
8750066b10f80e2a8080016973b3296d76d18266 |
|
20-Feb-2013 |
Mark Wei <markwei@google.com> |
Set MIME type correctly on drafts when content provider does not provide it. Bug: 8235172 Change-Id: I7bbccbecb7d038f3add4503be0dcf460a4864b2e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
10f8c4f1ca3619e761d4d1f874891f6d9259ac7b |
|
12-Feb-2013 |
Mark Wei <markwei@google.com> |
Use getIdentifierUri() when comparing Attachment uris. Bug: 7426699 Change-Id: I83514b4b01e311add414d326d0130a22eafbf19f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
1aee17e324f204080baaabceb64f4edf73681542 |
|
14-Jan-2013 |
Mark Wei <markwei@google.com> |
Load image attachments from live conversations. MessageAttachmentTile automatically downloads image attachment thumbnails when missing. PhotoViewFragment first loads thumbnail, then loads the full image. Shows and hides the progressbar correctly. Added ability for UiProvider to specify which rendition of an attachment to download. Bug: 7987412 Change-Id: Ief7f4c9a4a354d27045f6415a32211484a8527c6
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
bbe74aee04f669990e888095b0d6858dc1e17ce1 |
|
19-Nov-2012 |
Mark Wei <markwei@google.com> |
Refactor Attachment code. Combined AttachmentStatusLoader.Result and Gmail.Attachment into GmailAttachment. Renamed UIAttachment to Attachment, which still follows the UIProvider contract. GmailAttachment extends Attachment, and contains Gmail provider specific data. The DownloadListener in AttachmentStatusLoader will modify the cached GmailAttachments directly, where previously we would create new Results to give to the ConversationState. Cancelling an Attachment download will cancel both cache and external db entries. Attachment download dialog will close only if state is SAVED or FAILED. This prevents a NOT_SAVED state update from closing the dialog prematurely. Simplify AttachmentRequest. Simplify AttachmentStatusLoader to a listener. Bug: 7538447 Bug: 7538152 Change-Id: If6362473697e6735f1858619c7af83238d75469e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
ed152093a01d6df9946c1ee575f63823369f4afb |
|
08-Oct-2012 |
Paul Westbrook <pwestbro@google.com> |
Decrease the log verbosity If the file hasn't finished download, this was logging too much. This was making it hard to find more important logs Change-Id: I1bede53144d335b3b1dabf5534f7993f1af507d3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
f73d6b25e5f38b85a5a4cad014017c7250c2d055 |
|
04-Oct-2012 |
Mark Wei <markwei@google.com> |
Make small previews larger. Bug: 7249020 Change-Id: Ieebe4afb00ecc9a40050dc5c41299b003b1f74c3
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
e16b4dddf6a310e0e70908fdffd7bad45d97a99c |
|
29-Sep-2012 |
Mark Wei <markwei@google.com> |
Fix attachment previews from letterboxing * Fix scaling regression caused by BitmapFactory.decodeByteArray() * Smarter handling of different preview sizes. There are now 3 classes of preview images: large, long/skinny, and small. Bug: 7148589 Change-Id: Ie232cc00cd5a8adeed3309aa4615b28de2c37b1f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
986d7a633359c1f115fb497b61a8de977305984f |
|
21-Sep-2012 |
Paul Westbrook <pwestbro@google.com> |
Detect photo orientation Bug: 7087307 Change-Id: I270fea67eac71864c62a0f6d600262681394f99f
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
49d9fbc062289cdcf5ce3c57cc41927c8213c40a |
|
29-Aug-2012 |
Mark Wei <markwei@google.com> |
Attachment tile images are original size if smaller than bounding box. If one or less dimensions are within the bounding box, the preview is centered and cropped. If both dimensions are outside the bounding box, CENTER_CROP scaling is applied. Bug: 7055864 Change-Id: Id6155ab68cf0210d7f7c4ce843cbe72a585c5c4e
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
f3791ebe6ca60a795908fb0db6b00b1b1f74f2fd |
|
16-Aug-2012 |
Paul Westbrook <pwestbro@google.com> |
Prevent NPE when specifying null uris When an email message is deleted, it the EmailProvider returns null uris for the attachments. The ThumbnailLoadTask shouldn't crash in this case Bug: 6994143 Change-Id: Ib8f37026657c9cb05b9e283c02f37eff1ee6367b
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
4cb51dbce9635f4bf68a6de88f759e2f86d20325 |
|
21-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Image attachments open photo viewer immediately. Instead of downloading the first image and waiting for that operation to complete before entering the photo viewer, we now kick off the downloads for all photos that are not currently on device. The photo viewer shows download progress and also shows the photos once the download has completed. Change-Id: Ib9561b45020bbab1ffbcec9e88aab9604036fd5a
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|
1dc25e45b43aaab2ed869381de1b1276cf72b08f |
|
17-Jul-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Improved reliability for attaching photo previews. Previously, we were doing no scaling of the previews (to be more clear, we were, but then it was removed). As a result, when you attached large images, we occasionally, Now, we have restored the scaling of the images. However, That created a possible divide-by-zero error if we were launching the thumbnail loading before we had performed an initial layout and measure pass (because we had no width or height values for our view). To eliminate this possible error, we now perform a check for this case and don't attempt the photo load if we would have an error. Additionally, we have added a separate call to load the photo inside onLayout when we know that the attachment tile has a width and height. Change-Id: I3650f3d240e79242bcf30170b44eb6b3c1fd0c87
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.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/ui/ThumbnailLoadTask.java
|
2ea06183aa826b28fe6ebdb454da49ba3878bc4f |
|
20-Jun-2012 |
Andrew Sapperstein <asapperstein@google.com> |
Collapsing attachments in compose now works. When the draft has attachments, if the focus on any of the text fields changes, the attachment area collapses into a smaller area. Tapping that area causes the attachments to expand into the full view with the previews. Some refactoring was necessary to enable reuse of the thumbnail loading for the small preview icon. Change-Id: Iaefb71736a2359b9090b2fe736ad2f33a9838ed7
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ThumbnailLoadTask.java
|