History log of /packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
391e4a190d4afcfdf89b8e7892e972cc998cdf41 07-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Switch Gallery2 to use the support lib for printing.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
ef3cc52f473f15534f00b61b55b53e93931fef97 26-Sep-2013 John Hoford <hoford@google.com> disable print on older system.

Change-Id: I003aa965c885e6c7f65ade51b024bad400e8e458
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
e56abc7049e35f705161086fe51d0ecdbf451b8b 21-Sep-2013 John Hoford <hoford@google.com> prevent editing of GIF

bug:10642974
Change-Id: Ic61da19f6106c9d42c5b39ae9cc0cf0765f6d1ae
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
c491ad2b7630eed7cf43ef0c1064bd4fe42e06a1 20-Sep-2013 John Hoford <hoford@google.com> remove print for video

bug:10455873
Change-Id: I8f62881b95ad8cd3fff73452eb7d91b05b1ddd8d
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
d872eee0790efcce9635fcd9d0dd481df310d0a4 20-Aug-2013 nicolasroard <nicolasroard@google.com> Remove simple edit menu item

bug:10362505
Change-Id: I730457c4e0d35b48be0a71e14fac60c5194c5d1f
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
2f1b2d1932c1492961cbaec8716b769cfc2b0ee0 17-May-2013 John Reck <jreck@google.com> am 3b7347da: Merge "Switch back to old crop" into gb-ub-photos-bryce

* commit '3b7347daf572c20996607afe4cc32f9a96f8fe5d':
Switch back to old crop
1bfe7cb96a5a042f238d048eda771169d6ad93ac 17-May-2013 John Reck <jreck@google.com> Switch back to old crop

Bug: 8950255

Change-Id: I3f78901e65a17a1d5867d3f76a6031cff5f65fed
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
409d9c36c3b6d8ff2128d50a391ce8617b632127 17-Apr-2013 nicolasroard <nicolasroard@google.com> Re-enable Simple Editor menu item

Change-Id: I080dfffeb6394b78a1dc2bd10b52ff15b1e55ac9
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
8f5580a4aa1376be22395024ebda2b9dcda23170 16-Apr-2013 nicolasroard <nicolasroard@google.com> Remove the Simple Edit menu item in Gallery

bug:8609003
Change-Id: Ida6bfec65bf4b78c7c1b64f759c750ef9255bb6c
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
8c4e95f4380a4104c9968963a363b62746e6c967 09-Apr-2013 nicolasroard <nicolasroard@google.com> Add menu item to start the simple editor

Change-Id: Iac3ca76838a5f91186527863b3d990cbcad3faf0
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
d00f521a3138a8f244c91748b0277290edbf61f6 29-Jan-2013 Bobby Georgescu <georgescu@google.com> Fix ANRs due to waiting for IO on UI thread

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

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

Change-Id: Idb9b63f625fd4f0b78d947421ec5b098d8e5dfd5
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
795776f67fe5bca902b09c01edec630879263341 06-Dec-2012 Ruben Brunk <rubenbrunk@google.com> Removed old crop.

Bug: 7441237
Change-Id: I29801f798a1d1ad3af81a82950edbb8a72ccae82
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.java
648b339c74da2b863304ffc61c8528cc74c2afb3 13-Nov-2012 Teng-Hui Zhu <ztenghui@google.com> Video: Add the mute functionality.

1. Enable the mute video functionality.
2. Consolidate the sharing code, especially for file handling.

bug:7543943

Change-Id: Ie7ec605996bc3242b1a50385f506e6a50ee2d2fc
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.java
5aa454b3bde8b2162eb2b91400973113e2c63070 26-Oct-2012 Ruben Brunk <rubenbrunk@google.com> Fixed crop intent.

Bug: 7415140
Bug: 7403813
Change-Id: I545162544f845d210d21185cddaca09b219fb091
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
ea78390e87642b4bc3860ba6cbdfa655db3c9e46 19-Oct-2012 Mangesh Ghiware <mghiware@google.com> Re-enable crop for new panorama

Bug: 7326215
Change-Id: Ic7a87baceb8aff6247d40b91d4c60cd47c86c377
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.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/MenuExecutor.java
541315cda58bfdb30b3acab14af6944f83908103 04-Oct-2012 Mangesh Ghiware <mghiware@google.com> Revert "Add a overflow menu item to view 360-degree panorama."

This reverts commit d84ae72adb147c0e8517a438b3dea3e87d319bb7

Change-Id: I5921cbb476034da2798480534e9084e287312f04
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
d84ae72adb147c0e8517a438b3dea3e87d319bb7 03-Oct-2012 Mangesh Ghiware <mghiware@google.com> Add a overflow menu item to view 360-degree panorama.

Bug: 7276026
Change-Id: Ib4979e45867e22267b34fb77342ca625337c7ee4
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.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/MenuExecutor.java
5e92668f42b5f29a0e55653b0bbf2df342723a6d 26-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Trimming: switch to use sherlock action bar

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.java
3f1f1baf3a674927e25cd5cd885fb372796bd3a0 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Add the UI elements for video trim activity.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
28cb4161da5fc3756933ca67d509b8af1c6275f1 29-Aug-2012 Owen Lin <owenlin@google.com> Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
50ea2d2938218ac6b2039f0e42998cfbbc45d1f1 24-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> add the menu button to support trimming

This is only visible for video item.

Change-Id: I17f8e902f3560cc8524f890705c020901331df74
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.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/MenuExecutor.java
ba50b9420e64731fd5aa8b1410e1f36457a1635a 08-Aug-2012 Bobby Georgescu <georgescu@google.com> Hold WakeLock during MTP import

Bug: 6680729
Bug: 6827858

Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.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/MenuExecutor.java
6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25 07-Jun-2012 Chih-Chung Chang <chihchung@google.com> Add swipe-to-delete gesture.

Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
d759b7c1fc449f4f0ef91997738bbef1bbd96677 17-May-2012 Owen Lin <owenlin@google.com> Refresh the action bar timeout when button is clicked.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.java
f50ce2b708c0c70930a346206fdd526f53ae6004 01-May-2012 Yuli Huang <yuli@google.com> Fix 'Edit' and 'Crop' behaviors.

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
57263d33064e4fce39b88b54f73e425f66a550eb 30-Apr-2012 Wu-cheng Li <wuchengli@google.com> Fix crash when select all is pressed.

bug:6411186
Change-Id: Iaa71a320bc4d6d70aade41d5144f75ba6db36e6d
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.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/MenuExecutor.java
b2b451802fca3d81aaaa68b68c71e928015bbe34 31-Aug-2011 Ray Chen <raychen@google.com> Fix a few monkey issues: 5157713 and 5157712
Add debugging message for 5192628.

Change-Id: I257cabf1a93be256ed84aeaf3c9a871ecc5b1171
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.java
1801ef094a8afe7973dc4ec877cc51262fd1544a 26-Aug-2011 Owen Lin <owenlin@google.com> Fix: 5217165, cannot edit downloaded image

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
/packages/apps/Gallery2/src/com/android/gallery3d/ui/MenuExecutor.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/MenuExecutor.java