summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ingest
Commit message (Collapse)AuthorAgeFilesLines
* Instrument importer for usage statisticsBobby Georgescu2013-04-283-6/+16
| | | | | Bug: 8744068 Change-Id: I416463ba15713d363ac0ce68109532b770fb02b3
* Dismiss MTP notification on device disconnectBobby Georgescu2013-04-261-0/+1
| | | | | Bug: 8158516 Change-Id: I7d7fd78b5fb9dc199e9ecdd78440e0f8147fe58d
* Show notification to relaunch MTP importerBobby Georgescu2013-04-251-2/+15
| | | | | Bug: 8158516 Change-Id: I98a57f9ac6e6935595b44e1277ddffa378065068
* Show loading indicator in full-screen importer viewBobby Georgescu2013-04-111-0/+3
| | | | | Bug: 8599282 Change-Id: I568d5077e8e5450da49cd4d75df39973b84d081f
* Correctly scale images in MTP importerBobby Georgescu2013-04-101-2/+59
| | | | | Bug: 8293048 Change-Id: Ib46a6ce13aeea6a59706790b69be29215be7ebc4
* 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-222-13/+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-142-42/+81
| | | | | | | | | | | 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-1213-218/+907
| | | | | | | | | | | | | | | | | | 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
* Importer: when view is reused for same image, don't reloadBobby Georgescu2013-01-292-3/+24
| | | | | Bug: 7968780 Change-Id: I6786d140e516ff60562c5c0b1222fca0ea153216
* Fix importer crashes on unplug during scrollingBobby Georgescu2013-01-181-1/+10
| | | | | Bug: 8035040 Change-Id: If822b15f2210e2af42c8a38f6ac2acb25d535aa9
* Fix importer crashes when unplugging during indexingBobby Georgescu2013-01-171-119/+156
| | | | | | | | | | Bug: 8027984 Slightly refactored the indexing step to encapsulate all of the indexing work within the runnable that does it and to correctly handle the cases where the device is unplugged in the middle of the indexing. Change-Id: I338657bbbedd6b82d012f65cd1ea28e0afd890c2
* Show status in importer for empty or no deviceBobby Georgescu2013-01-173-5/+55
| | | | | Bug: 8000251 Change-Id: Iefbbe6df59f432ffeb10ac9fa846a8908584ab58
* Merge "Always have determinate progress in import notification" into ↵Bobby Georgescu2013-01-161-5/+4
|\ | | | | | | gb-ub-photos-bryce
| * Always have determinate progress in import notificationBobby Georgescu2013-01-161-5/+4
| | | | | | | | | | Bug: 7967520 Change-Id: Iaeb5f2e3d508d964856faaea63475cbc25e13c0d
* | Importer date tiles reflect language changeBobby Georgescu2013-01-162-2/+28
|/ | | | | Bug: 8020035 Change-Id: I1ac2a27ca7be088e6ad6f9b8c624c36e04ff03b0
* Replace camera importerBobby Georgescu2013-01-079-0/+1790
Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07