OSDN Git Service

android-x86/packages-apps-Gallery2.git
12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 26 Jun 2012 18:11:31 +0000 (11:11 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoFix the behavior of deleting the last picture.
Chih-Chung Chang [Fri, 22 Jun 2012 12:56:04 +0000 (20:56 +0800)]
Fix the behavior of deleting the last picture.

Also fix the jank while deleting multiple pictures quickly.

Bug: 67139326712555
Change-Id: I9d64d8bbdcd4ec0dc9a447a51d50f88ff27363b4

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Fri, 22 Jun 2012 22:08:45 +0000 (15:08 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoImport translations. DO NOT MERGE
Ying Wang [Fri, 22 Jun 2012 17:54:51 +0000 (10:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I49c07cd7b3bde69fb0b2b09c298710cae6d2a91f

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Thu, 21 Jun 2012 21:20:58 +0000 (14:20 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 21 Jun 2012 18:01:30 +0000 (11:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ife7bedf0d5a4ef1a25a0474b56773da7c635317e

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

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 21 Jun 2012 01:44:55 +0000 (18:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: I74d3d343c159a47c3375fbbb28b2579034d33d72

12 years agoMerge "Fade in/out the undo bar." into jb-dev
Wei Huang [Wed, 20 Jun 2012 18:35:46 +0000 (11:35 -0700)]
Merge "Fade in/out the undo bar." into jb-dev

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 20 Jun 2012 14:03:33 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 years agoFade in/out the undo bar.
Chih-Chung Chang [Tue, 19 Jun 2012 09:34:50 +0000 (17:34 +0800)]
Fade in/out the undo bar.

The fading out happens after 3 seconds or the user swipes away.

Bug: 6610348

Change-Id: Icd4dea7b0396f26556240adab93b9e645a9f1e58

12 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

12 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

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 19 Jun 2012 14:04:48 +0000 (07:04 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 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

12 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

12 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

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 13 Jun 2012 15:45:06 +0000 (08:45 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 12 Jun 2012 18:24:10 +0000 (11:24 -0700)]
merge in jb-release history after reset to jb-dev

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Mon, 11 Jun 2012 14:03:51 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

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

12 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

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Wed, 6 Jun 2012 14:03:47 +0000 (07:03 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Tue, 5 Jun 2012 13:59:32 +0000 (06:59 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 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

12 years agomerge in jb-release history after reset to jb-dev
The Android Automerger [Sun, 3 Jun 2012 13:04:40 +0000 (06:04 -0700)]
merge in jb-release history after reset to jb-dev

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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