OSDN Git Service

android-x86/packages-apps-Gallery2.git
12 years agoam a72d51b6: Import translations. DO NOT MERGE
Eric Fischer [Thu, 31 May 2012 18:14:09 +0000 (11:14 -0700)]
am a72d51b6: Import translations. DO NOT MERGE

* commit 'a72d51b6a4b5dadc0dea91882e0cdafc97c652b3':
  Import translations. DO NOT MERGE

12 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

12 years agoam 192b7f1d: Improve scale gesture snapback.
Chih-Chung Chang [Thu, 31 May 2012 06:21:55 +0000 (23:21 -0700)]
am 192b7f1d: Improve scale gesture snapback.

* commit '192b7f1ddf08e7bfa0c65dbf61edb81ebb5a0998':
  Improve scale gesture snapback.

12 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

12 years agoam f3f90752: If the focused box was at minimal scale, we try to make it the minimal...
Chih-Chung Chang [Thu, 31 May 2012 05:47:20 +0000 (22:47 -0700)]
am f3f90752: If the focused box was at minimal scale, we try to make it the minimal scale under the new view size.

* commit 'f3f90752ca92372d61ca0ec22a9846261cfbcbde':
  If the focused box was at minimal scale, we try to make it the minimal scale under the new view size.

12 years agoam 42e1fed4: Move to final position after view size change.
Chih-Chung Chang [Thu, 31 May 2012 01:36:33 +0000 (18:36 -0700)]
am 42e1fed4: Move to final position after view size change.

* commit '42e1fed4edd9ed1e326aab2f7969242c56812952':
  Move to final position after view size change.

12 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

12 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

12 years agoam 28b4d3a8: Merge "Improve image size change handling." into jb-dev
Chih-Chung Chang [Wed, 30 May 2012 20:57:00 +0000 (13:57 -0700)]
am 28b4d3a8: Merge "Improve image size change handling." into jb-dev

* commit '28b4d3a8fd7a70647f9445752bf1a4e73b99f265':
  Improve image size change handling.

12 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

12 years agoam c23258a5: Import translations. DO NOT MERGE
Eric Fischer [Wed, 30 May 2012 17:35:20 +0000 (10:35 -0700)]
am c23258a5: Import translations. DO NOT MERGE

* commit 'c23258a525b475666e4bff21da72a9c8a93e4971':
  Import translations. DO NOT MERGE

12 years agoReconcile with jb-release
The Android Open Source Project [Wed, 30 May 2012 17:16:02 +0000 (10:16 -0700)]
Reconcile with jb-release

Change-Id: Ib078ec6a8d678533d89d2db0d1d8df2fa6c724e8

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 30 May 2012 14:04:40 +0000 (07:04 -0700)]
merge in jb-release history after reset to jb-dev

12 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

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

* commit 'f1f02b6ec5998102257f0c60d61b0b07df796064':
  Keep screen on for user-initiated slideshow.

12 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

12 years agoam cde8d176: Merge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 29 May 2012 19:08:08 +0000 (12:08 -0700)]
am cde8d176: Merge "Import translations. DO NOT MERGE" into jb-dev

* commit 'cde8d1762af242a89aeea6062b185e7717da5a62':
  Import translations. DO NOT MERGE

12 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

12 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

12 years agoam fd08e675: Import translations. DO NOT MERGE
Eric Fischer [Tue, 29 May 2012 18:51:57 +0000 (11:51 -0700)]
am fd08e675: Import translations. DO NOT MERGE

* commit 'fd08e675f3d83594bb7e78577d40fea1537a4935':
  Import translations. DO NOT MERGE

12 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

12 years agoam 20d558a1: Merge "Fix over-sized images in drawable-sw600dp." into jb-dev
Wei Huang [Tue, 29 May 2012 16:54:41 +0000 (09:54 -0700)]
am 20d558a1: Merge "Fix over-sized images in drawable-sw600dp." into jb-dev

* commit '20d558a1b9d5f0e2b6cf4fa2b7d38b5a5ce8acf6':
  Fix over-sized images in drawable-sw600dp.

12 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

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Tue, 29 May 2012 16:41:17 +0000 (09:41 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I066f2ea934faee09776a9c798d414bc6d66a57af

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 29 May 2012 15:59:46 +0000 (08:59 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 years agoam 00bb8e43: Add back the background when we show the action bar
Owen Lin [Fri, 25 May 2012 23:42:30 +0000 (16:42 -0700)]
am 00bb8e43: Add back the background when we show the action bar

* commit '00bb8e439e33848d679a4404c203af9ed1a06a19':
  Add back the background when we show the action bar

12 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

12 years agoam ceab9f07: Import translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 18:32:39 +0000 (11:32 -0700)]
am ceab9f07: Import translations. DO NOT MERGE

* commit 'ceab9f07470e899c2ff34d4ddd4a43395a9f6523':
  Import translations. DO NOT MERGE

12 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

12 years agoam 95c2aeab: Force to stop scrolling in filmstrip mode.
Angus Kong [Fri, 25 May 2012 15:08:28 +0000 (08:08 -0700)]
am 95c2aeab: Force to stop scrolling in filmstrip mode.

* commit '95c2aeab0bf398b45d8a9c562fd110d1e3756139':
  Force to stop scrolling in filmstrip mode.

12 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

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Thu, 24 May 2012 17:19:07 +0000 (10:19 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Thu, 24 May 2012 16:01:34 +0000 (09:01 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: Ica8aa2dd8cbd2b5ac3dcdd4dc1f277394076f75f

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 24 May 2012 14:01:24 +0000 (07:01 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoam 83bb96be: Merge "Updating launcher icon to fix alignment. Bug: 6511716" into...
Christian Robertson [Wed, 23 May 2012 21:04:36 +0000 (14:04 -0700)]
am 83bb96be: Merge "Updating launcher icon to fix alignment. Bug:  6511716" into jb-dev

* commit '83bb96be9e602ed81c03cbb48e20471ebb235d25':
  Updating launcher icon to fix alignment. Bug:  6511716

12 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

12 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

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

* commit '4608195e1c3f29a15fb61a8f3cd0797af9dbc938':
  Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video playback mode b:6519765

12 years agoam 2ea599ae: Merge "Back should progress through Gallery and return Home for widget...
Yuli Huang [Wed, 23 May 2012 18:00:39 +0000 (11:00 -0700)]
am 2ea599ae: Merge "Back should progress through Gallery and return Home for widget intents." into jb-dev

* commit '2ea599aee03d431af770fb39e83d7a93a66b2ac0':
  Back should progress through Gallery and return Home for widget intents.

12 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

12 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

12 years agoam 835bc683: Merge "Remove the background in MovieActivity." into jb-dev
Chih-Chung Chang [Wed, 23 May 2012 17:57:02 +0000 (10:57 -0700)]
am 835bc683: Merge "Remove the background in MovieActivity." into jb-dev

* commit '835bc6835d42009999536f509ed1dd2f5359cf9b':
  Remove the background in MovieActivity.

12 years agoam 6673c212: Merge "Put a black View in front of SurfaceView." into jb-dev
Chih-Chung Chang [Wed, 23 May 2012 17:57:01 +0000 (10:57 -0700)]
am 6673c212: Merge "Put a black View in front of SurfaceView." into jb-dev

* commit '6673c21275772af55c9ae72cd78cbbe710edc023':
  Put a black View in front of SurfaceView.

12 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

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 agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 23 May 2012 14:03:50 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 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

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

* commit '13188c884a93f6086cbf4e860fb6dfcbc44c6e13':
  Fix 6259517 "0 images / videos available" toast is displayed in gallery on launch though it has images / videos

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 agoam 96b012c8: Merge "Recycle textures when we don\'t need them." into jb-dev
Wei Huang [Wed, 23 May 2012 04:57:00 +0000 (21:57 -0700)]
am 96b012c8: Merge "Recycle textures when we don\'t need them." into jb-dev

* commit '96b012c84436c776fe515f7d70eb4f8f309ce38a':
  Recycle textures when we don't need them.

12 years agoam e6251df0: Unlock orientation only when action bar is needed.
Chih-Chung Chang [Wed, 23 May 2012 04:56:58 +0000 (21:56 -0700)]
am e6251df0: Unlock orientation only when action bar is needed.

* commit 'e6251df06f0b3c8f556043f8b725b4b19be7474d':
  Unlock orientation only when action bar is needed.

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 agoam 5c64aba0: Fix build.
Owen Lin [Tue, 22 May 2012 22:33:08 +0000 (15:33 -0700)]
am 5c64aba0: Fix build.

* commit '5c64aba0315281a67894b7d772e128e0bb6bea01':
  Fix build.

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

Change-Id: Ied20eb41fcae52f40f319adb0fbbfad4d94e3019

12 years agoam 37c60594: Add a new state uploading to UploadedTexture.
Owen Lin [Tue, 22 May 2012 21:37:55 +0000 (14:37 -0700)]
am 37c60594: Add a new state uploading to UploadedTexture.

* commit '37c605949219b8bf54c165c34d6405f5f2989f50':
  Add a new state uploading to UploadedTexture.

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 agoam e919bcff: Hide status bar in lights out mode.
Chih-Chung Chang [Tue, 22 May 2012 21:27:59 +0000 (14:27 -0700)]
am e919bcff: Hide status bar in lights out mode.

* commit 'e919bcff63e898d53869725a979cdfd01ef92b08':
  Hide status bar in lights out mode.

12 years agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Tue, 22 May 2012 20:25:07 +0000 (13:25 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agoReconcile with jb-release
The Android Open Source Project [Tue, 22 May 2012 20:06:49 +0000 (13:06 -0700)]
Reconcile with jb-release

Change-Id: Iab183513b82663ccd910b17a5c985db9e1a3f04a

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 agoam c2c0b01f: Reuse bitmap to prevent GC in TiledImageView.
Owen Lin [Tue, 22 May 2012 18:57:57 +0000 (11:57 -0700)]
am c2c0b01f: Reuse bitmap to prevent GC in TiledImageView.

* commit 'c2c0b01fbbf243eee1a11c33ba6dd1ce918a9ce5':
  Reuse bitmap to prevent GC in TiledImageView.

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 agoam 49affdc4: Limit the size of a ScreenNail.
Owen Lin [Tue, 22 May 2012 18:06:00 +0000 (11:06 -0700)]
am 49affdc4: Limit the size of a ScreenNail.

* commit '49affdc4e274098a34e4eb2dbe4a89a750f1ba7f':
  Limit the size of a ScreenNail.

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 agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 22 May 2012 14:06:38 +0000 (07:06 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoam 21c2e665: Fix 6360834 Select All is shown in place of Deselect all option
Ray Chen [Tue, 22 May 2012 06:28:19 +0000 (23:28 -0700)]
am 21c2e665: Fix 6360834 Select All is shown in place of Deselect all option

* commit '21c2e665fdc1d1af0c91ab9c104d13fb7dc2444e':
  Fix 6360834 Select All is shown in place of Deselect all option

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 agoam 3efc2b24: Merge "Don\'t fire data change notification before the data is made...
Chih-Chung Chang [Tue, 22 May 2012 00:27:17 +0000 (17:27 -0700)]
am 3efc2b24: Merge "Don\'t fire data change notification before the data is made consistent." into jb-dev

* commit '3efc2b24e29f7591993c43ef2653332054203578':
  Don't fire data change notification before the data is made consistent.

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

* commit '7a836b5ad59be5b122cbbacaa3a1882d4a791355':
  Fix capture animation if we are far away from the camera preview.

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 agoam d7ebcd2f: Merge "Fix 6513486: Extend char limit from 30 to 50. b:6513486" into...
Wei Huang [Mon, 21 May 2012 20:01:07 +0000 (13:01 -0700)]
am d7ebcd2f: Merge "Fix 6513486: Extend char limit from 30 to 50. b:6513486" into jb-dev

* commit 'd7ebcd2fef383f0a68b6af40e15bee81f3ec5c4b':
  Fix 6513486: Extend char limit from 30 to 50. b:6513486

12 years agoam 614fe145: Merge "Fix the detail isn\'t updated for the selected thumbnail." into...
Wei Huang [Mon, 21 May 2012 20:01:01 +0000 (13:01 -0700)]
am 614fe145: Merge "Fix the detail isn\'t updated for the selected thumbnail." into jb-dev

* commit '614fe145f539119084b4cf0b1d6892bfcded1a0b':
  Fix the detail isn't updated for the selected thumbnail.

12 years agoam a3871050: Fix 6385004 When video playback in gallery is launched from another...
Ray Chen [Mon, 21 May 2012 19:58:53 +0000 (12:58 -0700)]
am a3871050: 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.

* commit 'a3871050845b4921379add2b126add3cfbab1109':
  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.

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 agomerge in jb-release history after reset to jb-dev
The Android Automerger [Sun, 20 May 2012 14:39:51 +0000 (07:39 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoReconcile with jb-release nakasi-factoryrom-release
The Android Open Source Project [Sat, 19 May 2012 01:43:57 +0000 (18:43 -0700)]
Reconcile with jb-release nakasi-factoryrom-release

Change-Id: I00d1e51120d9a41e8d5e33646f9f86e852e0631e

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 agomerge in nakasi-factoryrom-release history after reset to jb-dev
The Android Automerger [Fri, 18 May 2012 17:49:15 +0000 (10:49 -0700)]
merge in nakasi-factoryrom-release history after reset to jb-dev

12 years agoam c9f743a7: Fix action-bar title for cropping wallpaper.
Yuli Huang [Fri, 18 May 2012 08:39:02 +0000 (01:39 -0700)]
am c9f743a7: Fix action-bar title for cropping wallpaper.

* commit 'c9f743a777cf5e5e91bad7810584be052db21eed':
  Fix action-bar title for cropping wallpaper.

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 agoam ab82ed93: Remove camera icon in Gallery if there is no launcher icon.
Chih-Chung Chang [Fri, 18 May 2012 07:17:24 +0000 (00:17 -0700)]
am ab82ed93: Remove camera icon in Gallery if there is no launcher icon.

* commit 'ab82ed93f46a728018e7f1fdc3d0a877dc3d9171':
  Remove camera icon in Gallery if there is no launcher icon.

12 years agoam 62c29e71: Handle null for the video resolution field in MediaProvider.
Chih-Chung Chang [Fri, 18 May 2012 07:09:28 +0000 (00:09 -0700)]
am 62c29e71: Handle null for the video resolution field in MediaProvider.

* commit '62c29e71e226ae31573ab883a18e30fdfcb2711b':
  Handle null for the video resolution field in MediaProvider.

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