History log of /packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2abaaf7caa9a83ba1ea759868aabde7f21387184 12-Dec-2012 John Reck <jreck@google.com> remove actionbar sherlock

Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
a4eae1abb4f2547dfbda84301ee764ce35464881 11-Dec-2012 John Reck <jreck@google.com> GL packaging refactor

Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
cfa7fde1a336a3200b2ad9091b27ba7bfd8f5c9a 05-Nov-2012 Bobby Georgescu <georgescu@google.com> Split PhotoPage into FilmstripPage and SinglePhotoPage

Bug: 7479348
Change-Id: I98f668bd00e2e09bda9d5d9965fdbdaf1b832bfa
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
bcb427870043b12d4a1a454c08a088933d0eaf23 01-Nov-2012 Bobby Georgescu <georgescu@google.com> Use the system-standard long press vibration pattern

Bug: 7216819
Change-Id: I575868583777a7a953d767d0cdaa91a439d908ff
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
372152961edd8feada0ae6478c91ba6b2565191d 31-Oct-2012 John Reck <jreck@google.com> Gingerbread support-ish

This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca.

Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
26e119cebe732582df086ff56ec564d2989042fd 18-Oct-2012 Bobby Georgescu <georgescu@google.com> Various transition tweaks/fixes in Gallery

Bug: 7376109
-Add new animation preset for photos based on UX feedback
-Fix showing of highlight when tapping album grid photo
-Move StateTransition enum to StateTransitionAnimation.State

Change-Id: I2ce57580fa6c5f34d9545561515031899eb41eb2
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
4831c7494373c360062a7becac820eba3bc39287 17-Oct-2012 Bobby Georgescu <georgescu@google.com> Big refactor, additions to state transition animations

Bug: 7362944
Refactored a lot of the state transitions code, adding
support for definable transition animations and defining
distinct outgoing and incoming animations.
Change-Id: I31a69057ea1b72dd3185cec656e59b11fdb528c1
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
57731ee210c22382d33f6f562f9e7e66fce651de 18-Oct-2012 John Reck <jreck@google.com> Only fade out if texture creation succeeded

Bug: 7366597

Change-Id: Id28970fe263d975dcd48e45fd716199bc40f64d3
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
5585826e68c62c3719fb346d40fd1999438c6c6b 15-Oct-2012 Bobby Georgescu <georgescu@google.com> Consistent animations & up button behavior in Gallery

Bug: 7302857
Bug: 7295464
This CL makes all of the transition animations throughout
the Gallery app consistent. The animation is the previous
view shrinking and fading out while the new view starts out
bigger than the view port and is coming in to the viewport
size as it fades in. Having consistent animations allows us
to not keep PhotoPage/AlbumPage instances around in certain
cases, making it possible to have consistent up button
behavior when switching between the grid and filmstrip.
Finally, this also makes the transitions in the camera app
filmstrip/grid switching consistent with those in the
gallery app.
Change-Id: I77bac6a0cde1e439738c78f9e16ab15ed5910cfb
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
efd480e85dc5bd0d2ca0ac82d03e141212388830 30-Aug-2012 Wu-cheng Li <wuchengli@google.com> Use FLAG_SHOW_WHEN_LOCKED for secure album.

The activity needs this flag to be on top of the lock screen
when the camera is started from the secure lock screen.

bug:5955016

Change-Id: If554a3f7fef4c03a981c83afe22b8c4980b954d1
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
915c2c5b2c367df71599370613af0924bd7c4887 23-Aug-2012 Bobby Georgescu <georgescu@google.com> Ongoing reskin of Gallery app

Bug: 7050303
Moved the majority of color settings from hardcoded to
colors.xml in order to allow rapid iteration with UX input.
Started changing some colors and layouts to reflect latest
UX mocks.

Change-Id: I300338e9f75c71f3ed3f36140d16e893387f3184
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
14d3289b4867c21da93ec4032119c0091bc78c30 16-Aug-2012 George Mount <mount@google.com> Clear activity result when launching from lock screen.

Bug 6710029
When the screen is locked during video play, the activity result
from that play will be triggered immediately when unlocking to
camera. The result must be destroyed on unlock so that the resume
goes to the camera rather than to the video display.

Change-Id: Ifa6f00fa1cba119d5fc6e762d1757bd6aac576f4
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
d84941f0649c751c0cc5fd2f6b233380e878ca26 17-Jul-2012 Owen Lin <owenlin@google.com> Add SimpleMenuXXX implementation for the Gingerbread platform.

1. Add a SimpleMenuInflator to parse the res/menu/xxx.xml files.
2. Add minimal code to show the menu.

**NOTE**
This change is going to be replaced by the ActionBar compat library
when it gets ready and integrated. The purpose of this change is making
Gallery/Camera run on GB.

Change-Id: Ia7d402c82a6da1b9558ebbd103e161d2471b34dd
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
11f14dc9e1d4d04b7c21b076445f3cb8c173753b 24-Jul-2012 Bobby Georgescu <georgescu@google.com> Only give haptic feedback when enabled in system settings

Bug: 6866688
Change-Id: I4e349fe666244ef5459dd591c8141768b24c910a
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
b1eb01cd02d1e75e6b9c3e593f6ff34335e2ca8a 04-Jul-2012 Owen Lin <owenlin@google.com> Don't use invalidateOptionsMenu before API level 11.

Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
afb3d1d8f341620f6b69d47d52b515f53817aa91 28-May-2012 Yuli Huang <yuli@google.com> Keep screen on for user-initiated slideshow.

Change-Id: I3085398c663e2c38a31cfde5a07b23446bb7bd7f
b:6450305
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
0b2486cff0c1b951c54325596256b986307f7f3a 18-May-2012 Chih-Chung Chang <chihchung@google.com> Use View.setSystemUiVisibility to enter/leave lights-out mode.

Bug: 6451200

Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
616a70fdb4473d2fbd7b70772a3a82b908aeae1e 07-May-2012 Owen Lin <owenlin@google.com> Add transition animation for tapping from PhotoPage.

bug:6383694
Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
655f63f04638dfe31045eab1b6b4c39cc2db10db 16-Mar-2012 Ray Chen <raychen@google.com> Revert "bug #6176711: guard against null GalleryActionBar." and
fix DialogPicker's NPE issue while setting wallpaper.

Change-Id: I833ebfb04907d3a1378df98db51c96b490796a00
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
2a4306a4b3c019c50687473d931753a82912ac48 15-Mar-2012 Wei Huang <weih@google.com> bug #6176711: guard against null GalleryActionBar.

When entering Gallery app from WallPaper picker, the activity is DialogPicker, which doesn't initialize GalleryActionbar so getGalleryActionbar() returns null. Guard against using the null object.

I fixed the obvious NPE here, but Ray or Yuli should take a closer look, to see why this is broken.

Change-Id: Ic6923c388ea7b72ab402131fc3b039546509e340
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.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/app/ActivityState.java
d83f5f227315cccfe3c23db90c93b5fd7be20597 01-Mar-2012 Yuli Huang <yuli@google.com> Fix a wrong flag value.

Change-Id: I7450dc31bb307b19dcfd34ee7df83126df1d294e
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
fe1625c46f8258be4cd5e5e1ba69b584c1fe1a49 17-Feb-2012 Ray Chen <raychen@google.com> Fix 5948223 [bug bash] Albums text disappears when exiting gallery

Change-Id: Ib787184f747ff30afabc35b16b46950dc3b5b50c
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
a9bd72c2efc7f7c26c60083d8f00380e60caf94e 16-Feb-2012 Ray Chen <raychen@google.com> Fix 5948410 BUG BASH: Temporarily title is displayed during gallery start

Change-Id: I88a67e3e9437124001be836239736a8275c1abf4
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 22-Feb-2012 Chih-Chung Chang <chihchung@google.com> Remove unused code.

Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
585ae3d5deccc58e282c55b980ef31eb655537ee 03-Feb-2012 Ray Chen <raychen@google.com> Fix 5948229 [Bug Bash] The app icon is clickable in album set view

Change-Id: I563d2322fe5f1954ffaab7424b66d22722ed43a7
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
002a3fece284f713537fad4523ee963d257350e9 30-Nov-2011 Chih-Chung Chang <chihchung@google.com> Fix 5686493: Crash when try to click any thumbnail

Change-Id: Ia109333c3a207ca2a60889c2731f6c11737b5592
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
8e6fd7cee5467824cd96b4127ccc755c70bd4ea3 28-Nov-2011 Daniel Sandler <dsandler@android.com> Improve screen on/off logic in slideshow.

When used as a screensaver or otherwise, the slideshow
should not keep the screen on if the device is not plugged
in. It should also allow the screen to lock while the
slideshow is playing (otherwise a device left in this state
may be left unsecured for long periods by accident).
Additionally, when used as a screensaver, it must dismiss
the keyguard in order to be shown on a secured device.

Bug: 5660833
Change-Id: I1bafc50127aaa7ae2b67235d30736faa606c5ac1
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.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/app/ActivityState.java
8e565703e8d482421714383a8ad40a67929ce2da 09-Sep-2011 Owen Lin <owenlin@google.com> Use different UIs for phone's portrait mode in manage offline page.

fix: 5100503

The original UI design is not suitable for phone's portait mode. I move the
UIs from GL view to android View to get better support.

Change-Id: Ice5f536129f66b51cdaf4db1be750be7bc072c7f
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
6cf807453fb58ccd4cc513ff187b306c7090e67c 28-Aug-2011 Owen Lin <owenlin@google.com> Fix several issues in Gallery2.

fix: 5189318 - use transparent background for tabs
fix: 5174277 - menu mailfunctioned after slideshow (a hack):
fix: 5153387 - wrong tab is selected in album set page

Change-Id: I68092039e566b5f7409ae509f65b227b06da16bb
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.java
b6284920898627fa787900a99fc97b71a0c77574 26-Aug-2011 Owen Lin <owenlin@google.com> Launch Gallery from review intent.

Change-Id: Iaa2e9bdfde3ac6566dd65464ece82f4a5ced6831
fix: 3462852
/packages/apps/Gallery2/src/com/android/gallery3d/app/ActivityState.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/app/ActivityState.java