summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui
Commit message (Collapse)AuthorAgeFilesLines
* Video: Add the mute functionality.Teng-Hui Zhu2012-11-141-0/+2
| | | | | | | | | 1. Enable the mute video functionality. 2. Consolidate the sharing code, especially for file handling. bug:7543943 Change-Id: Ie7ec605996bc3242b1a50385f506e6a50ee2d2fc
* Disable operations when no item is selectedDoris Liu2012-10-311-0/+9
| | | | | Bug: 7441208 Change-Id: I2f435ad8aa0b578ecfec426f7ad6287f0f210f48
* Gingerbread support-ishJohn Reck2012-10-314-13/+18
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Remove black borders in Manta LightCycle capture after orientation change.George Mount2012-10-261-0/+7
| | | | | | Bug 7344906 Change-Id: I70017e4479962d49aedb06ea7b050f638e00fc06
* Merge "Fix the black lines near edge of thumbnails" into gb-ub-photos-archesBobby Georgescu2012-10-261-7/+11
|\
| * Fix the black lines near edge of thumbnailsOwen Lin2012-10-261-7/+11
| | | | | | | | | | | | | | | | | | 1. Correct the positions of right and bottom borders 2. Turn off blending by using PoterDuffMode.SRC bug: 7414307 Change-Id: Icc6fd765c2b1e904308c53aa66b55600e0016471
* | Merge "Hold WakeLock for batch delete operation" into gb-ub-photos-archesBobby Georgescu2012-10-263-31/+80
|\ \ | |/ |/|
| * Hold WakeLock for batch delete operationBobby Georgescu2012-10-253-31/+80
| | | | | | | | | | Bug: 6680729 Change-Id: I0bdd59edb60c746c8c9e3c3608be980247f0d91a
* | Merge "Fix tiling effect when open a photo." into gb-ub-photos-archesHung-ying Tyan2012-10-252-2/+13
|\ \
| * | Fix tiling effect when open a photo.Owen Lin2012-10-252-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't draw the tiles of full image before screen nail is ready. 2. Upload multiple tiles in each frame in order to show photo quickly. bug: 7403409 Change-Id: Ic5a88a29fe302068e97ab81ab260d0cc572dd7ff
* | | Merge "Fixed crop intent." into gb-ub-photos-archesRuben Brunk2012-10-251-1/+3
|\ \ \
| * | | Fixed crop intent.Ruben Brunk2012-10-251-1/+3
| | |/ | |/| | | | | | | | | | | | | Bug: 7415140 Bug: 7403813 Change-Id: I545162544f845d210d21185cddaca09b219fb091
* / | Get rid of black lines near edge of thumbnailsBobby Georgescu2012-10-251-2/+2
|/ / | | | | | | | | Bug: 7414307 Change-Id: If77e04945ff6df65301a6802dd40fabc8c329bfa
* | Force renderring request for Camera Animation.Angus Kong2012-10-252-0/+6
| | | | | | | | | | bug:7410862 Change-Id: I439186f2fea5ee0939ddcfcb9d77a49d0047727b
* | Fix attempted uploading of recycled tilesBobby Georgescu2012-10-241-8/+13
| | | | | | | | | | Bug: 7405398 Change-Id: I17711f9c724af216aa22cee6a86d9feba84c1548
* | Do not show bottom controls when undo bar is visibleBobby Georgescu2012-10-241-0/+3
|/ | | | | Bug: 7403458 Change-Id: I1e789ebd7f08256a1ccbdb2ac9f2f9f97d0859c6
* Use TiledTexture for thumbnails.Owen Lin2012-10-248-41/+81
| | | | | | | | | | 1. Use TiledTexture for thumbnails to prevent jank in uploading big thumbnails. (e.g., 512 * 512) 2. Use larger thumbnails (DISPLAY_LONG_SIDE / 5). bug: 7381302 Change-Id: I7661d648373e893b40b2a0304037171760091e00
* Fix NPEJohn Reck2012-10-231-9/+11
| | | | | | Bug: 7399438 Change-Id: Ida0bcc0689d5a797e3c60c3ee51542512fbadf1e
* Merge "Show panorama thumbs in Gallery grid view" into gb-ub-photos-archesDoris Liu2012-10-225-26/+26
|\
| * Show panorama thumbs in Gallery grid viewDoris Liu2012-10-225-26/+26
| | | | | | | | | | | | | | | | | | | | Bug: 7362229 Bug: 7378208 In addition to showing pano thumbs, this CL also removes the video play icon on the top-level album view thumbnails. Change-Id: I950bc66c38575036d5ad7464a2fd9a5dea9fae4b
* | Drive GLRootView with ChoreographerJohn Reck2012-10-221-0/+15
|/ | | | | | | | | Bug: 7332724 By routing requestRender through postOnAnimation we can drive the GLRootView's rendering with the UI thread's coreographer, which ensures that touch events are processed before drawing Change-Id: Iac2b3229e9a09ee0319c64c5fc7cb906512a379c
* Fix delete and undo behavior on filmstripBobby Georgescu2012-10-191-2/+3
| | | | | Bug: 7353749 Change-Id: Ib0abd3f71783c01b1df418dd76e674bf05e65ce7
* Re-enable crop for new panoramaMangesh Ghiware2012-10-191-1/+0
| | | | | Bug: 7326215 Change-Id: Ic7a87baceb8aff6247d40b91d4c60cd47c86c377
* Saner behavior when deleting in filmstrip modeBobby Georgescu2012-10-191-2/+1
| | | | | Bug: 7353749 Change-Id: Ic9854d205fe5ab76dd1cfe78fee314e93e1ace55
* Remove panorama checks from supported operations.George Mount2012-10-182-20/+98
| | | | | | | | | | Bug 7351383 Bug 7349438 Move panorama support checks from getSupportedOperations so that calls to getSupportedOperations are consistent. Panorama checks are moved to only based on callbacks. Change-Id: Id9ff138204df84c6fb0a4c971dcea59f1220aee2
* Big refactor, additions to state transition animationsBobby Georgescu2012-10-173-36/+44
| | | | | | | | 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-3/+9
| | | | | | Bug: 7366597 Change-Id: Id28970fe263d975dcd48e45fd716199bc40f64d3
* Change double tap scale from 1.5 to 1.0John Reck2012-10-171-2/+2
| | | | | | Bug: 7287834 Change-Id: I43312825c1494e385a36a3783765de33d2b691e2
* Merge "Add permission to GalleryProvider." into gb-ub-photos-archesHung-ying Tyan2012-10-161-0/+2
|\
| * Add permission to GalleryProvider.Owen Lin2012-10-171-0/+2
| | | | | | | | | | bug: 7202384 Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
* | Update Camera album overlay icon assetBobby Georgescu2012-10-161-1/+1
|/ | | | | Bug: 7332688 Change-Id: Id7ada222551187787c4e3b50f52dcdc5c6c70929
* Merge "Consistent animations & up button behavior in Gallery" into ↵Bobby Georgescu2012-10-163-2/+41
|\ | | | | | | gb-ub-photos-arches
| * Consistent animations & up button behavior in GalleryBobby Georgescu2012-10-163-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 hook to manipulate SurfaceTexture transformJohn Reck2012-10-161-0/+3
|/ | | | | | Bug: 7302956 Change-Id: I32bdeb22630dbeba9f028e1c68167d10a5288a28
* Fixes bugs in TiledTexture.Owen Lin2012-10-165-204/+236
| | | | | | | | | 1. Upload tiles in SinglePhotoDataAdapter 2. Rebuild the upload queue after the screen nails being recycled bug: 6399444 Change-Id: I57e756f8d1d84742bf82dd34c83baf8df89ae4cc
* Merge "Revert "Revert "Upload screennails in tiles to prevent jank""" into ↵Owen Lin2012-10-156-54/+389
|\ | | | | | | gb-ub-photos-arches
| * Revert "Revert "Upload screennails in tiles to prevent jank""Owen Lin2012-10-116-54/+389
| | | | | | | | | | | | | | This reverts commit ad7cf187bf0c11b05aa3eab7085148e0353f2af5. bug: 6399444 Change-Id: I94b286ab3e0db21c582cbfa9183489613da30edb
* | Fix SRI Pano orientationJohn Reck2012-10-152-3/+17
| | | | | | | | | | | | Bug: 7345511 Change-Id: I9a06f03b67ba820b86520588415ff3ab16f05829
* | Move calls to LightCycleHelper off the UI thread.Mangesh Ghiware2012-10-111-2/+2
| | | | | | | | | | | | | | | | | | Bug: 7320303 Replace multiple methods in LightCycleHelper with a single one that returns relevant metadata. Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
* | Fix size of peripheral items when first opening filmstripBobby Georgescu2012-10-101-0/+1
| | | | | | | | | | Bug: 7327570 Change-Id: I168a0297e9ac65786dbb05c02228665a67f80dff
* | Make album set grid view reflect latest UI mocksBobby Georgescu2012-10-101-4/+4
|/ | | | | Bug: 7300836 Change-Id: I3024b8ffbba7ee08642012c80509992335bbd5bf
* Fix inverted panorama previewJohn Reck2012-10-091-0/+4
| | | | | | | | Bug: 7314703 Panorama only support rotations of 0 and 90, so if it is greater than that flip the output surface texture Change-Id: I9885feb88d2d1c3e0dabaa7ecd8db66c2ddfb93b
* Fix lack of snapback on very short scrollBobby Georgescu2012-10-091-3/+2
| | | | | | | | | | | Bug: 7318609 snapToNeighborImage returns false if it didn't actually need to move to a neighboring image, so use this information to correctly snapback if needed. Change-Id: I28bbcb5ea224957fefa3838891c4343a1d9b8aff
* Use framework orientationJohn Reck2012-10-081-3/+0
| | | | | | Bug: 7292373 Change-Id: I66e0c3a3b43a5d544ecc3fc9a4a04fa5521d36b2
* Correct undo behaviorBobby Georgescu2012-10-081-8/+3
| | | | | Bug: 7307293 Change-Id: I72f814acd3625024f1e2aeccec4abfd28ad3319b
* Share only 360-degree panoramas with new MIME typeMangesh Ghiware2012-10-082-5/+5
| | | | | | | | | | Bug: 7302972 Instead of using the UsePanoramaViewer attribute in XMP metadata, ensure that the panorama is full 360 degree by checking if the cropped width is same as the full panorama width. Change-Id: I66d864df96052f96db5fa19fb02b3abe214b4dec
* Merge "Fix ANR in creating the fallback animation." into gb-ub-photos-archesOwen Lin2012-10-071-3/+4
|\
| * Fix ANR in creating the fallback animation.Owen Lin2012-10-051-3/+4
| | | | | | | | | | bug: 6620501 Change-Id: Ibb798cce5dd49bb5083de6f29225bae512d589f8
* | Implement new grid layout in GalleryBobby Georgescu2012-10-061-0/+10
| | | | | | | | | | Bug: 7300836 Change-Id: Iab2b4f1caa52c5aa7638983fec194b3f81cc4c31
* | Tune swipe to delete in filmstripBobby Georgescu2012-10-061-2/+2
| | | | | | | | | | Bug: 7277872 Change-Id: I01da98f4528b92308984e6ec7f1bc68e3e55697d