summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AlbumDataLoader.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "New loading model"John Reck2013-03-211-1/+1
| | | | Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
* New loading modelJohn Reck2013-01-161-1/+1
| | | | | | | | | | | | | 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
* AlbumDataLoader.get returns correct value if not in cacheBobby Georgescu2012-11-271-2/+1
| | | | | Bug: 7621656 Change-Id: I8b73837f41bf4ac8c753a5d84f251219fde8ae75
* Show sync error toast only when both loading and syncing are done.Hung-ying Tyan2012-10-301-3/+26
| | | | | Bug: 7427597 Change-Id: Ie1fe8510e2a2225424b3c2892b2c0a8b4021324c
* Ensure peekObject is called in the syncrhonization block.Owen Lin2012-09-111-13/+7
| | | | | bug: 7019598 Change-Id: If153287078826afc9827ea64364b4fb64f2b3a5f
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-1/+1
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Code clean up.Ahbong Chang2012-07-301-0/+2
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Use actual selection for album/photo detailsMichael Kolb2012-07-261-1/+13
| | | | | | Bug: 6533154 Change-Id: I21ce95d79567396840f08095b986ecc54263a295
* Refactor. Rename AlbumView to AlbumSlotRenderer.Owen Lin2012-04-091-0/+367
Change-Id: I7d8d3586a910dac35975e4effa0d02528e2ccf98