History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.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/LocalAlbumSet.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/LocalAlbumSet.java
4e091eb758a3ac1016b373419cea1ada1b977bc5 10-Oct-2012 George Mount <mount@google.com> Change how stitched images are inserted into Gallery.

Bug 7299396
Stitching images now use normal LocalImages for their MediaItem
instead of LightCycleItems. They are no longer part of a special
album.

Change-Id: Ic62822a44b9743829dee50bcfa6f455cd538afa7
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
c64d127c976f8ef647552063ff14ead4388ce699 19-Sep-2012 Angus Kong <shkong@google.com> Support panorama progress items in Gallery.

Bug 7259843
Add dummy files for showing panorama progress in filmstrip.

Change-Id: I7ae92b90bbbd992fde00cfcfc68af69b34d34d74
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
a0ce682e40c39ce046c48d8a7f989fff01bb9f2c 22-Aug-2012 Wu-cheng Li <wuchengli@google.com> Add secure album support for lock screen camera.

Secure album only shows the media items added by
the camera.

bug:5955016

Change-Id: Id26abec4dfcc036cf9de682398fed25eed73d1a5
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
90df352389eda7c964e6a43a0b752d27f16e02a7 31-Jul-2012 Owen Lin <owenlin@google.com> Don't use Files.getContentUri in previous API levels.

Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.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/LocalAlbumSet.java
9ca9c3705c2176f1da98c573a9d765fc65b840ce 17-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in onContentDirty.

onContentDirty is suppose to be called in Main thread.

Change-Id: Ic6a0fba8abd8a3e17d400bcfc5b82d272b07bc41
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
91adea8b4fc292b046b66c6501166fe7a151d253 16-Apr-2012 Owen Lin <owenlin@google.com> Fix a concurrent issue in reload().

We need to hold the DataManager.LOCK when calling reload.

Change-Id: If908c233bcd835effffc7750a7ef07f56a63136c
fix: 6315479
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
d134e18e3c2d9614099d3b74e1a6a12159a1e81a 23-Mar-2012 Ray Chen <raychen@google.com> Move getTypeString from PicasaAlbumSet to MediaObject.

b/5344124

Change-Id: I28a43615ebec0aa84c3b16ac006def26f7b56162
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
aa6ac7f6ce0e1cab5b36e6bba97d2fec082f4759 16-Mar-2012 Owen Lin <owenlin@google.com> Make top level albums can be loaded concurrently.

Change-Id: I1acef9fc9a442c36ad1d9d0931b0defc6091bf33
fix: 5947962
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
c3b30370ce9665d4371f61f0224b7f262dd2c7ee 13-Mar-2012 Owen Lin <owenlin@google.com> Add log to debug loading time.

Change-Id: I53ddb3cdce7abe9de7c5bbd85c1adad474bdff2f
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
84c220f10a643927c8a2126de8a755d8d7f7ec9e 06-Mar-2012 Ray Chen <raychen@google.com> Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow 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
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
2b3ee0ea07246b859a5b75d8a6102a7cce7ec838 14-Mar-2012 Owen Lin <owenlin@google.com> Reorganize import for all files.

Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.java
4bdd71bcde93e6f942e2a947a10ee32f63b37828 29-Sep-2011 Chih-Chung Chang <chihchung@google.com> Fix 5336726: sort local albums by reverse chronological order.

Change-Id: I3a04286bea7f43d5f3542b37eddbb4a0801e94f5
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbumSet.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/LocalAlbumSet.java