summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/LocalMergeAlbum.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New loading model"John Reck2013-03-211-19/+11
| | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* New loading modelJohn Reck2013-01-161-11/+19
| | | | | | | | | | | | | 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
* Load correct localized album names after language changeBobby Georgescu2012-11-051-4/+1
| | | | | Bug: 7459805 Change-Id: I484ffea5b07488ffdda2e265c4efa32a3333ea03
* Fix crash, remove logging added to diagnose bugBobby Georgescu2012-10-021-11/+2
| | | | | | | | | Bug: 7216012 LocalMergeAlbum index was not being initialized in constructor so it was possible to access the index before it was populated with information. Change-Id: I7025839b0f3953b827f06c717cff6dc47a15b06c
* More logs for gallery crash error, remove a potential causeBobby Georgescu2012-10-011-1/+12
| | | | | | | | | | Bug: 7216012 Made sure that FilterDeleteSet doesn't ever return stale item counts, added extra logging in LocalMergeAlbum for NoSuchElementException so that we can have more info to diagnose this crash if it happens in the future. Change-Id: Ic988522fda4a16bb483db6ad34bc7f81ee098b03
* Reskin: switching between filmstrip and grid in albumBobby Georgescu2012-09-091-0/+9
| | | | | | | | | | | 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/+14
| | | | Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-151-1/+12
| | | | | | | | | | | | | 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
* Initial code for Gallery2.Owen Lin2011-08-181-0/+226
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c