History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
705dc819661cb8c8e839a04577b0641bd6caad53 21-Mar-2013 John Reck <jreck@google.com> Revert "New loading model"

Change-Id: I5d3d4c7a4ca0d11de01278529e1413fc62e6b4ed
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
4ea5c27007e38fa8583add4bacf268ba67b9f0ad 19-Jan-2013 John Reck <jreck@google.com> Tweaks for canvas

Change-Id: I9aecf757047f93159212441e5317ef2b3b304a70
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
f4f43e7dbc85ab8b7437e8f1d6ab0317470e70b6 16-Jan-2013 John Reck <jreck@google.com> New loading model

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
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
b0b369e84733d047419ca38c215e73ba7ea402f1 16-Jan-2013 John Reck <jreck@google.com> Add a blocking load to MediaSet

Change-Id: I367975fd33f884fb7e576b7064c495bdb7a3ce7b
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
7eea4d3ac59aa88d327fc0d58f5e4052f43c54c9 07-Sep-2012 Bobby Georgescu <georgescu@google.com> Reskin: switching between filmstrip and grid in album

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
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
b9e41109f413768d6f8bb5ec7c14ca31fbc0c098 30-Aug-2012 Owen Lin <owenlin@google.com> Fix NPE when deleting a photo in Clustering mode.

bug: 7075760
Change-Id: I64b278b8c9436ada23738f28510736dcf7e18755
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
e8c1e69f85efb8673d0606f3aca729a366038753 16-May-2012 Ray Chen <raychen@google.com> Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos

And removed sync error toast.

Bug: 6259517

Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
fe49be45412f8d0f68343662318e73822da486c8 24-Nov-2011 Owen Lin <owenlin@google.com> Show a dialog to require updating PlusOne.

Change-Id: I1ff4f5eca90ade49b0785324b9319ef0b7d751ca
fix: 5608342
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
9ce0381a975f65ec7794a2d3436b0424d0030f39 27-Oct-2011 Owen Lin <owenlin@google.com> Add cover image to MediaSet.

fix: 5519437
So that subclass can has its own definition on albums' cover.

Change-Id: Idf2f89933291bedf02054b9488acffe4bd68b1b3
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
57cbaa1ef40d2215c6400f5ae4af3a09e67abb2d 30-Sep-2011 Hung-ying Tyan <tyanh@google.com> Request sync when there's no mediaItem in a mediaSet.

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
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/data/MediaSet.java