History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5a352be0df79b03c942eb67a799ddb3aaa1a26a2 02-May-2013 Bobby Georgescu <georgescu@google.com> Increase selection limit

Bug: 8606565
Bug: 8721237
Bug: 8752803
Change-Id: I578536389146fb4d8735c8171ec346ebe49de729
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
549c968947cccc8bacca994f954629228b6b877f 13-Apr-2013 Bobby Georgescu <georgescu@google.com> Fix performance and other issues related to multi-selection

Bug: 8606565
Bug: 8607510
Change-Id: I5bd01745b6d1047571d562e1637a2999afddfec2
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
d3aac52ffb88ced53413d5eef29c641dd6982267 26-Dec-2012 Bobby Georgescu <georgescu@google.com> Replace camera importer

Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
2abaaf7caa9a83ba1ea759868aabde7f21387184 12-Dec-2012 John Reck <jreck@google.com> remove actionbar sherlock

Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
a2d0d34a90543ee19ea295e72c112fde18fb3828 03-Dec-2012 Bobby Georgescu <georgescu@google.com> Move MenuExecutor operations into Service

Bug: 6680729
Change-Id: I538bb0a8783f7c1ff467ba8d8eb0deefdc0b6ea2
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
2b85f0d788b9759dad3632561896e6c5dcbd4f99 01-Nov-2012 Doris Liu <tianliu@google.com> Disable operations when no item is selected

Bug: 7441208
Change-Id: I2f435ad8aa0b578ecfec426f7ad6287f0f210f48
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
372152961edd8feada0ae6478c91ba6b2565191d 31-Oct-2012 John Reck <jreck@google.com> Gingerbread support-ish

This reverts commit 1336062985c9824d7fd796b1cebd5eaa8e4163ca.

Change-Id: I718ec56315dc207a3e612abb4576bddab9afa2ee
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
0385a1abb62a11fff5dddee17325d1cb00cee0ab 25-Oct-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock for batch delete operation

Bug: 6680729
Change-Id: I0bdd59edb60c746c8c9e3c3608be980247f0d91a
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
4b4dbd225685502f4249c2bf25bf74f7ce526645 18-Oct-2012 George Mount <mount@google.com> Remove panorama checks from supported operations.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
ca181a68a30ad830d55eb8886f62a323c64e1ba3 16-Oct-2012 Owen Lin <owenlin@google.com> Add permission to GalleryProvider.

bug: 7202384
Change-Id: I1a13ed7e480163c898cf376219953b321290d4d4
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
825afb1b3e7d15b5c258d664ee008dc68da1c407 11-Oct-2012 Mangesh Ghiware <mghiware@google.com> Move calls to LightCycleHelper off the UI thread.

Bug: 7320303

Replace multiple methods in LightCycleHelper with a single one that
returns relevant metadata.

Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
51ebe5f71b9f00af95c8d64f1ff895fc7b9aa018 08-Oct-2012 Mangesh Ghiware <mghiware@google.com> Share only 360-degree panoramas with new MIME type

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
2619f20d30123a391cc6d37515fe8eb9d81d5029 02-Oct-2012 John Reck <jreck@google.com> Fix NFC regression

Bug: 7263536

Change-Id: Ieba6147fdc0279888ec1e6ea2101eab235522b9f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
1336062985c9824d7fd796b1cebd5eaa8e4163ca 02-Oct-2012 Owen Lin <owenlin@google.com> Remove ActionBarSherlock

bug: 7242682

Change-Id: Ibf1fa136cafdca25273ee39ae9c065560b2db5cb
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
f98aafb7eb65b889b0f831d607828ca4f8af64b6 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Fix NPE in GalleryActionBar

Bug: 7252666
Change-Id: Ide3c8e0d609743b34a3c53f3bb48dbeddb3f98c0
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
5172dee697c05235ddf932827d75e6fa0b81d382 28-Sep-2012 Mangesh Ghiware <mghiware@google.com> Update to sharing panorama

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
4f32d514ee7474d867d04bf3934f9e11e9e92783 24-Sep-2012 Mangesh Ghiware <mghiware@google.com> Use vendor specific MIME type for sharing LightCycle panoramas

Bug: 7150324
Change-Id: I78d426672e9a8fc69f0b9b564438e40eb0230719
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
b21b8e58a604f6c701245d84b141b5b87663192b 23-Aug-2012 Owen Lin <owenlin@google.com> Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
0cc65b3bd5e4fc1c54fda93d3dab171adcca30a6 16-Aug-2012 Owen Lin <owenlin@google.com> Fix some bugs introduced by the ActionBarWrapper.

bug: 6927267

Change-Id: If05082a4fec25f93d38c6096ebacc5a82e7e7c2e
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
2bb717f1ea38e2ce33dd102a23afe6bfacb5675c 13-Jul-2012 Owen Lin <owenlin@google.com> Extract the action bar interface.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
fb5571987f2555b04731b6f3e1c479efc16d542a 19-Jul-2012 Wu-cheng Li <wuchengli@google.com> Do not use ShareActionProvider before API 14.

Use simple share intent before API 14.

bug:6706723

Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
7817979db0c52ffeacb951625b1e821eba303285 30-Jul-2012 Ahbong Chang <cwahbong@google.com> Code clean up.

Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.

Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
44ef42f215d68ade8b63d18fede944c244a2a1dd 11-Jul-2012 Owen Lin <owenlin@google.com> Make CustomMenu compatible with API level 10.

bug: 6802855
Change-Id: I230c91bd9744935a181881131dcd2275ed89d819
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
6772173d2a49b87a1d209f42fe52b5f830596f99 02-Jul-2012 Chih-Chung Chang <chihchung@google.com> Remove dependencies on APIs only exist on newer platforms.

Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
fc86994f86f8cfb31e151c9e730dc1e9dc7b3349 29-Jun-2012 Yuli Huang <yuli@google.com> Do not use NfcAdapter API in old platforms.

bug:6698904
Change-Id: I8cab312a212e4cba43187a73bc76d3f2164527a9
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
21c2e665fdc1d1af0c91ab9c104d13fb7dc2444e 03-May-2012 Ray Chen <raychen@google.com> Fix 6360834 Select All is shown in place of Deselect all option

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
9a033b07b8e0d9fe7419b7a0d876e9c7febf43c8 15-May-2012 Ray Chen <raychen@google.com> Fix 6046544: Deleting a photo takes multiple steps and the flow is 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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
e99a6ba365b388985bb5f4238002d90c2df28251 09-May-2012 Ray Chen <raychen@google.com> Revert "Fix 6360834 Select All is shown in place of Deselect all option"

This reverts commit c90170e80b934700c3e2b9978374fb73a910f68c.
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
c90170e80b934700c3e2b9978374fb73a910f68c 03-May-2012 Ray Chen <raychen@google.com> Fix 6360834 Select All is shown in place of Deselect all option

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
af4ab4faeeb640b285311a305ff128b33b964389 27-Apr-2012 Martijn Coenen <maco@google.com> Add support for Beaming multiple pictures.

Change-Id: I12bb82bb605813168a7870807390ce2cb37a9a15
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
67098d1a72fd04e2af06d3a5939cde28c65f70d9 05-Apr-2012 Ray Chen <raychen@google.com> Fix 6046544 Deleting a photo takes multiple steps and the flow is 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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
48ba94ae713dbf57898cfa84ae69517da50cf7a0 17-Apr-2012 Owen Lin <owenlin@google.com> Fix NPE in SlotView.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
2b3ee0ea07246b859a5b75d8a6102a7cce7ec838 14-Mar-2012 Owen Lin <owenlin@google.com> Reorganize import for all files.

Change-Id: Ia9188bcde727e317e6a476caccaea562f0758b19
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
301ea871a5f3b13adeae5ac1f0a36c86eff228e7 20-Feb-2012 Ray Chen <raychen@google.com> Fix 5948189 BUG BASH: action bar flashes during multi-select

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
0c1f2c80818a0326fa55e6f709b49584ceab60b1 05-Oct-2011 Ray Chen <raychen@google.com> Fix 5413911 Gallery app does not recognize that no files are selected for delete

Change-Id: I90efb3d7676a0810025dd37890c1251725a48223
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
9b54e8c645d14748b7dd75e25b4db9e97e3415a9 18-Sep-2011 Ray Chen <raychen@google.com> Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)

Change-Id: Ie46432dd136447942011f3565ab7a6406c461887
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
deff258ea4e5723b351739418919251ae1048e46 14-Sep-2011 Ray Chen <raychen@google.com> Fix 5290260 Unable to rotate left or right to album from Gallery

Separate menu operation and sharing options to different methods so
execution side is consistent with menu options.

Change-Id: Ia0105b333035051e33e9563fb2186cf1a29bc225
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
e3c968f892585490b938ea2bcef81f8dca4a81f8 10-Sep-2011 Ray Chen <raychen@google.com> Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if "Deselect all"

Change-Id: I80bcb347d3d2384e3fd18d2692ab459e0d39e86f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
8da5fdfe8f8d15aa688e504afd3ede2555de8bde 29-Aug-2011 Ray Chen <raychen@google.com> Fix 4975579 PTP: Unable to load the thumbnails while connected to camera

There's a deadlock in threadpool. The fix has been verified.

Change-Id: I000527f55fc2a3777bd4bb06817a9967b2f50488
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
d6f517849bc63338ce2ab2c51c9fb7a3e167b916 24-Aug-2011 Ray Chen <raychen@google.com> Fix 5205456 After sharing multiple images, the selection should be cleared

Change-Id: I9fd12d371269197e1e05a6c49dae2b9a81ae4ca0
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java
f9a0a4306d589b4a4e20554fed512a603426bfa1 17-Aug-2011 Owen Lin <owenlin@google.com> Initial code for Gallery2.

fix: 5176434

Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ActionModeHandler.java