diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-08-27 11:48:35 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-28 13:40:40 -0700 |
commit | 766941ee72831a2c76defb4d826cab24d918e0df (patch) | |
tree | baff509f3327ab55aacccaf940be6b944704f7d1 /src/com/android/gallery3d/app/AlbumPage.java | |
parent | 3fa6947fc3909020f3a37cc1fd9a9b9d4d9f93e8 (diff) | |
download | android_packages_apps_Gallery2-766941ee72831a2c76defb4d826cab24d918e0df.tar.gz android_packages_apps_Gallery2-766941ee72831a2c76defb4d826cab24d918e0df.tar.bz2 android_packages_apps_Gallery2-766941ee72831a2c76defb4d826cab24d918e0df.zip |
Reskin: Launch photos in lights-out mode
Bug: 7050303
- Launch photos in lights out mode when opening from album
- One last missing call to super.onCreate added in
ManageCachePage
Change-Id: I7ad0e64f30748b724d184791e0e0a6a030850049
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumPage.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/AlbumPage.java b/src/com/android/gallery3d/app/AlbumPage.java index 195c8e71a..f1063925e 100644 --- a/src/com/android/gallery3d/app/AlbumPage.java +++ b/src/com/android/gallery3d/app/AlbumPage.java @@ -267,10 +267,14 @@ public class AlbumPage extends ActivityState implements GalleryActionBar.Cluster mSelectionManager.toggle(item.getPath()); mSlotView.invalidate(); } else { - // Show pressed-up animation for the single-tap. + // Launch photos in lights out mode + mActivity.getGLRoot().setLightsOutMode(true); + + // Render transition in pressed state mAlbumView.setPressedIndex(slotIndex); prepareFadeOutTexture(); mAlbumView.setPressedIndex(-1); + pickPhoto(slotIndex); } } |