History log of /packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.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/LocalAlbum.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/LocalAlbum.java
fcf54601d45bfcef2fbeb911c46ff394e84d7011 13-Dec-2012 Doris Liu <tianliu@google.com> Add relativePath field into photo widget db

Bug: 7481248

The bug is caused by the change of external storage going from JB to JBMR1.
In light of this change, a new field has been added to the photo widget app
database to store the relative path for the local album. With the relative paths
stored, the widget app should be more resilient to future storage path changes.

Change-Id: Ia2497b882ae67178fa0632f23e07673b82d3a942
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.java
ef1e404cfa1227e309786675a6026dec842b5ab1 05-Nov-2012 Bobby Georgescu <georgescu@google.com> Load correct localized album names after language change

Bug: 7459805
Change-Id: I484ffea5b07488ffdda2e265c4efa32a3333ea03
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.java
0addfc7f6342184a67cdd8b5cc3872c6a5c87e55 18-Oct-2012 Doris Liu <tianliu@google.com> Save edited picasa to "Edited Online Photos" album

Bug: 7346157

This CL includes the following changes:
1) Save the new image to a new folder named "Edited Online Photos"
2) After the picture is saved, the user will be in the "Edited Online Photos" folder
3) Change the toast during saving to "Saving to" + new folder name

Change-Id: Ic505925425419ba9e3c7dac31fd403bf73d6887d
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.java
84440670da46866867ace3be2c358a54db984a6d 14-Oct-2012 Wu-cheng Li <wuchengli@google.com> Remove old camera classes.

bug:7201108
Change-Id: I539d02c411c654238d7e5e0c34e9ec3e6e6d4d90
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.java
676d4762496eddae66930c6f8b0bae22a22b3ef6 04-Sep-2012 Owen Lin <owenlin@google.com> Ensure peekObject is called in the syncrhonization block.

bug: 7019598
Change-Id: If153287078826afc9827ea64364b4fb64f2b3a5f
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.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/LocalAlbum.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/LocalAlbum.java
c7e89daeb178a895de211c411d09a822de52e4e9 26-Jun-2012 Chih-Chung Chang <chihchung@google.com> Update thumbnail if a picture is deleted in background.

Bug: 6712751
Change-Id: I17f56c9ff04441e51f28b3e3bec23b1ac308b70c
/packages/apps/Gallery2/src/com/android/gallery3d/data/LocalAlbum.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/LocalAlbum.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/LocalAlbum.java
6caf221c4888f8632e8eb5b60b145bfca3557b3a 24-Oct-2011 Chih-Chung Chang <chihchung@google.com> Fix 5454748: Localize hardcoded folder names.

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