History log of /packages/apps/UnifiedEmail/src/com/android/bitmap/ContiguousFIFOAggregator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9c0a61d1821d10b0ed6aa73dabc47cba127da2f 12-Aug-2013 Mark Wei <markwei@google.com> Fix NPE.

Do not allow the same key to be added twice.

Bug: 10288109
Change-Id: I830e7ccf186c41e4f54be2ed714ad92f20708171
/packages/apps/UnifiedEmail/src/com/android/bitmap/ContiguousFIFOAggregator.java
13c9dcd5774d04b8df2c538ef12ed666d8c233e9 08-Aug-2013 Mark Wei <markwei@google.com> Stop using LinkedHashMap.

Revert to using a Queue + SparseArray instead.

The only way to get the first item in a LinkedHashMap is to create an Iterator.
This was causing GCs that blocked the UI thread.

Change-Id: Iaa72611cc8429eb9a8e22d63fd84a47e609a2e7b
/packages/apps/UnifiedEmail/src/com/android/bitmap/ContiguousFIFOAggregator.java
1aba32575a08da6cbad80af8446201d73c59783d 08-Aug-2013 Mark Wei <markwei@google.com> Bust some jank.

Avoid view inflation in coordinates constructor. 22ms -> 14ms.

Sleep background decode tasks sooner during fling. This avoids the 30ms GC alloc
that may occur when we create file descriptors and use them to decode bounds.

Bug: 10132860
Change-Id: I44bb731dde18efcc95e789f53247eca213d5804e
/packages/apps/UnifiedEmail/src/com/android/bitmap/ContiguousFIFOAggregator.java
b41b91112df8b4bf5adee6f0360dc7848f95fe26 03-Aug-2013 Mark Wei <markwei@google.com> Fix nit 4. Prevent multiple progress bars from showing up.

Bug: 10083052
Change-Id: I39f49195cc62a95e375730b51aa23e9f5bcf9685
/packages/apps/UnifiedEmail/src/com/android/bitmap/ContiguousFIFOAggregator.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/bitmap/ContiguousFIFOAggregator.java