summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/LocalAlbum.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New loading model"John Reck2013-03-211-6/+6
| | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* New loading modelJohn Reck2013-01-161-6/+6
| | | | | | | | | | | | | 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
* Add relativePath field into photo widget dbDoris Liu2012-12-141-0/+32
| | | | | | | | | | | Bug: 7481248 The bug is caused by the change of external storage going from JB to JBMR1. In light of this change, a new field has been added to the photo widget app database to store the relative path for the local album. With the relative paths stored, the widget app should be more resilient to future storage path changes. Change-Id: Ia2497b882ae67178fa0632f23e07673b82d3a942
* Load correct localized album names after language changeBobby Georgescu2012-11-051-2/+2
| | | | | Bug: 7459805 Change-Id: I484ffea5b07488ffdda2e265c4efa32a3333ea03
* Save edited picasa to "Edited Online Photos" albumDoris Liu2012-10-171-1/+3
| | | | | | | | | | | Bug: 7346157 This CL includes the following changes: 1) Save the new image to a new folder named "Edited Online Photos" 2) After the picture is saved, the user will be in the "Edited Online Photos" folder 3) Change the toast during saving to "Saving to" + new folder name Change-Id: Ic505925425419ba9e3c7dac31fd403bf73d6887d
* Remove old camera classes.Wu-cheng Li2012-10-161-1/+0
| | | | | bug:7201108 Change-Id: I539d02c411c654238d7e5e0c34e9ec3e6e6d4d90
* Ensure peekObject is called in the syncrhonization block.Owen Lin2012-09-111-8/+10
| | | | | bug: 7019598 Change-Id: If153287078826afc9827ea64364b4fb64f2b3a5f
* Reskin: switching between filmstrip and grid in albumBobby Georgescu2012-09-091-0/+5
| | | | | | | | | | | Bug: 7050303 Bug: 6541425 Allows switching between the filmstrip and the grid views within albums and launches camera roll in filmstrip mode by default. Also fixes animation issue when animating from full-screen to grid view. Change-Id: I2a37b92c129cc090fd807973f7e3e82fed207cd3
* Don't use Files.getContentUri in previous API levels.Owen Lin2012-08-011-2/+2
| | | | Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
* Update thumbnail if a picture is deleted in background.Chih-Chung Chang2012-06-261-0/+1
| | | | | Bug: 6712751 Change-Id: I17f56c9ff04441e51f28b3e3bec23b1ac308b70c
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-151-0/+14
| | | | | | | | | | | | | 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-6/+6
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Fix 5454748: Localize hardcoded folder names.Chih-Chung Chang2011-10-241-3/+21
| | | | Change-Id: I91586d6f707a0352be6be524e848bd2c2dacab7e
* Initial code for Gallery2.Owen Lin2011-08-181-0/+252
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c