History log of /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f640d379259bb114a50e3200f49961b89d60f2c2 14-May-2014 Bobby Georgescu <georgescu@google.com> Update ingest importer code

Change-Id: I0f3b0809deead2f49501a5309f0ddab9c911274f
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
723bf81990245a07739146ac10357703c9839de1 08-Aug-2013 Sascha Haeberling <haeberling@google.com> Remove Camera from Gallery2.

Change-Id: I89adebffcacd1269217d7bd8c630c2f78886f590
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
6058af443b087ba50741cc3e61ec70e830e498fa 01-Apr-2013 Bobby Georgescu <georgescu@google.com> Enforce bmp type in pool, handle MTP image decode failure

- GalleryBitmapPool didn't reject bitmap types other than
ARGB_8888 which could lead to problems when a different type
is used for recycling.
- BitmapFactory throws an exception rather than returning null
when image decoding fails and an existing bitmap was supplied
for recycling, even if the failure was not caused by the use
of that bitmap. When decoding things from an MTP device, we
need to handle this since unsupported formats may be returned.

Change-Id: I8cc8aa46f5a741b360e806814991f74a131e9039
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
f52ceba89962829aa12f5caba131580e8da85880 20-Feb-2013 Bobby Georgescu <georgescu@google.com> Replace various BitmapPools with a smarter unified pool

Make all of gallery use a single shared pool, and pave the
way for making the pool more adaptive based on the current
workload.

Change-Id: Ia32561ad50b1b9716ebe2fd32a7bf02737685dac
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
37faa3150feebccecd8872658af32bd88a0d2073 14-Feb-2013 Bobby Georgescu <georgescu@google.com> Don't use AsyncTasks to fetch images via MTP

Bug: 8192491

Avoids allocations when scrolling through the importer
grid by not using AsyncTasks anymore (which meant one
object creation per change of the source image). Also
fix an NPE if a device is unplugged during scrolling.

Change-Id: I4e7022ca5d4573402e60b16fbd82ea65bc6627e0
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java
c8a9e86919dca8938948f97efc3dcbe143e806bf 01-Feb-2013 Bobby Georgescu <georgescu@google.com> Importer: Full-screen viewing, UI refinement, refactoring

Bug: 7990333
Bug: 8151814
Bug: 8037411

This CL adds or changes the following things:
- Full-screen image viewing and UI for switching modes
- Moved general functionality from MtpThumbnailTileView
to MtpImageView to allow for reuse in full-screen image
use-case
- MtpBitmapCache moved from ui to data package
- Orientation now respected when set in image metadata
- Miscellaneous UI consistency issues fixed
- Miscellaneous instability issues fixed

Change-Id: I5f188b763617b693e32fedc03273d711d604922a
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/MtpBitmapFetch.java