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/bitmap/ImageAttachmentRequest.java
|
65b6d180f50922a3393795203cae68a5a2f6a33d |
|
31-Jul-2013 |
Mark Wei <markwei@google.com> |
Fix attachment nit 4. Add ContiguousFIFOAggregator to aggregate decode results and display them in the correct order. Bug: 10083052 Change-Id: I28b00fe44818f7882e44ef222d85d58ce111c7fe
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ImageAttachmentRequest.java
|
1b6fe5b1181ed3d0d0dde44baf5766db1e9c32e6 |
|
01-Aug-2013 |
Andy Huang <ath@google.com> |
fix 2x1 attachment grids not parallaxing For 2x1 previews, make sure to pick more a appropriate aspect ratio that's taller than for 1x1. The dimensions are based on that tile's drawable bounds. Because the requests are now specific to tile bounds, add the new variable to Request objects so requests and cached data don't get mixed up. Change-Id: Ide447c5eb07ddd61bf85e77b235ac1c9ccd2eced
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ImageAttachmentRequest.java
|
74db99555be46ccf44691805c359839268326d2e |
|
30-Jul-2013 |
Andy Huang <ath@google.com> |
(re)add rendition support to attachment previews Create new FAILURE state, which is also used when no renditions are available. In this state, only a static placeholder appears. Fix state transitions into failure state not clearing pulse animation. Transitions from thumbnail->full rendition are special cased to not cause transition effects. Bug: 9566006 Change-Id: I0b833960a8839b1b6945c3c1fb749eedb14b6157
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ImageAttachmentRequest.java
|
79c3e1ed9cb1e1660c5d34b7bf3f3ab5c5dd5162 |
|
22-Jul-2013 |
Andy Huang <ath@google.com> |
new allocation-minimizing bitmap decoder Use a new image decoding and caching framework. This one maximizes bitmap reuse by decoding into fixed-sized Bitmaps and relying on BitmapRegionDecoder to only decode a desired region. The ultimate goal is to allocate memory less often, as each large allocation triggers GC jank. The overall request/response abstraction and threading model are now cleaner, and caching is no longer a required fixture. Multi-core decoding is now supported, with a currently fixed thread pool size of 4. Attachment images are the only client for now, but contact photos will switch to this framework next. Bug: 9566006 Change-Id: I7c437941fd984cc0038da8f0ffd1df1a9ced4dd3
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ImageAttachmentRequest.java
|