summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/MenuExecutor.java
Commit message (Collapse)AuthorAgeFilesLines
* Gallery2: Revert DRM featureSteve Kondik2015-10-181-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Missing framework support in M, revisit later. Revert "Gallery2 : Drm file can be set as wallpaper" This reverts commit b00985f4de70444fa5ece9e8a78a79e73f4475b1. Revert "Gallery2 : Drm lock icon added on Photo widget for drm content" This reverts commit 4f3e49619d3954056f899660cc764f3773d92141. Revert "Gallery2 : GIF animated drm file can be visible in Gallery app" This reverts commit f5b491b181839286f58d640ae690f1860ef19e8c. Revert "Gallery2 : Delete and Details options are not visible on Camera preview" This reverts commit 704bff736bda2bc5f6c5aa2956879f55101191f5. Revert "Gallery2 : Video share option is not working" This reverts commit ea87a93df185b9f8c1e477188b55a2fe97dc983e. Revert "Gallery2 : Uses internal Drm image decoder api in Gallery app" This reverts commit 01f5f347cf33813b51bd0865dc620d001c8d8735. Revert "Gallery2 : Added support for Oma drm (CD and SD)" This reverts commit 43044da1965c1b687695f3f4e1d44d3636496978. Revert "Gallery2: Make Gallery2 support OMADRM feature" This reverts commit 829f9ad8c06070038cdef24e5fac76a8a16f841b. Change-Id: I4300285fd8539eb2e3134a0e472a087b83a0228f
* Gallery2 : Uses internal Drm image decoder api in Gallery appParamananda2015-09-151-20/+11
| | | | | | | | | | | | | | | - Remove all previous drm implementation which is basically uses base bitmap decode apis to decode drm image files. - Introduced new hidden apis on BitmapFactory and BitmapRegionDecoder specific to DRM content which is more practical to DRM framework. - Uses DrmHelper a utility drm api library to code reusability. - This approch will fix the issue on sharing images from Third party application. CRs-fixed : 804191 Change-Id: I2e9489800c57df4fdeeb21f1548fbccc6dfbd3f9
* Gallery2: Make Gallery2 support OMADRM featureParamananda Pradhan2015-09-151-1/+35
| | | | | | - Make Gallery2 can recognize and consume DRM images and videos. Change-Id: I1655d295bcec31b5760c2c86c06f815cf6ed57ee
* Revert OMADRM feature.staging/cm-12.1Steve Kondik2015-03-281-35/+1
| | | | | | | | | | | | | | * No need for this. Revert "Gallery2 : Added support for Oma drm (CD and SD)" This reverts commit 6144de8cc35fdd114802545c9922a1a234af8397. Revert "Gallery2: Make Gallery2 support OMADRM feature" This reverts commit 9382a979292e52de5c60a39ba24688362dce8bc1. Change-Id: I13a0d69a792aad36d7b15bc0b3c78e3f55d396bc
* Gallery2: Make Gallery2 support OMADRM featureParamananda Pradhan2015-01-201-1/+35
| | | | | | - Make Gallery2 can recognize and consume DRM images and videos. Change-Id: I1655d295bcec31b5760c2c86c06f815cf6ed57ee
* Switch Gallery2 to use the support lib for printing.Svetoslav Ganov2013-10-071-3/+2
| | | | | | | | | | | | | Now we have a class in the support library that uses a correct internal implemetation based on the API level. On older devices the app does not crash and on new devices it can print. Also this class does the heavy lifiting. Gallery2 was not using this class, rather it had its own (obsolete) implemetation that was not taking into account the image aspect ratio to provide a hint to the print system for the orientation to be used. bug:11099831 Change-Id: I4cd260614af4d9d87ec31d205ee2a5ef02ef5417
* disable print on older system.John Hoford2013-09-251-0/+2
| | | | Change-Id: I003aa965c885e6c7f65ade51b024bad400e8e458
* prevent editing of GIFJohn Hoford2013-09-201-1/+2
| | | | | bug:10642974 Change-Id: Ic61da19f6106c9d42c5b39ae9cc0cf0765f6d1ae
* remove print for videoJohn Hoford2013-09-201-0/+1
| | | | | bug:10455873 Change-Id: I8f62881b95ad8cd3fff73452eb7d91b05b1ddd8d
* Remove simple edit menu itemnicolasroard2013-08-191-1/+1
| | | | | bug:10362505 Change-Id: I730457c4e0d35b48be0a71e14fac60c5194c5d1f
* am 3b7347da: Merge "Switch back to old crop" into gb-ub-photos-bryceJohn Reck2013-05-161-3/+2
|\ | | | | | | | | * commit '3b7347daf572c20996607afe4cc32f9a96f8fe5d': Switch back to old crop
| * Switch back to old cropJohn Reck2013-05-161-3/+2
| | | | | | | | | | | | Bug: 8950255 Change-Id: I3f78901e65a17a1d5867d3f76a6031cff5f65fed
* | Re-enable Simple Editor menu itemnicolasroard2013-04-161-1/+1
|/ | | | Change-Id: I080dfffeb6394b78a1dc2bd10b52ff15b1e55ac9
* Remove the Simple Edit menu item in Gallerynicolasroard2013-04-161-1/+1
| | | | | bug:8609003 Change-Id: Ida6bfec65bf4b78c7c1b64f759c750ef9255bb6c
* Add menu item to start the simple editornicolasroard2013-04-081-0/+1
| | | | Change-Id: Iac3ca76838a5f91186527863b3d990cbcad3faf0
* Fix ANRs due to waiting for IO on UI threadBobby Georgescu2013-01-281-2/+12
| | | | | Bug: 7998915 Change-Id: I938145a7072170f713099a04578f98951b35cbab
* Replace camera importerBobby Georgescu2013-01-071-10/+0
| | | | Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
* remove actionbar sherlockJohn Reck2012-12-121-3/+2
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* Removed old crop.Ruben Brunk2012-12-061-1/+0
| | | | | Bug: 7441237 Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
* Move MenuExecutor operations into ServiceBobby Georgescu2012-12-031-3/+14
| | | | | Bug: 6680729 Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
* 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
* Gingerbread support-ishJohn Reck2012-10-311-2/+3
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Fixed crop intent.Ruben Brunk2012-10-251-1/+3
| | | | | | Bug: 7415140 Bug: 7403813 Change-Id: I545162544f845d210d21185cddaca09b219fb091
* Re-enable crop for new panoramaMangesh Ghiware2012-10-191-1/+0
| | | | | Bug: 7326215 Change-Id: Ic7a87baceb8aff6247d40b91d4c60cd47c86c377
* Remove panorama checks from supported operations.George Mount2012-10-181-2/+12
| | | | | | | | | | 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
* Share only 360-degree panoramas with new MIME typeMangesh Ghiware2012-10-081-1/+1
| | | | | | | | | | 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
* Revert "Add a overflow menu item to view 360-degree panorama."Mangesh Ghiware2012-10-031-1/+0
| | | | | | This reverts commit d84ae72adb147c0e8517a438b3dea3e87d319bb7 Change-Id: I5921cbb476034da2798480534e9084e287312f04
* Add a overflow menu item to view 360-degree panorama.Mangesh Ghiware2012-10-031-0/+1
| | | | | Bug: 7276026 Change-Id: Ib4979e45867e22267b34fb77342ca625337c7ee4
* Remove ActionBarSherlockOwen Lin2012-10-021-3/+2
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Update to sharing panoramaMangesh Ghiware2012-09-271-13/+7
| | | | | | | | | | | | | Bug: 7150324 Use separate share intents for sharing panoarma and regular JPGs. If photo is a 360 panorama, promote sharing it on the action bar, and move sharing as JPG to overflow menu. MIME type changed to specify panorama360. Change-Id: I8d52733d105820ac17ff36a6ad9d7525893f6d27
* Trimming: switch to use sherlock action barTeng-Hui Zhu2012-09-261-2/+1
| | | | | | | | | Show a "done" instead of the icon according to the UX team. And we don't have API level dependency. bug:7093240 Change-Id: Ib331495dd233c4dcbeb3d587bd5a4d0d89039d49
* Use vendor specific MIME type for sharing LightCycle panoramasMangesh Ghiware2012-09-231-5/+13
| | | | | Bug: 7150324 Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
* Add the UI elements for video trim activity.Teng-Hui Zhu2012-09-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Refactored the classes to support both the video play and trim. Now the common code for controller overlay is in CommonControllerOverlay, which is basically the same as the original MovieControllerOverlay without animation. Because in trimming, we don't want to hide all the controller. The specific animations are implemented in the sub-classes which are TrimControllerOverlay and MovieControllerOverlay. At the same time, TrimTimeBar extended TimeBar to support the extra trimming start scrubber and end scrubber. The interface between the timebar and the controllerOverlay are kept almost the same way, except adding the trimming info when necessary. With all these, the activity of TrimVideo now relied on the TrimTimeBar and TrimControllerOverlay. Similarily, the MovieActivity relied on the TimeBar and MovieControllerOverlay. 2. Hook the TrimVideo activity with the trim menu. Note that the icons are temporary for now, still need UX input on that. bug:7093055 Change-Id: Ib9bfbc090106744a569fce4c451ddffc0a2c699b
* Remove unused resources and fix some warnings.Owen Lin2012-08-301-4/+3
| | | | Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
* add the menu button to support trimmingTeng-Hui Zhu2012-08-271-0/+2
| | | | | | This is only visible for video item. Change-Id: I17f8e902f3560cc8524f890705c020901331df74
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-29/+21
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Extract the action bar interface.Owen Lin2012-08-151-18/+12
| | | | | | | | | | | | | So that we can use different implementation for different API levels. **NOTE** This change is going to be replaced by the ActionBar compat library when it gets ready. The purpose of this change is making Gallery/Camera run on GB. bug: 6927267 Change-Id: Ic8bb2518918168ea889db6452d6760de390d96b2
* Hold WakeLock during MTP importBobby Georgescu2012-08-081-1/+15
| | | | | | | Bug: 6680729 Bug: 6827858 Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
* Do not use ShareActionProvider before API 14.Wu-cheng Li2012-08-011-0/+14
| | | | | | | | Use simple share intent before API 14. bug:6706723 Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
* Code clean up.Ahbong Chang2012-07-301-0/+1
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Add swipe-to-delete gesture.Chih-Chung Chang2012-06-181-6/+22
| | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* Refresh the action bar timeout when button is clicked.Owen Lin2012-05-171-6/+40
| | | | | | | | | Also handle with the confirm dialog, we show the action bar as long as the confirm dialog is shown. And we start to timeout the action bar when the confirm dialog get dismissed. bug: 6478646 Change-Id: I3f0e7e61b43b0dd2bb2b1e2b4444c8dcb5706e1a
* Fix 6046544: Deleting a photo takes multiple steps and the flow is ↵Ray Chen2012-05-161-4/+4
| | | | | | | | | | inconsistent with other deleting flows on other core apps Per request, change the confirm dialog message to "Delete the selected item(s)?" b: 6046544 Change-Id: I46f7fd42a9f9fbf2399aca78ed9b2e67a15acb65
* Fix 'Edit' and 'Crop' behaviors.Yuli Huang2012-05-021-33/+17
| | | | | | | | | 1. Make Gallery show edited local photo after resuming, similar to how it shows cropped local photo after resuming. 2. Fix inconsistency between cropping local/PWA photo. bug:6168430 Change-Id: Ia350e0c67f05969ad42f56b9693c09c3b6433d3c
* Fix crash when select all is pressed.Wu-cheng Li2012-04-301-1/+3
| | | | | bug:6411186 Change-Id: Iaa71a320bc4d6d70aade41d5144f75ba6db36e6d
* Fix 6046544 Deleting a photo takes multiple steps and the flow is ↵Ray Chen2012-04-231-9/+25
| | | | | | | | | inconsistent with other deleting flows on other core apps This CL adds a confirm dialog to delete command and removes all confirm/cancel menu items from the actionbar. b:6046544 Change-Id: I3afe7b59b4f6d1216e192a621621f7bf544e1919
* Fix 5413911 Gallery app does not recognize that no files are selected for deleteRay Chen2011-10-071-12/+10
| | | | Change-Id: I90efb3d7676a0810025dd37890c1251725a48223
* Fix a few monkey issues: 5157713 and 5157712Ray Chen2011-09-021-68/+27
| | | | | | Add debugging message for 5192628. Change-Id: I257cabf1a93be256ed84aeaf3c9a871ecc5b1171
* Fix: 5217165, cannot edit downloaded imageOwen Lin2011-08-261-1/+1
| | | | | | | The contentUri of the download image is "file:///xxx". Thus, it cannot get the correct file type. So, we pass the mimetype in the intent to fix this issue. Change-Id: I49b4b96472eb6a1561fbada95190c829728c037e
* Initial code for Gallery2.Owen Lin2011-08-181-0/+398
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c