summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/GLView.java
Commit message (Collapse)AuthorAgeFilesLines
* GL packaging refactorJohn Reck2012-12-111-0/+1
| | | | Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
* Big refactor, additions to state transition animationsBobby Georgescu2012-10-171-21/+19
| | | | | | | | 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/+39
| | | | | | | | | | | | | | | | | 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
* Add swipe-to-delete gesture.Chih-Chung Chang2012-06-181-0/+4
| | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* Better orientation change handling.Chih-Chung Chang2012-05-081-17/+6
| | | | | | | | Bug 6451117: Preview location is wrong after rotating the device quickly Bug 6444303: The preview location is wrong when camera is started upside down on tablet Bug 6451710: Tap to focus broken in landscape Change-Id: I12fd57d6618ec5521ccc6efcbf65de57ff2ea3d2
* Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-301-0/+10
| | | | | | | | | | | | | Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device Bug 6313192: Swiping UX: make Gallery display in rotated mode Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly Bug 6401075: Able to scroll through the gallery pics while capturing video. Bug 6405087: Filmstrip does not change with orientation Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
* Reorganize import for all files.Owen Lin2012-03-141-3/+3
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Remove unused code.Chih-Chung Chang2012-02-231-8/+0
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Cache animation time value to reduce work and synchronize animation.Chih-Chung Chang2012-02-171-1/+1
| | | | Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-161-2/+2
| | | | | | | | (1) make a faster version of translate(x, y). (2) make mapPoints() faster. (3) avoid calling canvas.rotate() when it is not needed. Change-Id: I364e2aa3fc9ee81c43f42f3af8b2d30a1241b482
* Improve the performance of Reviewing a photo.Owen Lin2011-09-051-3/+4
| | | | | | | | | | | | | | | | | fix: 5144370 There is two componenet in the photo page. One is the large photo and the other is the thumbnail strip. They idenpendently load their own data and images. This change fixes several issues here: 1. Prevent sending to many jobs to ThreadPool and block others. In a worse case, if the thumbnail strip send image requests first, it may block the ThreadPool very long. 2. Improve the performance of extracting thumbnails from local files. Now we try to extract the thumbnails from EXIF data first. Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498
* Initial code for Gallery2.Owen Lin2011-08-181-0/+431
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c