summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/ActivityState.java
Commit message (Collapse)AuthorAgeFilesLines
* remove actionbar sherlockJohn Reck2012-12-121-7/+6
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* GL packaging refactorJohn Reck2012-12-111-1/+1
| | | | Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
* Split PhotoPage into FilmstripPage and SinglePhotoPageBobby Georgescu2012-11-051-2/+2
| | | | | Bug: 7479348 Change-Id: I98f668bd00e2e09bda9d5d9965fdbdaf1b832bfa
* Use the system-standard long press vibration patternBobby Georgescu2012-10-311-14/+6
| | | | | Bug: 7216819 Change-Id: I575868583777a7a953d767d0cdaa91a439d908ff
* Gingerbread support-ishJohn Reck2012-10-311-6/+7
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Various transition tweaks/fixes in GalleryBobby Georgescu2012-10-181-14/+12
| | | | | | | | | 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-18/+29
| | | | | | | | 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
* Only fade out if texture creation succeededJohn Reck2012-10-171-2/+3
| | | | | | Bug: 7366597 Change-Id: Id28970fe263d975dcd48e45fd716199bc40f64d3
* Consistent animations & up button behavior in GalleryBobby Georgescu2012-10-161-1/+31
| | | | | | | | | | | | | | | | | 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-7/+6
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Use FLAG_SHOW_WHEN_LOCKED for secure album.Wu-cheng Li2012-08-311-12/+18
| | | | | | | | | 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
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-9/+13
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Ongoing reskin of Gallery appBobby Georgescu2012-08-241-0/+14
| | | | | | | | | | 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
* Clear activity result when launching from lock screen.George Mount2012-08-171-0/+3
| | | | | | | | | | 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 SimpleMenuXXX implementation for the Gingerbread platform.Owen Lin2012-08-151-1/+3
| | | | | | | | | | | | 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
* Only give haptic feedback when enabled in system settingsBobby Georgescu2012-07-241-0/+15
| | | | | Bug: 6866688 Change-Id: I4e349fe666244ef5459dd591c8141768b24c910a
* Don't use invalidateOptionsMenu before API level 11.Owen Lin2012-07-051-2/+1
| | | | Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
* Keep screen on for user-initiated slideshow.Yuli Huang2012-05-291-4/+6
| | | | | Change-Id: I3085398c663e2c38a31cfde5a07b23446bb7bd7f b:6450305
* Use View.setSystemUiVisibility to enter/leave lights-out mode.Chih-Chung Chang2012-05-171-15/+8
| | | | | | Bug: 6451200 Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
* Add transition animation for tapping from PhotoPage.Owen Lin2012-05-171-0/+8
| | | | | bug:6383694 Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0
* Revert "bug #6176711: guard against null GalleryActionBar." andRay Chen2012-03-191-4/+1
| | | | | | fix DialogPicker's NPE issue while setting wallpaper. Change-Id: I833ebfb04907d3a1378df98db51c96b490796a00
* bug #6176711: guard against null GalleryActionBar.Wei Huang2012-03-151-1/+4
| | | | | | | | 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
* Fix 3462852 [UI] When linking from Camera preview - App icon with 'Up' arrow ↵Ray Chen2012-03-151-6/+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
* Fix a wrong flag value.Yuli Huang2012-03-011-3/+3
| | | | Change-Id: I7450dc31bb307b19dcfd34ee7df83126df1d294e
* Fix 5948223 [bug bash] Albums text disappears when exiting galleryRay Chen2012-02-251-0/+2
| | | | Change-Id: Ib787184f747ff30afabc35b16b46950dc3b5b50c
* Fix 5948410 BUG BASH: Temporarily title is displayed during gallery startRay Chen2012-02-241-3/+3
| | | | Change-Id: I88a67e3e9437124001be836239736a8275c1abf4
* Remove unused code.Chih-Chung Chang2012-02-231-1/+0
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Fix 5948229 [Bug Bash] The app icon is clickable in album set viewRay Chen2012-02-031-1/+2
| | | | Change-Id: I563d2322fe5f1954ffaab7424b66d22722ed43a7
* Fix 5686493: Crash when try to click any thumbnailChih-Chung Chang2011-11-301-1/+3
| | | | Change-Id: Ia109333c3a207ca2a60889c2731f6c11737b5592
* Improve screen on/off logic in slideshow.Daniel Sandler2011-11-291-4/+54
| | | | | | | | | | | | | 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
* Request sync when there's no mediaItem in a mediaSet.Hung-ying Tyan2011-10-071-0/+7
| | | | | | | | | | | | | | 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/+4
| | | | | | | | | 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
* Fix several issues in Gallery2.Owen Lin2011-08-301-3/+5
| | | | | | | | 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
* Launch Gallery from review intent.Owen Lin2011-08-261-0/+1
| | | | | Change-Id: Iaa2e9bdfde3ac6566dd65464ece82f4a5ced6831 fix: 3462852
* Initial code for Gallery2.Owen Lin2011-08-181-0/+136
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c