summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/data/MediaSet.java
Commit message (Collapse)AuthorAgeFilesLines
* Tweaks for canvasJohn Reck2013-01-181-6/+0
| | | | Change-Id: I9aecf757047f93159212441e5317ef2b3b304a70
* New loading modelJohn Reck2013-01-161-15/+72
| | | | | | | | | | | | | 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 a blocking load to MediaSetJohn Reck2013-01-161-0/+6
| | | | Change-Id: I367975fd33f884fb7e576b7064c495bdb7a3ce7b
* Reskin: switching between filmstrip and grid in albumBobby Georgescu2012-09-091-0/+4
| | | | | | | | | | | 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
* Fix NPE when deleting a photo in Clustering mode.Owen Lin2012-08-301-1/+3
| | | | | bug: 7075760 Change-Id: I64b278b8c9436ada23738f28510736dcf7e18755
* 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
* 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
* Show a dialog to require updating PlusOne.Owen Lin2011-11-241-33/+24
| | | | | Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca fix: 5608342
* Add cover image to MediaSet.Owen Lin2011-11-011-0/+10
| | | | | | | fix: 5519437 So that subclass can has its own definition on albums' cover. Change-Id: Idf2f89933291bedf02054b9488acffe4bd68b1b3
* Request sync when there's no mediaItem in a mediaSet.Hung-ying Tyan2011-10-071-4/+122
| | | | | | | | | | | | | | This is to fix the problem where media items haven't been sync'ed when the album set or album is viewed for the first time. + Add MediaSet.SyncListener. + Make AlbumPage and AlbumSetPage implement SyncListener. + Implement requestSync() for ComboAlbum and ComboAlbumSet. + add ActivityState.isDestroyed(). This also fixes the problem where StateManager.finishState() may be called twice. Bug: 5337899 Change-Id: I25364c3ac25721a2650701c5d7931bfb6daa9303
* Initial code for Gallery2.Owen Lin2011-08-181-0/+219
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c