summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ingest/data
Commit message (Collapse)AuthorAgeFilesLines
* Update ingest importer codeBobby Georgescu2014-05-149-73/+1396
| | | | Change-Id: I0f3b0809deead2f49501a5309f0ddab9c911274f
* Remove Camera from Gallery2.Sascha Haeberling2013-08-081-1/+1
| | | | Change-Id: I89adebffcacd1269217d7bd8c630c2f78886f590
* Enforce bmp type in pool, handle MTP image decode failureBobby Georgescu2013-04-011-5/+21
| | | | | | | | | | | | | - 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
* Replace various BitmapPools with a smarter unified poolBobby Georgescu2013-02-221-12/+3
| | | | | | | | 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
* Don't use AsyncTasks to fetch images via MTPBobby Georgescu2013-02-141-0/+2
| | | | | | | | | | | 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
* Importer: Full-screen viewing, UI refinement, refactoringBobby Georgescu2013-02-122-0/+126
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