summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/ActionModeHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* remove actionbar sherlockJohn Reck2012-12-121-8/+8
| | | | Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
* Move MenuExecutor operations into ServiceBobby Georgescu2012-12-031-0/+5
| | | | | Bug: 6680729 Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
* Disable operations when no item is selectedDoris Liu2012-10-311-0/+9
| | | | | Bug: 7441208 Change-Id: I2f435ad8aa0b578ecfec426f7ad6287f0f210f48
* Gingerbread support-ishJohn Reck2012-10-311-8/+8
| | | | | | This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca. Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
* Hold WakeLock for batch delete operationBobby Georgescu2012-10-251-1/+8
| | | | | Bug: 6680729 Change-Id: I0bdd59edb60c746c8c9e3c3608be980247f0d91a
* Remove panorama checks from supported operations.George Mount2012-10-181-18/+86
| | | | | | | | | | 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
* Add permission to GalleryProvider.Owen Lin2012-10-171-0/+2
| | | | | bug: 7202384 Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
* 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
* Share only 360-degree panoramas with new MIME typeMangesh Ghiware2012-10-081-4/+4
| | | | | | | | | | 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
* Fix NFC regressionJohn Reck2012-10-021-0/+1
| | | | | | Bug: 7263536 Change-Id: Ieba6147fdc0279888ec1e6ea2101eab235522b9f
* Remove ActionBarSherlockOwen Lin2012-10-021-8/+8
| | | | | | bug: 7242682 Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
* Fix NPE in GalleryActionBarMangesh Ghiware2012-09-281-1/+1
| | | | | Bug: 7252666 Change-Id: Ide3c8e0d609743b34a3c53f3bb48dbeddb3f98c0
* Update to sharing panoramaMangesh Ghiware2012-09-271-13/+69
| | | | | | | | | | | | | 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
* Use vendor specific MIME type for sharing LightCycle panoramasMangesh Ghiware2012-09-231-3/+6
| | | | | Bug: 7150324 Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-271-41/+49
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Fix some bugs introduced by the ActionBarWrapper.Owen Lin2012-08-161-0/+1
| | | | | | bug: 6927267 Change-Id: If05082a4fec25f93d38c6096ebacc5a82e7e7c2e
* Extract the action bar interface.Owen Lin2012-08-151-57/+32
| | | | | | | | | | | | | 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
* Do not use ShareActionProvider before API 14.Wu-cheng Li2012-08-011-15/+31
| | | | | | | | Use simple share intent before API 14. bug:6706723 Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
* Code clean up.Ahbong Chang2012-07-301-0/+7
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Make CustomMenu compatible with API level 10.Owen Lin2012-07-171-28/+22
| | | | | bug: 6802855 Change-Id: I230c91bd9744935a181881131dcd2275ed89d819
* Remove dependencies on APIs only exist on newer platforms.Chih-Chung Chang2012-07-031-3/+2
| | | | Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
* Do not use NfcAdapter API in old platforms.Yuli Huang2012-06-291-10/+14
| | | | | bug:6698904 Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
* Fix 6360834 Select All is shown in place of Deselect all optionRay Chen2012-05-221-0/+2
| | | | | | | | | | The CL changes the SelectionManager's toggle method so it changes itself to inverse selection mode when all items are already selected, and onSelectionModeChange will be triggered so the listener can update the selection menu (Select all/Deselect all) and ActionBar. Change-Id: I9aa5507067415e52f6800c254ecb4d68e7395ffa b: 6360834
* Fix 6046544: Deleting a photo takes multiple steps and the flow is ↵Ray Chen2012-05-161-3/+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
* Revert "Fix 6360834 Select All is shown in place of Deselect all option"Ray Chen2012-05-091-2/+4
| | | | This reverts commit c90170e80b934700c3e2b9978374fb73a910f68c.
* Fix 6360834 Select All is shown in place of Deselect all optionRay Chen2012-05-091-4/+2
| | | | | | | | | | The CL changes the SelectionManager's toggle method so it changes itself to inverse selection mode when all items are already selected, and onSelectionModeChange will be triggered so the listener can update the selection menu (Select all/Deselect all) and ActionBar. Change-Id: I570a299cc8fd7d1d5acab948f9c6531a9adde486 b: 6360834
* Add support for Beaming multiple pictures.Martijn Coenen2012-04-271-1/+17
| | | | Change-Id: I12bb82bb605813168a7870807390ce2cb37a9a15
* Fix 6046544 Deleting a photo takes multiple steps and the flow is ↵Ray Chen2012-04-231-4/+12
| | | | | | | | | 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 NPE in SlotView.Owen Lin2012-04-181-16/+24
| | | | | | | | | This NPE is actually a concurrent issue. We shall lock renderring when we clean up the slots' data. But it didn't, so it may access to null data. Change-Id: I2a8abfbb77f83bd9a240477fa53216ce69b7774d fix: 6302487 fix: 6308873
* Reorganize import for all files.Owen Lin2012-03-141-1/+1
| | | | Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
* Fix 5948189 BUG BASH: action bar flashes during multi-selectRay Chen2012-02-291-46/+50
| | | | | | | | | | This CL fixes the flashing by disabling MenuItem directly instead of setting null intent to ShareActionProvider, so there won't be any "icons shrinking" effect that causes flashing. The rest of the change is code refactoring. More comments are added and the final UI operations are merged into one Runnable object. Change-Id: I73843c1df6b7a9675176e1b3ae6a35cc1cb715fa
* Fix 5413911 Gallery app does not recognize that no files are selected for deleteRay Chen2011-10-071-19/+20
| | | | Change-Id: I90efb3d7676a0810025dd37890c1251725a48223
* Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu ↵Ray Chen2011-09-191-3/+8
| | | | | | > Select item(s) / group(s) / album(s) Change-Id: Ie46432dd136447942011f3565ab7a6406c461887
* Fix 5290260 Unable to rotate left or right to album from GalleryRay Chen2011-09-151-22/+48
| | | | | | | Separate menu operation and sharing options to different methods so execution side is consistent with menu options. Change-Id: Ia0105b333035051e33e9563fb2186cf1a29bc225
* Fix 5288270 PTP camera gallery launch, prompts the user to "select all" ↵Ray Chen2011-09-141-12/+16
| | | | | | instead if "Deselect all" Change-Id: I80bcb347d3d2384e3fd18d2692ab459e0d39e86f
* Fix 4975579 PTP: Unable to load the thumbnails while connected to cameraRay Chen2011-08-291-9/+11
| | | | | | There's a deadlock in threadpool. The fix has been verified. Change-Id: I000527f55fc2a3777bd4bb06817a9967b2f50488
* Fix 5205456 After sharing multiple images, the selection should be clearedRay Chen2011-08-241-0/+8
| | | | Change-Id: I9fd12d371269197e1e05a6c49dae2b9a81ae4ca0
* Initial code for Gallery2.Owen Lin2011-08-181-0/+246
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c