summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove /mtp from TOP_SET_PATH before HC.Owen Lin2012-08-011-10/+14
| | | | | bug: 6913061 Change-Id: Iecdb6452035b83070502977265a3e0d526ea784c
* Code clean up.Ahbong Chang2012-07-3030-3/+52
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Add @TargetApi for all Mtp related code.Owen Lin2012-07-245-0/+16
| | | | | | | These classes should not be called since the MtpSource won't be registered to DataManager. Change-Id: I3f88dc24f295af3d9e18218f56e6c30731c1e328
* Use MTP only if the MTP API is available.Chih-Chung Chang2012-07-041-1/+4
| | | | Change-Id: I5c747d0da2905eb344c56dfab6333034dd5eecc3
* Add ExifTags to hold tag names that are not available in ExifInterfaceHung-ying Tyan2012-07-031-3/+4
| | | | | | | prior to API level 11. Bug: 6775786 Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
* Don't reuse bitmap before HoneyComb.Owen Lin2012-07-035-76/+99
| | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
* Don't use Build.VERSION_CODES.Owen Lin2012-06-281-2/+1
| | | | | | | | Since they won't be available on old platform. bug: 6752318 Change-Id: I55a9e83dbf05b93c83c68cb31f6edcbc29793283
* am acd75301: am bb52543c: Merge "Show undo option for 3 seconds after the ↵Chih-Chung Chang2012-06-271-0/+7
|\ | | | | | | | | | | | | last picture is deleted." into jb-dev * commit 'acd753010dcf6d8079e4620722921694cb041dbf': Show undo option for 3 seconds after the last picture is deleted.
| * Show undo option for 3 seconds after the last picture is deleted.Chih-Chung Chang2012-06-271-0/+7
| | | | | | | | | | Bug: 6742326 Change-Id: I5008c1984fff0a2affaeabf2a195cfcdc517ebc2
* | am 27a76801: am c7e89dae: Update thumbnail if a picture is deleted in ↵Chih-Chung Chang2012-06-264-0/+17
|\| | | | | | | | | | | | | background. * commit '27a768018b18f45b9dd912bafd09dea64460f852': Update thumbnail if a picture is deleted in background.
| * Update thumbnail if a picture is deleted in background.Chih-Chung Chang2012-06-264-0/+17
| | | | | | | | | | Bug: 6712751 Change-Id: I17f56c9ff04441e51f28b3e3bec23b1ac308b70c
* | am 64cebdd1: am 6118af9d: Fix the behavior of deleting the last picture.Chih-Chung Chang2012-06-261-44/+174
|\| | | | | | | | | * commit '64cebdd1eebd2c001e6680f247c6f741889ad989': Fix the behavior of deleting the last picture.
| * Fix the behavior of deleting the last picture.Chih-Chung Chang2012-06-261-44/+174
| | | | | | | | | | | | | | Also fix the jank while deleting multiple pictures quickly. Bug: 6713932, 6712555 Change-Id: I9d64d8bbdcd4ec0dc9a447a51d50f88ff27363b4
* | Use MediaColumns.WIDTH and MediaColumns.HEIGHT only when they are available.Owen Lin2012-06-221-2/+18
|/ | | | | | bug:6698720 Change-Id: Iaabfd1d5fe16b5d89f564d688a78e773ad36c8bd
* Add swipe-to-delete gesture.Chih-Chung Chang2012-06-184-15/+140
| | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* Fix 6259517 "0 images / videos available" toast is displayed in gallery on ↵Ray Chen2012-05-234-0/+32
| | | | | | | | | | launch though it has images / videos And removed sync error toast. Bug: 6259517 Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
* Handle null for the video resolution field in MediaProvider.Chih-Chung Chang2012-05-171-0/+1
| | | | | Bug: 6517317 Change-Id: Ic9bb769b3b8e8816bc76a4500c6a2770e69a4dc5
* Show gray tile for screennails not loaded yet.Chih-Chung Chang2012-05-173-9/+25
| | | | | Bug: 6452217 Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a
* Better data change handling for PhotoDataAdapter and PhotoView.Chih-Chung Chang2012-05-111-6/+5
| | | | Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e
* Handle ScreenNail size change.Chih-Chung Chang2012-05-093-25/+34
| | | | | Bug: 6355399 Change-Id: Ice7560c12aa06cf8ac58cc3883f0888b5c6e71a5
* Merge "Fix photo rotates incorrectly in crop image." into jb-devOwen Lin2012-05-021-2/+12
|\
| * Fix photo rotates incorrectly in crop image.Owen Lin2012-04-271-2/+12
| | | | | | | | | | bug:6399424 Change-Id: Icc0aca5e9abcd643f8e246211e37bd177bf8ff31
* | Make 'Edit' behave more consistent with 'Crop'. DO NOT MERGE.Yuli Huang2012-04-271-3/+2
|/ | | | | | | | 1. Save edited PWA photo in 'dowload', same as cropped images. 2. Fix Crop-image toast may show strings without i18n. bug:6168430 Change-Id: Ic99a478e684597d3dc1a105c4f592dd98d8f227d
* Fix NPE in Gallery.Owen Lin2012-04-255-27/+31
| | | | | | | | This happens if user set type in an intent. But we get a different type from content resolver. Change-Id: Iabafce7f7aaff23a7a9ee09e1d38ab50049abc88 fix: 6358473
* Add thumb pool the cache Bitmap used for thumbnails.Chih-Chung Chang2012-04-184-14/+100
| | | | Change-Id: Ib710f2a6fc1aa86fe4abdd18d1fa7ac71396a3b4
* Fix NPE in onContentDirty.Owen Lin2012-04-182-2/+20
| | | | | | onContentDirty is suppose to be called in Main thread. Change-Id: Ic6a0fba8abd8a3e17d400bcfc5b82d272b07bc41
* Fix a concurrent issue in reload().Owen Lin2012-04-172-5/+6
| | | | | | | We need to hold the DataManager.LOCK when calling reload. Change-Id: If908c233bcd835effffc7750a7ef07f56a63136c fix: 6315479
* Add BytesBufferPool to prevent GC.Owen Lin2012-04-105-54/+259
| | | | Change-Id: Ia8513ff380a60f102481cbf25650eca149b75064
* Refactor. Merge SelectionDrawer with SlotRenderer.Owen Lin2012-04-052-2/+57
| | | | Change-Id: Iaa50b2a78beb95fc83208a5f74cf612650cd8643
* Upload textures in background.Owen Lin2012-04-052-3/+10
| | | | Change-Id: I365f7be9aaab793366884249cbb10e8b6f0ab0e6
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-021-3/+12
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Move getTypeString from PicasaAlbumSet to MediaObject.Ray Chen2012-03-292-4/+21
| | | | | | b/5344124 Change-Id: I28a43615ebec0aa84c3b16ac006def26f7b56162
* Merge changes I1acef9fc,I53ddb3cdOwen Lin2012-03-212-75/+135
|\ | | | | | | | | | | * changes: Make top level albums can be loaded concurrently. Add log to debug loading time.
| * Make top level albums can be loaded concurrently.Owen Lin2012-03-202-69/+124
| | | | | | | | | | Change-Id: I1acef9fc9a442c36ad1d9d0931b0defc6091bf33 fix: 5947962
| * Add log to debug loading time.Owen Lin2012-03-201-9/+14
| | | | | | | | Change-Id: I53ddb3cdce7abe9de7c5bbd85c1adad474bdff2f
* | Create a ScreenNail interface so we can add other types of screenails.Chih-Chung Chang2012-03-215-0/+224
|/ | | | | | Add a new MediaItem type to contain a ScreenNail. Change-Id: Ia303949f3013dd48ded204eaf9ec69a102b8503e
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-154-3/+34
| | | | | | | | | | | | | should go to next level up. Some changes in this CL: 1. ActivityState can decide whether to enable home button and show up arrow 2. ActivityState can handle home_up event on its own 3. Support getContentUri in LocalAlbum (Image/Video Roll) and LocalMergeAlbum (Camera Roll) 4. Gallery supports view action for AlbumPage (Camera Roll) Change-Id: I85a75cdce9cbc2a877651fdec34a0180ed8e785c
* Reorganize import for all files.Owen Lin2012-03-1423-83/+68
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Reuse bitmap for all micro thumb images to prevent GC.Owen Lin2012-03-148-89/+118
| | | | Change-Id: I27d3002e5bb745a597f52962fe24744c8329441c
* Remove unused code.Chih-Chung Chang2012-02-239-132/+1
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-1/+2
| | | | Change-Id: I41661b231f6c034dbca6af26d5950eda6c5fc7da
* Revert "Use FloatMath instead of Math."Chih-Chung Chang2012-02-101-2/+1
| | | This reverts commit 6bb8b2eb8695c042798f0eb798032cd30d642a65
* Use FloatMath instead of Math.Chih-Chung Chang2012-02-111-1/+2
| | | | Change-Id: I26eb6a554f72c13ba2801ce35ef0cf2a1466a97b
* Fixes gallery crash due to attempt to open deleted photo.Pin Ting2012-01-161-4/+9
| | | | | bug:5630894 Change-Id: I540bf067561550def72ac513eed12dcd5a808a1a
* am 622c2b2c: Merge "Show a dialog to require updating PlusOne." into ics-mr1Wei Huang2011-11-293-35/+26
|\ | | | | | | | | * commit '622c2b2c7721008e7851d0af3d89d3fc545ceaf6': Show a dialog to require updating PlusOne.
| * Show a dialog to require updating PlusOne.Owen Lin2011-11-243-35/+26
| | | | | | | | | | Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca fix: 5608342
* | am d7401652: Fix 5611147 attachments (picture) can\'t be viewed after ↵Ray Chen2011-11-162-4/+8
|\| | | | | | | | | | | | | they\'re saved * commit 'd74016524fa899747411240daa453e5ca9cac219': Fix 5611147 attachments (picture) can't be viewed after they're saved
| * Fix 5611147 attachments (picture) can't be viewed after they're savedRay Chen2011-11-162-4/+8
| | | | | | | | Change-Id: I0de0b8c176e1c3f838e81e3549c6795613b90069
* | am bfbd7bb4: Merge "Fix 5481444 Face clustering should use PWA profile shot ↵Wei Huang2011-11-157-40/+122
|\| | | | | | | | | | | | | instead of random photo" into ics-mr1 * commit 'bfbd7bb47582be2a636eadffb041a698c52817f6': Fix 5481444 Face clustering should use PWA profile shot instead of random photo
| * Fix 5481444 Face clustering should use PWA profile shot instead of random photoRay Chen2011-11-117-40/+122
| | | | | | | | Change-Id: Ie4e3f9ae19431ab5b36d216cd7f4c626de503bbf