OSDN Git Service

android-x86/packages-apps-Gallery2.git
11 years agoImport translations. DO NOT MERGE
Ying Wang [Wed, 20 Jun 2012 16:42:55 +0000 (09:42 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7b28f69652740d7e0f0a9e55ec40c9b710986391

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 19 Jun 2012 20:23:08 +0000 (13:23 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibcd085099f2a66292ff49a84cf05910b430fe147

11 years agoMerge "Make SystemUI always consists with the contrller overlay." into jb-dev
Wei Huang [Tue, 19 Jun 2012 18:23:10 +0000 (11:23 -0700)]
Merge "Make SystemUI always consists with the contrller overlay." into jb-dev

11 years agoMake SystemUI always consists with the contrller overlay.
Owen Lin [Tue, 19 Jun 2012 06:35:06 +0000 (14:35 +0800)]
Make SystemUI always consists with the contrller overlay.

Change-Id: I81f2a71fd38fc2588a9acb97b9d333978ffb5e48
fix: 6679875

11 years agoMerge "Fix Gallery glitch due to ColorTexture." into jb-dev
Wei Huang [Tue, 19 Jun 2012 06:15:18 +0000 (23:15 -0700)]
Merge "Fix Gallery glitch due to ColorTexture." into jb-dev

11 years agoFix Gallery glitch due to ColorTexture.
Owen Lin [Tue, 19 Jun 2012 03:36:23 +0000 (11:36 +0800)]
Fix Gallery glitch due to ColorTexture.

Change the initial value of mTextureTarget to GL_TEXTURE_2D,
since it is default enabled.

bug:6668616

Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519

11 years agoImport translations. DO NOT MERGE
Ying Wang [Mon, 18 Jun 2012 17:22:03 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE

Change-Id: I68a09a0a51b46c4929d725dbd22d2176fadba8c6

11 years agoFix scaling gesture responsiveness.
Chih-Chung Chang [Mon, 18 Jun 2012 09:24:58 +0000 (17:24 +0800)]
Fix scaling gesture responsiveness.

Bug: 6632011
Change-Id: I9cfeafa4365354a631565f8ee4a9b53df76d06e9

11 years agoAdd swipe-to-delete gesture.
Chih-Chung Chang [Thu, 7 Jun 2012 12:09:13 +0000 (20:09 +0800)]
Add swipe-to-delete gesture.

Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3

11 years agoImport translations. DO NOT MERGE
Ying Wang [Tue, 12 Jun 2012 18:50:53 +0000 (11:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id76289427ddecca985371b6d11e3e1fcb7f8b49f

11 years agoDon't display loading text when loading album sets.
Yuli Huang [Mon, 11 Jun 2012 06:29:23 +0000 (14:29 +0800)]
Don't display loading text when loading album sets.

bug:6635606
Change-Id: I55f0dafd5ead8455ed8bee1f03c06ca03662ebbd

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 8 Jun 2012 23:26:27 +0000 (16:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3e067ce23fd1d27086b2a8b60e7532f6aa8f7601

11 years agoMerge "Check the offset of output rect when cropping image." into jb-dev
Wei Huang [Wed, 6 Jun 2012 21:47:58 +0000 (14:47 -0700)]
Merge "Check the offset of output rect when cropping image." into jb-dev

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 6 Jun 2012 17:56:12 +0000 (10:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I543c2eab5652cf2f6ad3534ce9d59bd3a973e74b

11 years agoCheck the offset of output rect when cropping image.
Owen Lin [Wed, 30 May 2012 08:39:21 +0000 (16:39 +0800)]
Check the offset of output rect when cropping image.

bug: 6568720
Change-Id: I36c98cab5830eaac15369ada1a1a988e10b0fbf4

11 years agoMerge "Update drawable for the new resize handles." into jb-dev
Wei Huang [Tue, 5 Jun 2012 18:07:14 +0000 (11:07 -0700)]
Merge "Update drawable for the new resize handles." into jb-dev

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 5 Jun 2012 16:39:21 +0000 (09:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3b315a50d72129caf734b5d7279e352e73d74cdb

11 years agoUpdate drawable for the new resize handles.
Yuli Huang [Tue, 5 Jun 2012 10:28:16 +0000 (18:28 +0800)]
Update drawable for the new resize handles.

bug:6598235
Change-Id: Id765f4024ad2896b3f172dce3408b2634fb1eb18

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 4 Jun 2012 21:44:28 +0000 (14:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idb069f2aca29a88fa1b34d7198968109fe88fa9e

11 years agoMerge "Update the screen nail size even if screen nail is still the same one." into...
Wei Huang [Mon, 4 Jun 2012 16:15:15 +0000 (09:15 -0700)]
Merge "Update the screen nail size even if screen nail is still the same one." into jb-dev

11 years agoFix b/6590795 dejank photo effect slider
Ruei-sung Lin [Thu, 31 May 2012 18:59:31 +0000 (11:59 -0700)]
Fix b/6590795 dejank photo effect slider

Change-Id: I14737bd01361b58c6bd4af19957d514368cc19ea

11 years agoUpdate the screen nail size even if screen nail is still the same one.
Chih-Chung Chang [Fri, 1 Jun 2012 19:03:08 +0000 (12:03 -0700)]
Update the screen nail size even if screen nail is still the same one.

Because the rotation value may have changed.

Bug: 6594218
Change-Id: I8da2a3041da0e27e1b80723dab8a825a2350c2dd

11 years agoAdding xhdpi version of app icon. Bug: 6596419
Christian Robertson [Fri, 1 Jun 2012 18:11:49 +0000 (11:11 -0700)]
Adding xhdpi version of app icon. Bug: 6596419

Change-Id: I6f8b044d14854f41a4ba788756045f1ee1f56759

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 1 Jun 2012 17:19:04 +0000 (10:19 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie58fbc6fe46cbf13cf54a0db03d50bda43f778de

11 years agoMerge "Use "Gallery" instead of "Photo Studio" as the label for photo editor." into...
Wei Huang [Fri, 1 Jun 2012 05:17:50 +0000 (22:17 -0700)]
Merge "Use "Gallery" instead of "Photo Studio" as the label for photo editor." into jb-dev

11 years agoMerge "Don't allow the orientation to be unlocked if "Rotation Lock" is checked in...
Chih-Chung Chang [Thu, 31 May 2012 23:03:31 +0000 (16:03 -0700)]
Merge "Don't allow the orientation to be unlocked if "Rotation Lock" is checked in Settings." into jb-dev

11 years agoUse "Gallery" instead of "Photo Studio" as the label for photo editor.
Chih-Chung Chang [Thu, 31 May 2012 20:34:15 +0000 (13:34 -0700)]
Use "Gallery" instead of "Photo Studio" as the label for photo editor.

Bug: 6589966
Change-Id: I0760fa6864da5c398e157f386295dea372f0b33e

11 years agoDon't allow the orientation to be unlocked if "Rotation Lock" is checked in Settings.
Chih-Chung Chang [Thu, 31 May 2012 17:52:07 +0000 (10:52 -0700)]
Don't allow the orientation to be unlocked if "Rotation Lock" is checked in Settings.

Bug: 6577802
Change-Id: I5c8eefbb154eedcf71e80e082261e38450105892

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 31 May 2012 17:58:53 +0000 (10:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: I854fe48674bc25b209370d0e943bba9704fdf3cd

11 years agoImprove scale gesture snapback.
Chih-Chung Chang [Wed, 30 May 2012 22:47:44 +0000 (15:47 -0700)]
Improve scale gesture snapback.

If the picture is zoomed-in, we want to keep the focus point stay in
the same position on screen, so we need to adjust the target mCurrentX
value.

Bug: 6563619
Change-Id: I87b23da99aced1490187e550bd43fad733122577

11 years agoIf the focused box was at minimal scale, we try to make it the
Chih-Chung Chang [Thu, 31 May 2012 00:10:32 +0000 (17:10 -0700)]
If the focused box was at minimal scale, we try to make it the
minimal scale under the new view size.

Bug: 6584425
Change-Id: I7dcc748cb3659a06f2ca4d8550d075fdda2949fa

11 years agoMove to final position after view size change.
Chih-Chung Chang [Wed, 30 May 2012 23:29:18 +0000 (16:29 -0700)]
Move to final position after view size change.

Bug: 6584188
Change-Id: If6ab23532bd7040701e358f9cdd813d2f6a71e5c

11 years agoMerge "Improve image size change handling." into jb-dev
Chih-Chung Chang [Wed, 30 May 2012 20:52:52 +0000 (13:52 -0700)]
Merge "Improve image size change handling." into jb-dev

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 30 May 2012 17:10:02 +0000 (10:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idbc7268dabbede56d3fddb73f3513b8bdcde6a8d

11 years agoImprove image size change handling.
Chih-Chung Chang [Tue, 29 May 2012 22:28:36 +0000 (15:28 -0700)]
Improve image size change handling.

- When the camera relative frame is set, we delay the change for camera
rectange until the next setImageSize call. This avoids the unwanted
intermediate state if we change them separately.

- Don't draw other screennails when the camera is in full screen. This
avoids showing other screennails when the image size changes.

- When the aspect ratio of the image changes, we assume the view angle
of the longer side doesn't change (so the aspect ratio change is because
the view angle of the shorter side changes). This matches what camera
preview does.

Bug: 6566612

Change-Id: I7603416f31c96ba77c96cdc2a3d0b79f8921c491

11 years agoMerge "Keep screen on for user-initiated slideshow." into jb-dev
Wei Huang [Tue, 29 May 2012 20:11:12 +0000 (13:11 -0700)]
Merge "Keep screen on for user-initiated slideshow." into jb-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 29 May 2012 19:06:01 +0000 (12:06 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

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

Change-Id: Id68af15d8c2c99947e9118446736fda1a588769a

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Tue, 29 May 2012 17:57:57 +0000 (10:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ief5e6efb118d8e5b229736a5a4c3a22d5b8f796c

11 years agoMerge "Fix over-sized images in drawable-sw600dp." into jb-dev
Wei Huang [Tue, 29 May 2012 16:52:43 +0000 (09:52 -0700)]
Merge "Fix over-sized images in drawable-sw600dp." into jb-dev

11 years agoKeep screen on for user-initiated slideshow.
Yuli Huang [Mon, 28 May 2012 15:39:27 +0000 (23:39 +0800)]
Keep screen on for user-initiated slideshow.

Change-Id: I3085398c663e2c38a31cfde5a07b23446bb7bd7f
b:6450305

11 years agoFix over-sized images in drawable-sw600dp.
Hung-ying Tyan [Sat, 26 May 2012 00:17:22 +0000 (08:17 +0800)]
Fix over-sized images in drawable-sw600dp.

We have both drawable-sw600dp/ and drawable-sw600dp-mdpi/. We are getting
images from drawable-sw600dp/ and they are too large. Those over-sized images
are removed, and to avoid confusion, move the images in drawable-sw600dp-mdpi/
to drawable-sw600dp/.

Bug: 6549010
Change-Id: Ibd6dea8aec3740c4e6d5992ccdba3518fbb89a23

11 years agoAdd back the background when we show the action bar
Owen Lin [Wed, 23 May 2012 22:47:36 +0000 (15:47 -0700)]
Add back the background when we show the action bar

This change fix the following UI issues:

1. We add a black backgorund when ActionBar shows and remove it
   when we hide the action bar.
2. Make the postion of video stable when opening
3. Prevent glitching when opening a video
4. Make it really full-screen.
5. Hide ControlOverlay at begining.

bug:6519765
bug:6491674

Change-Id: I3ab033642df2c4a158b99385b02e3e967eebeabd

11 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 18:26:03 +0000 (11:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ica289f7c9b3b9fcb792be31e2088300cd1d5ac92

11 years agoForce to stop scrolling in filmstrip mode.
Angus Kong [Thu, 24 May 2012 23:20:57 +0000 (16:20 -0700)]
Force to stop scrolling in filmstrip mode.

bug:6554106
Change-Id: I4305ce7068a36e72a325996a88c1d227a2d2b20c

11 years agoMerge "Updating launcher icon to fix alignment. Bug: 6511716" into jb-dev
Christian Robertson [Wed, 23 May 2012 21:01:12 +0000 (14:01 -0700)]
Merge "Updating launcher icon to fix alignment. Bug:  6511716" into jb-dev

11 years agoUpdating launcher icon to fix alignment. Bug: 6511716
Christian Robertson [Wed, 23 May 2012 18:59:51 +0000 (11:59 -0700)]
Updating launcher icon to fix alignment. Bug:  6511716

Change-Id: Icf1ab8d7cce0217717db3044366280248e093a86

11 years agoMerge "Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video...
Wei Huang [Wed, 23 May 2012 18:00:01 +0000 (11:00 -0700)]
Merge "Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode b:6519765" into jb-dev

11 years agoMerge "Back should progress through Gallery and return Home for widget intents."...
Yuli Huang [Wed, 23 May 2012 17:58:11 +0000 (10:58 -0700)]
Merge "Back should progress through Gallery and return Home for widget intents." into jb-dev

11 years agoMerge "Remove the background in MovieActivity." into jb-dev
Chih-Chung Chang [Wed, 23 May 2012 17:54:46 +0000 (10:54 -0700)]
Merge "Remove the background in MovieActivity." into jb-dev

11 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

11 years agoFix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback...
Ray Chen [Tue, 22 May 2012 09:34:29 +0000 (17:34 +0800)]
Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode
b:6519765

Ensure SYSTEM_UI_FLAG_LAYOUT_STABLE and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN is set in all states
so ActionBarOverlayLayout can response to fitSystemWindows and onSystemVisibilityChange correctly.

Change-Id: I41a33c9e7d21243bde6fa64e6cd1b709e7b04203

11 years agoBack should progress through Gallery and return Home for widget intents.
Yuli Huang [Wed, 23 May 2012 08:06:32 +0000 (16:06 +0800)]
Back should progress through Gallery and return Home for widget intents.

bug:6384492
Change-Id: I7ffb824568e400ff5724a29c1908c34a1e10235c

11 years agoRemove the background in MovieActivity.
Owen Lin [Tue, 22 May 2012 21:19:31 +0000 (14:19 -0700)]
Remove the background in MovieActivity.

This is a regression. We add the background for bug 6494653.
So we need to remove it in MovieActivity as well.

bug:6491674
Change-Id: I6fb692fa778a1200ffbed741ca0996cb7eeef32f

11 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

11 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

11 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

11 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

11 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

11 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

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

Change-Id: Ied20eb41fcae52f40f319adb0fbbfad4d94e3019

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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