summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/gallery3d/ui
Commit message (Collapse)AuthorAgeFilesLines
* This removes all non-Camera stuff from Camera2.Sascha Haeberling2013-08-066-958/+0
| | | | | | | Note: Camera2 is a clone of Gallery2 right now. Note 2: I will bring .mk files back later. Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
* Remove GL dependency on unused stencil buffers.George Mount2013-05-091-15/+0
| | | | | | Bug 8884435 Change-Id: I8e7f0563a4a901953e3e2b14e35457b4fefe2e34
* Fix slide show animation so that cross fades work.George Mount2013-01-091-3/+0
| | | | | | | | | | | Bug 7961297 Removed the "Additive" blending, which didn't do anything, even in OpenGL ES 1.1 implementation. Modified the texturing to change the color of the pixels based on the supplied alpha rather than modifying the alpha. This appears to match the implementation in the OpenGL ES 1.1 pipeline. Change-Id: I52491af1a8a2d727968e4e805bc4bc61647f5cf2
* Instantiate GLCanvas rather than reinitialize current GLCanvas.George Mount2013-01-081-4/+6
| | | | | | | GLCanvas was being used as a singleton when it really should allow separate instances for correctness. Change-Id: I650884e843a4a78997b70826f6012ae19b8df549
* Move LightCycle to render directly to GLRootView.George Mount2012-12-171-0/+7
| | | | Change-Id: I298ef7127d86ca37067ffa953640aad1747961f9
* GL packaging refactorJohn Reck2012-12-117-2353/+7
| | | | Change-Id: I1d7a95c4f0b91a5ba59030d57cf6865c11b497aa
* Add GLES20 canvas implementation.George Mount2012-12-053-14/+35
| | | | Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
* Separate GL calls into GLCanvas in preparation for adding GLES2.George Mount2012-11-202-8/+69
| | | | Change-Id: I2756c14294a36af7905766ee650fa08fb95e9477
* Fix build.Angus Kong2012-10-262-0/+4
| | | | Change-Id: Ia7b581eba32f98d695117526d25876e7a8a398c0
* Merge "Revert "Revert "Upload screennails in tiles to prevent jank""" into ↵Owen Lin2012-10-151-0/+2
|\ | | | | | | gb-ub-photos-arches
| * Revert "Revert "Upload screennails in tiles to prevent jank""Owen Lin2012-10-111-0/+2
| | | | | | | | | | | | | | This reverts commit ad7cf187bf0c11b05aa3eab7085148e0353f2af5. bug: 6399444 Change-Id: I94b286ab3e0db21c582cbfa9183489613da30edb
* | Fix buildJohn Reck2012-10-152-0/+4
|/ | | | Change-Id: Ic7bb61c463d237f9ee5fabc8e7f7325ecf1da43c
* Revert "Upload screennails in tiles to prevent jank"Bart Sears2012-10-061-2/+0
| | | | | | | | | | This CL is reported to cause images to not be displayed correctly when opened via the view intent. Bug: 7299123 This reverts commit e29fc4a51b99f12f7fae13fae272858df2e1af36 Change-Id: I5052548a826c275cb4559eeb4721c19f06861b3d
* Upload screennails in tiles to prevent jankOwen Lin2012-10-051-0/+2
| | | | | | bug: 6399444 Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
* Ongoing reskin of Gallery appBobby Georgescu2012-08-241-1/+1
| | | | | | | | | | 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
* First gallery reskin iteration.Bobby Georgescu2012-08-091-0/+1
| | | | Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
* Fix build.Owen Lin2012-05-221-1/+1
| | | | Change-Id: Ied20eb41fcae52f40f319adb0fbbfad4d94e3019
* Add a new state uploading to UploadedTexture.Owen Lin2012-05-221-14/+14
| | | | | | | | | | | | | This state means the texture is being uploaded in background and should not be drawn now to prevent janking. Sometimes, we may lose GLContext and we will need to reupload textures again. In this case, we would like to upload these texture in foreground instead of using TextureUploader. (for simplicity since this won't happen too often). bug: 6519344 Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03
* Use View.setSystemUiVisibility to enter/leave lights-out mode.Chih-Chung Chang2012-05-172-0/+2
| | | | | | Bug: 6451200 Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
* Add freeze/unfreeze for GLRootView.Chih-Chung Chang2012-05-102-0/+4
| | | | Change-Id: Ieb78041fea22b064d176ea1318cf5883d5d4c94f
* Better orientation change handling.Chih-Chung Chang2012-05-082-2/+10
| | | | | | | | 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
* Add support to draw on texture.Owen Lin2012-05-021-0/+2
| | | | Change-Id: I95dd5d29352692b702503969e1ebe07bc91a8a73
* Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-302-0/+2
| | | | | | | | | | | | | 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
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-022-0/+12
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Remove unused code.Chih-Chung Chang2012-02-234-408/+1
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Reduce memory allocation and make small improvements.Chih-Chung Chang2012-02-221-2/+2
| | | | Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
* Cache animation time value to reduce work and synchronize animation.Chih-Chung Chang2012-02-171-20/+0
| | | | Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-161-0/+1
| | | | | | | | (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
* Initial code for Gallery2.Owen Lin2011-08-1811-0/+3616
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c