summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/PhotoDataAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* Add swipe-to-delete gesture.Chih-Chung Chang2012-06-181-30/+81
| | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* Reuse bitmap to prevent GC in TiledImageView.Owen Lin2012-05-221-2/+3
| | | | | bug:5948093 Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
* Limit the size of a ScreenNail.Owen Lin2012-05-221-3/+3
| | | | | | | | | | | | | bug:6528366 This bug was happened because we are trying to make a texture beyond the max size allowed in GL. Here is what we do in this CL: 1. Limit the size of a screen nail 2. Print warning message, if we try to allocate a texture beyond the size 3. Don't show fall-back animation if the image is not loaded yet. Change-Id: I004b1138efd0eef7ba11aa89556f67743ca46745
* Don't fire data change notification before the data is made consistent.Chih-Chung Chang2012-05-211-1/+0
| | | | | Bug: 6500467 Change-Id: Ia064461daba92bbf1172eae5d321bf5049de6d48
* Show gray tile for screennails not loaded yet.Chih-Chung Chang2012-05-171-71/+157
| | | | | Bug: 6452217 Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
* Support Panorama preview.Angus Kong2012-05-171-1/+9
| | | | | | | The panorama preview doesn't consider display rotation. bug:6305152 Change-Id: I6389a74d3c0e64d8b6bc206e728d1088f04be225
* Add transition animation for tapping from PhotoPage.Owen Lin2012-05-171-3/+7
| | | | | bug:6383694 Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
* Revert "Support Panorama preview."Angus Kong2012-05-171-9/+1
| | | This reverts commit 41832d9f1568c7d8227fb9ffebaf7830345cffff
* Support Panorama preview.Angus Kong2012-05-171-1/+9
| | | | | | | The panorama preview doesn't consider display rotation. bug:6305152 Change-Id: I6b87c18ed8eadf1b2bf5e64437c5b290d111cbba
* Better data change handling for PhotoDataAdapter and PhotoView.Chih-Chung Chang2012-05-111-12/+69
| | | | Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e
* Put play video icon at the same place of the screennails.Chih-Chung Chang2012-05-071-0/+8
| | | | | Bug: 6412197 Change-Id: Idaae46c598035639907a85f726b763b80bd9572d
* Fix 'Edit' and 'Crop' behaviors.Yuli Huang2012-05-021-2/+0
| | | | | | | | | 1. Make Gallery show edited local photo after resuming, similar to how it shows cropped local photo after resuming. 2. Fix inconsistency between cropping local/PWA photo. bug:6168430 Change-Id: Ia350e0c67f05969ad42f56b9693c09c3b6433d3c
* Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-301-14/+12
| | | | | | | | | | | | | Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device Bug 6313192: Swiping UX: make Gallery display in rotated mode Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly Bug 6401075: Able to scroll through the gallery pics while capturing video. Bug 6405087: Filmstrip does not change with orientation Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
* Don't do capture animation if we don't have Camera ScreenNail.Chih-Chung Chang2012-04-251-0/+5
| | | | | | | | Also make "Back" jump to first picture instead of the previous one. Bug: 6388263 Change-Id: Idf78363cf3952bf66c6b0688e79d99c01956cd07
* In filmstrip, show placeholders for pictures not loaded yet.Chih-Chung Chang2012-04-191-16/+42
| | | | Change-Id: I037f1f054da4a3800045d5b89724341ac22272a5
* Allow filmstrip to scroll before the screennail is loaded.Chih-Chung Chang2012-04-191-1/+2
| | | | Change-Id: I9aa7405902c4bfb7e4946cfe4e1263314a958686
* Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-181-9/+18
| | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* Add new filmstrip mode for PhotoView.Chih-Chung Chang2012-04-101-34/+23
| | | | Change-Id: I9da9896303ced8d63a3557d5e6e9bc06fb366cf5
* Remove FilmStripView.Chih-Chung Chang2012-04-021-5/+0
| | | | Change-Id: I45cee8c32863cc65eba4c5e83e667e104cf24e42
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-021-1/+1
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* New effect in photo browsing.Chih-Chung Chang2012-03-221-2/+3
| | | | Change-Id: I12ca70f56f5c874292a7a6f38f0518bbc855ed70
* Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-211-27/+30
| | | | | | Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
* Reorganize import for all files.Owen Lin2012-03-141-5/+5
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Fix b/5840847: Always show 'Loading...' for corrupt pictures.Yuli Huang2012-02-071-9/+8
| | | | Change-Id: I040f6e4090dad3e73b86062ddefd9bb0be581bf5
* Fix picasa images rotate incorrectly.Owen Lin2011-09-121-2/+24
| | | | | | fix: 5268469 Change-Id: I58fc4a6d4a10c2952040eedee5936efa949b66e2
* Fix a no-thumbnail error message.Owen Lin2011-09-061-2/+8
| | | | | | | | This happens if we cancel the first image reqest and then resend another in a very short time. We may got an null image for the first request and think this is a invalid bitmap. Change-Id: I9ab62a658c281ef3d197474a5db50579e560f1bd
* Improve the performance of Reviewing a photo.Owen Lin2011-09-051-0/+8
| | | | | | | | | | | | | | | | | fix: 5144370 There is two componenet in the photo page. One is the large photo and the other is the thumbnail strip. They idenpendently load their own data and images. This change fixes several issues here: 1. Prevent sending to many jobs to ThreadPool and block others. In a worse case, if the thumbnail strip send image requests first, it may block the ThreadPool very long. 2. Improve the performance of extracting thumbnails from local files. Now we try to extract the thumbnails from EXIF data first. Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498
* Initial code for Gallery2.Owen Lin2011-08-181-0/+794
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c