OSDN Git Service

android-x86/packages-apps-Gallery2.git
12 years agoMerge "Put a black View in front of SurfaceView." into jb-dev
Chih-Chung Chang [Wed, 23 May 2012 17:54:16 +0000 (10:54 -0700)]
Merge "Put a black View in front of SurfaceView." into jb-dev

12 years agoPut a black View in front of SurfaceView.
Chih-Chung Chang [Wed, 23 May 2012 04:26:36 +0000 (21:26 -0700)]
Put a black View in front of SurfaceView.

This prevents SurfaceView from being transparent before the first draw.

Bug: 6507478
Change-Id: I2170f23d4c9844bfc3854d6120f5e72cc0d591ca

12 years agoMerge "Fix 6259517 "0 images / videos available" toast is displayed in gallery on...
Wei Huang [Wed, 23 May 2012 04:56:46 +0000 (21:56 -0700)]
Merge "Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos" into jb-dev

12 years agoMerge "Recycle textures when we don't need them." into jb-dev
Wei Huang [Wed, 23 May 2012 04:54:57 +0000 (21:54 -0700)]
Merge "Recycle textures when we don't need them." into jb-dev

12 years agoFix 6259517 "0 images / videos available" toast is displayed in gallery on launch...
Ray Chen [Thu, 17 May 2012 04:29:12 +0000 (12:29 +0800)]
Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos

And removed sync error toast.

Bug: 6259517

Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9

12 years agoUnlock orientation only when action bar is needed.
Chih-Chung Chang [Tue, 22 May 2012 18:35:46 +0000 (11:35 -0700)]
Unlock orientation only when action bar is needed.

Bug: 6482079
Change-Id: I75d96ca7957f80e9c52f35edf74127f82f194f63

12 years agoRecycle textures when we don't need them.
Owen Lin [Tue, 22 May 2012 20:28:04 +0000 (13:28 -0700)]
Recycle textures when we don't need them.

bug: 6307447
Change-Id: Id0c1abab54e1fbb75364dffda9f1f72d6b39310b

12 years agoFix build.
Owen Lin [Tue, 22 May 2012 22:21:00 +0000 (15:21 -0700)]
Fix build.

Change-Id: Ied20eb41fcae52f40f319adb0fbbfad4d94e3019

12 years agoAdd a new state uploading to UploadedTexture.
Owen Lin [Fri, 18 May 2012 18:30:26 +0000 (11:30 -0700)]
Add a new state uploading to UploadedTexture.

This state means the texture is being uploaded in background and should
not be drawn now to prevent janking.

Sometimes, we may lose GLContext and we will need to reupload
textures again. In this case, we would like to upload these texture in
foreground instead of using TextureUploader.
(for simplicity since this won't happen too often).

bug: 6519344
Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03

12 years agoHide status bar in lights out mode.
Chih-Chung Chang [Tue, 22 May 2012 02:22:51 +0000 (19:22 -0700)]
Hide status bar in lights out mode.

Bug: 6451200
Change-Id: I6ad5ffc203fd8e6be9191ba13a4a99eb716c4734

12 years agoReuse bitmap to prevent GC in TiledImageView.
Owen Lin [Thu, 17 May 2012 22:59:25 +0000 (15:59 -0700)]
Reuse bitmap to prevent GC in TiledImageView.

bug:5948093
Change-Id: Iad89c5809bde0de5409752330f607aab153dceba

12 years agoLimit the size of a ScreenNail.
Owen Lin [Mon, 21 May 2012 23:52:25 +0000 (16:52 -0700)]
Limit the size of a ScreenNail.

bug:6528366
This bug was happened because we are trying to make a texture beyond the
max size allowed in GL.

Here is what we do in this CL:
1. Limit the size of a screen nail
2. Print warning message, if we try to allocate a texture beyond the size
3. Don't show fall-back animation if the image is not loaded yet.

Change-Id: I004b1138efd0eef7ba11aa89556f67743ca46745

12 years agoFix 6360834 Select All is shown in place of Deselect all option
Ray Chen [Thu, 3 May 2012 05:10:51 +0000 (13:10 +0800)]
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

12 years agoMerge "Don't fire data change notification before the data is made consistent." into...
Chih-Chung Chang [Tue, 22 May 2012 00:24:55 +0000 (17:24 -0700)]
Merge "Don't fire data change notification before the data is made consistent." into jb-dev

12 years agoMerge "Fix capture animation if we are far away from the camera preview." into jb-dev
Chih-Chung Chang [Tue, 22 May 2012 00:24:45 +0000 (17:24 -0700)]
Merge "Fix capture animation if we are far away from the camera preview." into jb-dev

12 years agoDon't fire data change notification before the data is made consistent.
Chih-Chung Chang [Mon, 21 May 2012 20:44:36 +0000 (13:44 -0700)]
Don't fire data change notification before the data is made consistent.

Bug: 6500467
Change-Id: Ia064461daba92bbf1172eae5d321bf5049de6d48

12 years agoMerge "Fix 6513486: Extend char limit from 30 to 50. b:6513486" into jb-dev
Wei Huang [Mon, 21 May 2012 19:58:09 +0000 (12:58 -0700)]
Merge "Fix 6513486: Extend char limit from 30 to 50. b:6513486" into jb-dev

12 years agoMerge "Fix the detail isn't updated for the selected thumbnail." into jb-dev
Wei Huang [Mon, 21 May 2012 19:57:56 +0000 (12:57 -0700)]
Merge "Fix the detail isn't updated for the selected thumbnail." into jb-dev

12 years agoFix capture animation if we are far away from the camera preview.
Chih-Chung Chang [Sat, 19 May 2012 02:10:36 +0000 (19:10 -0700)]
Fix capture animation if we are far away from the camera preview.

Bug: 6481823
Change-Id: If2511c8dd08e0483cdc3139068ee190e2b08126d

12 years agoFix the detail isn't updated for the selected thumbnail.
Yuli Huang [Mon, 21 May 2012 07:12:01 +0000 (15:12 +0800)]
Fix the detail isn't updated for the selected thumbnail.

bug:6521826
Change-Id: I1c07c10414ad45721b65583ed5f976c992d27698

12 years agoFix 6385004 When video playback in gallery is launched from another app, Up should...
Ray Chen [Thu, 17 May 2012 04:15:08 +0000 (12:15 +0800)]
Fix 6385004 When video playback in gallery is launched from another app, Up should cross back to Gallery, except when the logo-bitmap extra is set.

Change-Id: Id0c43872386cc0272bc76d37a9c866d5ffae700f
b: 6385004

12 years agoFix 6513486: Extend char limit from 30 to 50.
Ray Chen [Fri, 18 May 2012 00:41:33 +0000 (08:41 +0800)]
Fix 6513486: Extend char limit from 30 to 50.
b:6513486

Change-Id: I1d4cdd7e1c0a5019458778120f6be9e5b0492e1b

12 years agoFix action-bar title for cropping wallpaper.
Yuli Huang [Fri, 18 May 2012 08:12:32 +0000 (16:12 +0800)]
Fix action-bar title for cropping wallpaper.

bug:6513495
Change-Id: I97b76c948d5c9fa0bb11f2fe89a0d10f490dbe14

12 years agoRemove camera icon in Gallery if there is no launcher icon.
Chih-Chung Chang [Fri, 18 May 2012 06:47:07 +0000 (23:47 -0700)]
Remove camera icon in Gallery if there is no launcher icon.

Bug: 6516793
Change-Id: I7ec88065565bcafdd2534cd8c7fd8f2591743447

12 years agoHandle null for the video resolution field in MediaProvider.
Chih-Chung Chang [Fri, 18 May 2012 06:44:54 +0000 (23:44 -0700)]
Handle null for the video resolution field in MediaProvider.

Bug: 6517317
Change-Id: Ic9bb769b3b8e8816bc76a4500c6a2770e69a4dc5

12 years agoDon't jump back to the camera preview if we started an activity.
Chih-Chung Chang [Fri, 18 May 2012 01:22:27 +0000 (18:22 -0700)]
Don't jump back to the camera preview if we started an activity.

Bug: 6429570
Change-Id: Ib25dfc4ade235b8c7d7d87c981671ef9308d128b

12 years agoUse View.setSystemUiVisibility to enter/leave lights-out mode.
Chih-Chung Chang [Thu, 17 May 2012 23:45:12 +0000 (16:45 -0700)]
Use View.setSystemUiVisibility to enter/leave lights-out mode.

Bug: 6451200

Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160

12 years agoMerge "Show gray tile for screennails not loaded yet." into jb-dev
Chih-Chung Chang [Thu, 17 May 2012 23:05:47 +0000 (16:05 -0700)]
Merge "Show gray tile for screennails not loaded yet." into jb-dev

12 years agoShow gray tile for screennails not loaded yet.
Chih-Chung Chang [Fri, 11 May 2012 09:55:02 +0000 (17:55 +0800)]
Show gray tile for screennails not loaded yet.

Bug: 6452217
Change-Id: Ied9c2e2c91f4ffe218a73ba1a123df92a2aab98a

12 years agoRefresh the action bar timeout when button is clicked.
Owen Lin [Wed, 16 May 2012 22:32:02 +0000 (15:32 -0700)]
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

12 years agoMerge "Fix a NPE found by Moneky." into jb-dev
Owen Lin [Thu, 17 May 2012 20:35:41 +0000 (13:35 -0700)]
Merge "Fix a NPE found by Moneky." into jb-dev

12 years agoFix a NPE found by Moneky.
Owen Lin [Thu, 17 May 2012 20:04:35 +0000 (13:04 -0700)]
Fix a NPE found by Moneky.

AlbumLabelMaker.mBitmapPool could be null if the setLabelWidth()
has never been called  or called with width as 0.

bug:6510386

Change-Id: Idaaa0a1a7239271ba3ae3217e65029b382464c10

12 years agoSupport Panorama preview.
Angus Kong [Thu, 17 May 2012 19:47:26 +0000 (12:47 -0700)]
Support Panorama preview.

The panorama preview doesn't consider display rotation.

bug:6305152
Change-Id: I6389a74d3c0e64d8b6bc206e728d1088f04be225

12 years agoAdd transition animation for tapping from PhotoPage.
Owen Lin [Mon, 7 May 2012 08:35:53 +0000 (16:35 +0800)]
Add transition animation for tapping from PhotoPage.

bug:6383694
Change-Id: Ib457d6b636dafd3f8ef7340bfa85725f14d90bd0

12 years agoMerge "Set the window backgrond and remove it in onCreate()." into jb-dev
Owen Lin [Thu, 17 May 2012 19:44:51 +0000 (12:44 -0700)]
Merge "Set the window backgrond and remove it in onCreate()." into jb-dev

12 years agoRevert "Support Panorama preview."
Angus Kong [Thu, 17 May 2012 18:50:38 +0000 (11:50 -0700)]
Revert "Support Panorama preview."

This reverts commit 41832d9f1568c7d8227fb9ffebaf7830345cffff

12 years agoSupport Panorama preview.
Angus Kong [Thu, 17 May 2012 02:15:56 +0000 (19:15 -0700)]
Support Panorama preview.

The panorama preview doesn't consider display rotation.

bug:6305152
Change-Id: I6b87c18ed8eadf1b2bf5e64437c5b290d111cbba

12 years agoSet the window backgrond and remove it in onCreate().
Owen Lin [Wed, 16 May 2012 00:52:09 +0000 (17:52 -0700)]
Set the window backgrond and remove it in onCreate().

To have better transistion when launching the app.

bug: 6494653
Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570

12 years agoMerge "Fix 6213053 Add Help entry point to Gallery (targeted for J release) b: 621305...
Ray Chen [Thu, 17 May 2012 16:32:56 +0000 (09:32 -0700)]
Merge "Fix 6213053 Add Help entry point to Gallery (targeted for J release) b: 6213053" into jb-dev

12 years agoMerge "Fix 6479216 Playing a video should go full-screen first" into jb-dev
Ray Chen [Thu, 17 May 2012 16:17:40 +0000 (09:17 -0700)]
Merge "Fix 6479216 Playing a video should go full-screen first" into jb-dev

12 years agoFix 6213053 Add Help entry point to Gallery (targeted for J release)
Ray Chen [Thu, 17 May 2012 08:37:13 +0000 (16:37 +0800)]
Fix 6213053 Add Help entry point to Gallery (targeted for J release)
b: 6213053

Change-Id: Ib94a8bbdb3114a198b775025c5864a3d83cdd5ad

12 years agoSmooth opening animation by modifying interpolation curve.
Yuli Huang [Thu, 17 May 2012 03:32:15 +0000 (11:32 +0800)]
Smooth opening animation by modifying interpolation curve.

bug:5367032
Change-Id: I15ad839ede723591f081be200c1c16a8a9a901d0

12 years agoMerge "Fix card effect shown in opening animation." into jb-dev
Yuli Huang [Thu, 17 May 2012 02:25:16 +0000 (19:25 -0700)]
Merge "Fix card effect shown in opening animation." into jb-dev

12 years agoMerge "Handle layout change between pausing and resuming." into jb-dev
Chih-Chung Chang [Thu, 17 May 2012 01:49:33 +0000 (18:49 -0700)]
Merge "Handle layout change between pausing and resuming." into jb-dev

12 years agoMerge "Remove the black layer in MovieActivity." into jb-dev
Owen Lin [Thu, 17 May 2012 01:28:49 +0000 (18:28 -0700)]
Merge "Remove the black layer in MovieActivity." into jb-dev

12 years agoHandle layout change between pausing and resuming.
Chih-Chung Chang [Thu, 17 May 2012 00:37:10 +0000 (17:37 -0700)]
Handle layout change between pausing and resuming.

Bug: 6468414
Change-Id: Ib190b620bea5a60f12d6075beaeb3bcd10b87802

12 years agoRemove the black layer in MovieActivity.
Owen Lin [Wed, 16 May 2012 20:52:02 +0000 (13:52 -0700)]
Remove the black layer in MovieActivity.

bug:6491674
Change-Id: I45323fde110b05eda2a342c8f0a85a3ba219d1da

12 years agoMerge "Fix a dead lock while we freeze the screen." into jb-dev
Owen Lin [Wed, 16 May 2012 20:40:25 +0000 (13:40 -0700)]
Merge "Fix a dead lock while we freeze the screen." into jb-dev

12 years agoFix a dead lock while we freeze the screen.
Owen Lin [Wed, 16 May 2012 17:54:14 +0000 (10:54 -0700)]
Fix a dead lock while we freeze the screen.

bug: 6504696
Change-Id: If960967142bb0df773ce075bf76f5726c37e1d27

12 years agoMerge "Hide the share button if the shared URI is not "content:"." into jb-dev
Owen Lin [Wed, 16 May 2012 20:24:06 +0000 (13:24 -0700)]
Merge "Hide the share button if the shared URI is not "content:"." into jb-dev

12 years agoRestore deleted string still referenced from menu resource.
Eric Fischer [Wed, 16 May 2012 18:29:06 +0000 (11:29 -0700)]
Restore deleted  string still referenced from menu resource.

Change-Id: I518dc004a92ee68682c2085c8d2f002896198feb

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 16 May 2012 17:41:05 +0000 (10:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie35416e91d38c143eaa7d2898d60215d534c0ae6

12 years agoHide the share button if the shared URI is not "content:".
Owen Lin [Tue, 15 May 2012 23:56:59 +0000 (16:56 -0700)]
Hide the share button if the shared URI is not "content:".

bug:6494818
Change-Id: I70a2997c07c19433cadee34fa348d27445bf2647

12 years agoFix card effect shown in opening animation.
Yuli Huang [Tue, 15 May 2012 17:38:06 +0000 (01:38 +0800)]
Fix card effect shown in opening animation.

bug:6495753
Change-Id: I7a640c2dddef0b7c58e0b7d5a00cbc4aab6ec43d

12 years agoAvoid black screen when PhotoPage just starts.
Yuli Huang [Tue, 15 May 2012 14:36:59 +0000 (22:36 +0800)]
Avoid black screen when PhotoPage just starts.

bug:5367032

Change-Id: I6bd56026ec32bcee972d69855966750b9a57cdf4

12 years agoMerge "Fix 6470803 De-jank for video playback in fullscreen" into jb-dev
Ray Chen [Wed, 16 May 2012 01:23:46 +0000 (18:23 -0700)]
Merge "Fix 6470803 De-jank for video playback in fullscreen" into jb-dev

12 years agoMerge "Fix 6046544: Deleting a photo takes multiple steps and the flow is inconsisten...
Ray Chen [Wed, 16 May 2012 01:22:13 +0000 (18:22 -0700)]
Merge "Fix 6046544: Deleting a photo takes multiple steps and the flow is inconsistent with other deleting flows on other core apps" into jb-dev

12 years agoFix 6046544: Deleting a photo takes multiple steps and the flow is inconsistent with...
Ray Chen [Tue, 15 May 2012 03:22:21 +0000 (11:22 +0800)]
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

12 years agoMerge "Add animation for the paddings in SlotView." into jb-dev
Owen Lin [Wed, 16 May 2012 00:38:52 +0000 (17:38 -0700)]
Merge "Add animation for the paddings in SlotView." into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 15 May 2012 22:29:21 +0000 (15:29 -0700)]
Import translations. DO NOT MERGE

Change-Id: If6a4cfc400038645f49db5604b6bd58b5207aa96

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 14 May 2012 18:24:28 +0000 (11:24 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic6c64cb7f77eeae21d806cd2bcf0c72784fb433a

12 years agoAdd animation for the paddings in SlotView.
Owen Lin [Wed, 9 May 2012 03:32:32 +0000 (11:32 +0800)]
Add animation for the paddings in SlotView.

bug:6383118
Change-Id: I034be207f73b027de448cef562a534f986d0cbe1

12 years agoFix 6479216 Playing a video should go full-screen first
Ray Chen [Mon, 14 May 2012 09:19:56 +0000 (17:19 +0800)]
Fix 6479216 Playing a video should go full-screen first

Change-Id: I7b1d2bd28531ec4fd4b65862122cf058ef69066e
b: 6479216

12 years agoFix 6470803 De-jank for video playback in fullscreen
Ray Chen [Fri, 11 May 2012 13:50:28 +0000 (21:50 +0800)]
Fix 6470803 De-jank for video playback in fullscreen

b: 6470803

Change-Id: I91fd8430c34e84eac45c33070f0f571627e96820

12 years agoMerge "Remove behind screenOrientation from camera activities." into jb-dev
Wu-cheng Li [Fri, 11 May 2012 12:41:04 +0000 (05:41 -0700)]
Merge "Remove behind screenOrientation from camera activities." into jb-dev

12 years agoRemove behind screenOrientation from camera activities.
Wu-cheng Li [Fri, 11 May 2012 12:25:22 +0000 (20:25 +0800)]
Remove behind screenOrientation from camera activities.

Camera has both landscape and portrait layouts. Screen orientation
will be set in onCreate. "behind" is not needed anymore.

bug:6480864

Change-Id: I6fe3bbe85addf30bae0d037fdddd0ee8569238de

12 years agoMerge "Better data change handling for PhotoDataAdapter and PhotoView." into jb-dev
Chih-Chung Chang [Fri, 11 May 2012 10:31:10 +0000 (03:31 -0700)]
Merge "Better data change handling for PhotoDataAdapter and PhotoView." into jb-dev

12 years agoBetter data change handling for PhotoDataAdapter and PhotoView.
Chih-Chung Chang [Fri, 11 May 2012 09:20:53 +0000 (17:20 +0800)]
Better data change handling for PhotoDataAdapter and PhotoView.

Change-Id: I0f67d918b95000d10786d2035286e036346bfa4e

12 years agoMerge "Make sure we won't upload recycled bitmap." into jb-dev
Owen Lin [Fri, 11 May 2012 04:17:31 +0000 (21:17 -0700)]
Merge "Make sure we won't upload recycled bitmap." into jb-dev

12 years agoMerge "Add freeze/unfreeze for GLRootView." into jb-dev
Chih-Chung Chang [Thu, 10 May 2012 08:46:43 +0000 (01:46 -0700)]
Merge "Add freeze/unfreeze for GLRootView." into jb-dev

12 years agoAdd freeze/unfreeze for GLRootView.
Chih-Chung Chang [Thu, 10 May 2012 03:03:35 +0000 (11:03 +0800)]
Add freeze/unfreeze for GLRootView.

Change-Id: Ieb78041fea22b064d176ea1318cf5883d5d4c94f

12 years agoMerge "Handle ScreenNail size change." into jb-dev
Chih-Chung Chang [Thu, 10 May 2012 03:24:21 +0000 (20:24 -0700)]
Merge "Handle ScreenNail size change." into jb-dev

12 years agoHandle ScreenNail size change.
Chih-Chung Chang [Wed, 9 May 2012 13:17:10 +0000 (21:17 +0800)]
Handle ScreenNail size change.

Bug: 6355399
Change-Id: Ice7560c12aa06cf8ac58cc3883f0888b5c6e71a5

12 years agoMerge "Revert "Fix 6360834 Select All is shown in place of Deselect all option""...
Chih-Chung Chang [Wed, 9 May 2012 10:03:24 +0000 (03:03 -0700)]
Merge "Revert "Fix 6360834 Select All is shown in place of Deselect all option"" into jb-dev

12 years agoRevert "Fix 6360834 Select All is shown in place of Deselect all option"
Ray Chen [Wed, 9 May 2012 08:56:29 +0000 (16:56 +0800)]
Revert "Fix 6360834 Select All is shown in place of Deselect all option"

This reverts commit c90170e80b934700c3e2b9978374fb73a910f68c.

12 years agoMerge "Mark FileCache initialized after init really goes through." into jb-dev
Hung-ying Tyan [Wed, 9 May 2012 08:08:46 +0000 (01:08 -0700)]
Merge "Mark FileCache initialized after init really goes through." into jb-dev

12 years agoMake sure we won't upload recycled bitmap.
Owen Lin [Wed, 9 May 2012 05:38:21 +0000 (13:38 +0800)]
Make sure we won't upload recycled bitmap.

bug: 6465117
Change-Id: I97553ba9da0256cfedde3a5752224380b1a3ee6f

12 years agoMerge "Fix 6360834 Select All is shown in place of Deselect all option" into jb-dev
Ray Chen [Wed, 9 May 2012 03:54:30 +0000 (20:54 -0700)]
Merge "Fix 6360834 Select All is shown in place of Deselect all option" into jb-dev

12 years agoCrop-image doesn't show its title in the action-bar.
Yuli Huang [Wed, 9 May 2012 03:01:11 +0000 (11:01 +0800)]
Crop-image doesn't show its title in the action-bar.

bug:6464608
Change-Id: I7b463beaa96f5f475812ec4f0c3de1118a6d0895

12 years agoMark FileCache initialized after init really goes through.
Hung-ying Tyan [Wed, 9 May 2012 02:38:11 +0000 (10:38 +0800)]
Mark FileCache initialized after init really goes through.

Bug: 5988196
Change-Id: Ia826ce6a33c200a2cd09c21d7ef22f4dd161caa9

12 years agoFix 6360834 Select All is shown in place of Deselect all option
Ray Chen [Thu, 3 May 2012 05:10:51 +0000 (13:10 +0800)]
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

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 8 May 2012 19:17:19 +0000 (12:17 -0700)]
Import translations. DO NOT MERGE

Change-Id: I92195544c0e69468c5aab4e7132d6e5d8ce53945

12 years agoBetter orientation change handling.
Chih-Chung Chang [Tue, 8 May 2012 09:57:33 +0000 (17:57 +0800)]
Better orientation change handling.

Bug 6451117: Preview location is wrong after rotating the device quickly
Bug 6444303: The preview location is wrong when camera is started upside down on tablet
Bug 6451710: Tap to focus broken in landscape

Change-Id: I12fd57d6618ec5521ccc6efcbf65de57ff2ea3d2

12 years agoKeep the last page if finish() is rejected.
Owen Lin [Fri, 4 May 2012 03:46:29 +0000 (11:46 +0800)]
Keep the last page if finish() is rejected.

bug: 6414642
Change-Id: I480edc43608c08088177113cb3607d517c91e9f6

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 7 May 2012 19:09:28 +0000 (12:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie522d1506aea36e73a326270218df5ba0fd5c4a5

12 years agoFix back-button's behavior in Crop.
Yuli Huang [Mon, 7 May 2012 15:35:42 +0000 (23:35 +0800)]
Fix back-button's behavior in Crop.

bug:6452504
Change-Id: Ic11dd58c613764e3e6cf7a35135678777e49a4ef

12 years agoMerge "Set default buffer size for SurfaceTexture." into jb-dev
Chih-Chung Chang [Mon, 7 May 2012 14:47:27 +0000 (07:47 -0700)]
Merge "Set default buffer size for SurfaceTexture." into jb-dev

12 years agoRemove PhotoPage spinner shown in the action-bar.
Yuli Huang [Mon, 7 May 2012 07:05:41 +0000 (15:05 +0800)]
Remove PhotoPage spinner shown in the action-bar.

Remove spinners shown for loading data out of view.
bug:5406790

Change-Id: Iffaf97937b86b869559a27f190941c1de263e422

12 years agoMerge "Add UNIQUE to EntrySchema." into jb-dev
Hung-ying Tyan [Mon, 7 May 2012 11:33:41 +0000 (04:33 -0700)]
Merge "Add UNIQUE to EntrySchema." into jb-dev

12 years agoSet default buffer size for SurfaceTexture.
Chih-Chung Chang [Mon, 7 May 2012 11:00:53 +0000 (19:00 +0800)]
Set default buffer size for SurfaceTexture.

This is needed for Panorama.

Change-Id: I452335cfec6357aef7b66ecac003a4b0ca0fd9fe

12 years agoAdd 'process' attribute for PhotoEditor.
Yuli Huang [Mon, 7 May 2012 10:13:29 +0000 (18:13 +0800)]
Add 'process' attribute for PhotoEditor.

PhotoEditor, similar to CropImage, demands much memory and should run in
another process to avoid OOM because of too fragmented memory.
bug:6318340

Change-Id: Ic5a71959435f66b8b7bc9b1c80baf8a70ccfecaf

12 years agoAdd transition for card deck effect.
Chih-Chung Chang [Sun, 6 May 2012 18:29:37 +0000 (02:29 +0800)]
Add transition for card deck effect.

Bug 6442785: Controls disappear & preview surface gets warped after deleting just taken video
Bug 6399861: Filmstrip: Pinch-out animation in fullscreen photo > filmstrip should be metaphorically consistent with the stack of cards model
Bug 6429677: Gray shadow shows up when start

Change-Id: I408cf250e67b4def20f5f15621fe57d7845c90f9

12 years agoFix 6429662: Video snapshot doesn't work
Chih-Chung Chang [Sat, 5 May 2012 19:25:16 +0000 (03:25 +0800)]
Fix 6429662: Video snapshot doesn't work

Change-Id: I6414be7f00ee103b7047128fdc92e03ca87c7703

12 years agoPut play video icon at the same place of the screennails.
Chih-Chung Chang [Sat, 5 May 2012 17:24:22 +0000 (01:24 +0800)]
Put play video icon at the same place of the screennails.

Bug: 6412197
Change-Id: Idaae46c598035639907a85f726b763b80bd9572d

12 years agoTapping on the camera icon no matter what should open camera.
Chih-Chung Chang [Fri, 4 May 2012 13:54:01 +0000 (21:54 +0800)]
Tapping on the camera icon no matter what should open camera.

Bug: 6437677
Change-Id: I41ead463652c11986825744465f181ca75674c60

12 years agoMerge "Add support for Beaming multiple pictures." into jb-dev
Martijn Coenen [Sat, 5 May 2012 17:53:58 +0000 (10:53 -0700)]
Merge "Add support for Beaming multiple pictures." into jb-dev

12 years agoFix a TODO by replacing a string.
Yuli Huang [Sat, 5 May 2012 09:42:32 +0000 (17:42 +0800)]
Fix a TODO by replacing a string.

Change-Id: I17216e0ca83a185842bc69151fcf8c5136e2b873

12 years agoDon't show spinner to avoid janky transition.
Yuli Huang [Thu, 3 May 2012 15:36:51 +0000 (23:36 +0800)]
Don't show spinner to avoid janky transition.

bug:5406790
Change-Id: Ieea09f43d5230e1507c16001ec12b3ea6e3c3f0e

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 4 May 2012 19:05:03 +0000 (12:05 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1e32bdca2eaa33696ebf0ef14df3c78de98e99d9

12 years agoAdd UNIQUE to EntrySchema.
Hung-ying Tyan [Fri, 4 May 2012 10:07:48 +0000 (18:07 +0800)]
Add UNIQUE to EntrySchema.

Change-Id: I0fbf69a60aafe8d7a82241467d077c48beadbf49