summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/LocalAlbumSet.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New loading model"John Reck2013-03-211-34/+79
| | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* New loading modelJohn Reck2013-01-161-79/+34
| | | | | | | | | | | | | Rename reload() to loadIfDirty() loadIfDirty is implemented by MediaSet and is final loadIfDirty is now blocking instead of async Subclasses must implement two protected methods, isDirtyLocked() and load() The change from async reload() to sync loadIfDirty() should be fine since all users of reload() were doing so from a background thread already, and the longest load() is PicasaAlbumSet which is still a fairly brisk 40ms or so Change-Id: If5cc596a1c13e52e5f4efff1a144bd086d37cfb7
* Change how stitched images are inserted into Gallery.George Mount2012-10-101-6/+0
| | | | | | | | | Bug 7299396 Stitching images now use normal LocalImages for their MediaItem instead of LightCycleItems. They are no longer part of a special album. Change-Id: Ic62822a44b9743829dee50bcfa6f455cd538afa7
* Support panorama progress items in Gallery.Angus Kong2012-10-041-1/+7
| | | | | | | Bug 7259843 Add dummy files for showing panorama progress in filmstrip. Change-Id: I7ae92b90bbbd992fde00cfcfc68af69b34d34d74
* Remove unused resources and fix some warnings.Owen Lin2012-08-301-2/+3
| | | | Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
* Add secure album support for lock screen camera.Wu-cheng Li2012-08-271-10/+6
| | | | | | | | | Secure album only shows the media items added by the camera. bug:5955016 Change-Id: Id26abec4dfcc036cf9de682398fed25eed73d1a5
* Don't use Files.getContentUri in previous API levels.Owen Lin2012-08-011-131/+3
| | | | Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
* Fix 6259517 "0 images / videos available" toast is displayed in gallery on ↵Ray Chen2012-05-231-0/+8
| | | | | | | | | | launch though it has images / videos And removed sync error toast. Bug: 6259517 Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
* Fix NPE in onContentDirty.Owen Lin2012-04-181-1/+10
| | | | | | onContentDirty is suppose to be called in Main thread. Change-Id: Ic6a0fba8abd8a3e17d400bcfc5b82d272b07bc41
* Fix a concurrent issue in reload().Owen Lin2012-04-171-1/+3
| | | | | | | We need to hold the DataManager.LOCK when calling reload. Change-Id: If908c233bcd835effffc7750a7ef07f56a63136c fix: 6315479
* Move getTypeString from PicasaAlbumSet to MediaObject.Ray Chen2012-03-291-4/+1
| | | | | | b/5344124 Change-Id: I28a43615ebec0aa84c3b16ac006def26f7b56162
* Make top level albums can be loaded concurrently.Owen Lin2012-03-201-47/+74
| | | | | Change-Id: I1acef9fc9a442c36ad1d9d0931b0defc6091bf33 fix: 5947962
* Add log to debug loading time.Owen Lin2012-03-201-9/+14
| | | | Change-Id: I53ddb3cdce7abe9de7c5bbd85c1adad474bdff2f
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-151-1/+1
| | | | | | | | | | | | | 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-141-8/+6
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Fix 5336726: sort local albums by reverse chronological order.Chih-Chung Chang2011-09-301-18/+51
| | | | Change-Id: I3a04286bea7f43d5f3542b37eddbb4a0801e94f5
* Initial code for Gallery2.Owen Lin2011-08-181-0/+263
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c