summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/StateManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Stay in AlbumPage when dismissing a popup from APDoris Liu2012-10-231-0/+7
| | | | | | Bug: 7384972 Change-Id: Ie2434ecc203a98610f1954b73a3d6916940eb812
* Various transition tweaks/fixes in GalleryBobby Georgescu2012-10-181-4/+6
| | | | | | | | | 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
* Big refactor, additions to state transition animationsBobby Georgescu2012-10-171-9/+14
| | | | | | | | 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
* Consistent animations & up button behavior in GalleryBobby Georgescu2012-10-161-0/+6
| | | | | | | | | | | | | | | | | 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
* Remove ActionBarSherlockOwen Lin2012-10-021-2/+2
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Fix crash in album pageBobby Georgescu2012-09-301-1/+5
| | | | | | | | Bug: 7258955 Avoid second call to onPause when finishing ActivityState instance within onPause. Change-Id: I6081a6467e109a6edf35e60d24193e550cb0dd21
* Making switchState publicDoris Liu2012-09-221-1/+1
| | | | | | | | | | Bug: 7208910 switchState was only accessible within package com.android.gallery3d.app . Now changing it to public so that it can be called from camera. This is part 1 of 2 in fixing the bug. Not sure if it's the best way to fix it. Comments are welcome. Change-Id: I4aac46f640f2dd3aa973abd9610a37fa2842ed29
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-11/+11
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Clear activity result when launching from lock screen.George Mount2012-08-171-0/+6
| | | | | | | | | | 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
* Add transition animation for tapping from PhotoPage.Owen Lin2012-05-171-0/+1
| | | | | bug:6383694 Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
* Keep the last page if finish() is rejected.Owen Lin2012-05-081-15/+16
| | | | | bug: 6414642 Change-Id: I480edc43608c08088177113cb3607d517c91e9f6
* Remove PhotoPage spinner shown in the action-bar.Yuli Huang2012-05-071-4/+3
| | | | | | | Remove spinners shown for loading data out of view. bug:5406790 Change-Id: Iffaf97937b86b869559a27f190941c1de263e422
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-151-15/+1
| | | | | | | | | | | | | 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
* Reorganize import for all files.Owen Lin2012-03-141-2/+2
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Fix 5835642: Only finish the page when it's still active.Chih-Chung Chang2012-01-091-1/+1
| | | | | | | | | The original code can call finishState twice in a row with the calling stack: finishState -> onPause -> clearLoadingBit -> finishState. Change clearLoadingBit to call finishState only when it's currently active. Change-Id: I537dbdd6ce26b26aeb565e243c4168229d4a70ef
* Request sync when there's no mediaItem in a mediaSet.Hung-ying Tyan2011-10-071-3/+8
| | | | | | | | | | | | | | 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
* Use different UIs for phone's portrait mode in manage offline page.Owen Lin2011-09-141-0/+7
| | | | | | | | | 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
* Launch Gallery from review intent.Owen Lin2011-08-261-4/+18
| | | | | Change-Id: Iaa2e9bdfde3ac6566dd65464ece82f4a5ced6831 fix: 3462852
* Initial code for Gallery2.Owen Lin2011-08-181-0/+277
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c