OSDN Git Service

android-x86/packages-apps-Camera2.git
12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Thu, 29 Sep 2011 21:25:11 +0000 (14:25 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: I83684406f2c3ac17cc89b746b27fb5a04333459b

12 years agoAdd maskDebugInfo to display info for debugging build only.
Owen Lin [Tue, 27 Sep 2011 12:14:34 +0000 (20:14 +0800)]
Add maskDebugInfo to display info for debugging build only.

bug: 5335366

Change-Id: I5b6de536bb8e9439b61eb3778fbb1801c8e898c8

12 years agoSmall UI tweak: only show fade-in animation when the bitmap
Chih-Chung Chang [Thu, 29 Sep 2011 05:16:48 +0000 (13:16 +0800)]
Small UI tweak: only show fade-in animation when the bitmap
has not been available for rendering before.

Change-Id: I57df7911c5afa7aa2eec910d0e21679ed978ddad

12 years agoChange gallery crop interface to be consistent with widget resizing
Michael Jurka [Tue, 27 Sep 2011 19:21:27 +0000 (12:21 -0700)]
Change gallery crop interface to be consistent with widget resizing

- Always show the resize controls when you're not touching the UI
- Change the resize controls to the holo style

Change-Id: Ia32235d6d82196a24b26fc78b9e9e1e3fb1f5250

12 years agoMerge "Fix 5384679: Back button doesn't work in Video Player"
Chih-Chung Chang [Wed, 28 Sep 2011 15:07:57 +0000 (08:07 -0700)]
Merge "Fix 5384679: Back button doesn't work in Video Player"

12 years agoFix 5384679: Back button doesn't work in Video Player
Chih-Chung Chang [Wed, 28 Sep 2011 13:07:19 +0000 (21:07 +0800)]
Fix 5384679: Back button doesn't work in Video Player

Change-Id: Idde8778fc5643ef21fd4ad39ffbaa3c9e0c7d147

12 years agoMerge "Fix 5158468: Hide system bar when no play control is shown."
Chih-Chung Chang [Wed, 28 Sep 2011 11:48:09 +0000 (04:48 -0700)]
Merge "Fix 5158468: Hide system bar when no play control is shown."

12 years agoFix 5158468: Hide system bar when no play control is shown.
Chih-Chung Chang [Tue, 27 Sep 2011 08:50:16 +0000 (16:50 +0800)]
Fix 5158468: Hide system bar when no play control is shown.

Change-Id: Iada70c39440f19eec1cb00088531719bc1bb8328

12 years agoMerge "Fix 5367072: Add thumbnail fade-in animation."
Chih-Chung Chang [Wed, 28 Sep 2011 07:18:27 +0000 (00:18 -0700)]
Merge "Fix 5367072: Add thumbnail fade-in animation."

12 years agoFix 5367072: Add thumbnail fade-in animation.
Chih-Chung Chang [Tue, 27 Sep 2011 11:44:36 +0000 (19:44 +0800)]
Fix 5367072: Add thumbnail fade-in animation.

Change-Id: I1101721c703d6dcb98f11178d54d65446f74ce06

12 years agoMerge "Fix 5341761 gallery vibrate on confirm delete"
Ray Chen [Wed, 28 Sep 2011 02:33:05 +0000 (19:33 -0700)]
Merge "Fix 5341761  gallery vibrate on confirm delete"

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Tue, 27 Sep 2011 20:32:29 +0000 (13:32 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoam fef5b986: Fix b/5287869 (and b/5369640).
Yuli Huang [Tue, 27 Sep 2011 17:28:02 +0000 (10:28 -0700)]
am fef5b986: Fix b/5287869 (and b/5369640).

* commit 'fef5b9860f0a88fc673af2187938956ebd0ade75':
  Fix b/5287869 (and b/5369640).

12 years agoFix b/5287869 (and b/5369640).
Yuli Huang [Tue, 27 Sep 2011 17:21:15 +0000 (01:21 +0800)]
Fix b/5287869 (and b/5369640).

Images from some app (MMS) may not have columns that PhotoEditor tries
to query, for example: the orientation. Just ignore the absent columns.

Change-Id: I1cda4e32241d9be7819453ede225388c7535c18c

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Tue, 27 Sep 2011 17:11:00 +0000 (10:11 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Ic6421d14d0c9fac864e6fe67ae6cd763d50cab9a

12 years agoFix 5341761 gallery vibrate on confirm delete
Ray Chen [Tue, 27 Sep 2011 07:48:08 +0000 (15:48 +0800)]
Fix 5341761  gallery vibrate on confirm delete

Change-Id: I819855f28246c91324ea86ab9e0ac1ec1c19783c

12 years agoFix 5299746: Update panorama thumbnail overlay.
Chih-Chung Chang [Tue, 27 Sep 2011 05:11:51 +0000 (13:11 +0800)]
Fix 5299746: Update panorama thumbnail overlay.

Change-Id: Ide3e592ad5f697acc6b2ebc2a092044803b82d7b

12 years agoMove out PositionController from PhotoView.
Chih-Chung Chang [Mon, 26 Sep 2011 09:34:06 +0000 (17:34 +0800)]
Move out PositionController from PhotoView.

Change-Id: Id1088ffbd67ff5e986fdf16f70ba24f1537d10ab

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Mon, 26 Sep 2011 23:17:28 +0000 (16:17 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoam 9025dba3: (-s ours) (DO NOT MERGE)
Owen Lin [Mon, 26 Sep 2011 20:56:01 +0000 (13:56 -0700)]
am 9025dba3: (-s ours) (DO NOT MERGE)

* commit '9025dba35881391c24bdaa88d1ec84d15d722f65':
  (DO NOT MERGE)

12 years ago(DO NOT MERGE)
Owen Lin [Tue, 13 Sep 2011 12:48:13 +0000 (20:48 +0800)]
(DO NOT MERGE)

Add a hard limit on the size of the widget images.

There is a limit on the size of the data transfered by binder.
For now, we just add a hard limit (360 pixel) to ensure the widget's image
can be passed by binder.

Also adjust the size of widget to make it looks better.

Fix a bug in DecodeUtils which cause OOM for a image in size 12200x1920.
In that case, we should generate a screen nail of size 640x101 instead of
4066x640.

Change-Id: Ie42805d9e9e579b063fc99f5130ec433d695b8c9
fix: 5273271

12 years agoFix 5223982: Add animation when scrolling hits the edge.
Chih-Chung Chang [Mon, 26 Sep 2011 02:40:38 +0000 (10:40 +0800)]
Fix 5223982: Add animation when scrolling hits the edge.

Change-Id: I3c5191af3fe44ba835ae9b22755613a933065bcd

12 years agoMerge "Fix 5349519: The Select photo/video activity should use action bar."
Chih-Chung Chang [Fri, 23 Sep 2011 09:04:47 +0000 (02:04 -0700)]
Merge "Fix 5349519: The Select photo/video activity should use action bar."

12 years agoFix crop never returns
Owen Lin [Fri, 23 Sep 2011 07:24:28 +0000 (15:24 +0800)]
Fix crop never returns

fix: 5359106

We should return true if the save is successfully.
Also make it more robust even with exceptions.

Change-Id: I4d06b625177d4d479c89a7de1bcdf6f6f301a3da

12 years agoFix 5349519: The Select photo/video activity should use action bar.
Chih-Chung Chang [Fri, 23 Sep 2011 05:02:48 +0000 (13:02 +0800)]
Fix 5349519: The Select photo/video activity should use action bar.

Change-Id: Ib537926c780fff6edd60d54c3d28740988d6221b

12 years agoMerge "Fix 5223982: Adding one pixel transparent border around the texture."
Chih-Chung Chang [Fri, 23 Sep 2011 04:48:14 +0000 (21:48 -0700)]
Merge "Fix 5223982: Adding one pixel transparent border around the texture."

12 years agoFix 5223982: Adding one pixel transparent border around the texture.
Chih-Chung Chang [Thu, 22 Sep 2011 06:55:32 +0000 (14:55 +0800)]
Fix 5223982: Adding one pixel transparent border around the texture.

This avoids the jigged edge around the thumbnails when they are rotated.

Change-Id: Ib2c5a75d1aa69a2f024e003a45111a8af4537f67

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Thu, 22 Sep 2011 17:57:40 +0000 (10:57 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: Icf295f55dd7df202e7e6f8b93a5d360abadb0d72

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Wed, 21 Sep 2011 13:30:00 +0000 (06:30 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoReconcile with ics-factoryrom-release
The Android Open Source Project [Wed, 21 Sep 2011 13:19:32 +0000 (06:19 -0700)]
Reconcile with ics-factoryrom-release

Change-Id: I445a06a1c4486a76a9278c2ab57415cd902f8927

12 years agoMerge "Fix 5229466: Add "up" button to MovieActivity"
Chih-Chung Chang [Wed, 21 Sep 2011 09:25:43 +0000 (02:25 -0700)]
Merge "Fix 5229466: Add "up" button to MovieActivity"

12 years agoMerge "Fix 5299746: Tweak layout and icons"
Chih-Chung Chang [Wed, 21 Sep 2011 08:31:04 +0000 (01:31 -0700)]
Merge "Fix 5299746: Tweak layout and icons"

12 years agoFix 5229466: Add "up" button to MovieActivity
Chih-Chung Chang [Wed, 21 Sep 2011 07:38:35 +0000 (15:38 +0800)]
Fix 5229466: Add "up" button to MovieActivity

Change-Id: I5d71bec7a7b09553c12afdd753cd77a73ace2c44

12 years agoFix 5299746: Tweak layout and icons
Chih-Chung Chang [Wed, 21 Sep 2011 06:04:34 +0000 (14:04 +0800)]
Fix 5299746: Tweak layout and icons

Change-Id: I36d050fb2459ca559b74be1112b4ac6a8566dc1e

12 years agoMerge "Fix tile-size to sync with the fix in factory branch."
Yuli Huang [Wed, 21 Sep 2011 05:33:55 +0000 (22:33 -0700)]
Merge "Fix tile-size to sync with the fix in factory branch."

12 years agomerge in ics-factoryrom-release history after reset to ics-factoryrom
The Android Automerger [Wed, 21 Sep 2011 03:43:06 +0000 (20:43 -0700)]
merge in ics-factoryrom-release history after reset to ics-factoryrom

12 years agoMerge "Fix 5224359: query width and height from media provider."
Chih-Chung Chang [Tue, 20 Sep 2011 16:23:33 +0000 (09:23 -0700)]
Merge "Fix 5224359: query width and height from media provider."

12 years agoFix tile-size to sync with the fix in factory branch.
Yuli Huang [Tue, 20 Sep 2011 15:06:10 +0000 (23:06 +0800)]
Fix tile-size to sync with the fix in factory branch.

Change-Id: I208529a688d44c439dbf0c4d30e4d99e0631fc08

12 years agoam 1ede9972: parameter change to match api
Ruei-sung Lin [Tue, 20 Sep 2011 13:52:37 +0000 (06:52 -0700)]
am 1ede9972: parameter change to match api

* commit '1ede99728efe8bc622cdafc9d9416bce97d7da50':
  parameter change to match api

12 years agoFix 5224359: query width and height from media provider.
Chih-Chung Chang [Tue, 20 Sep 2011 12:41:33 +0000 (20:41 +0800)]
Fix 5224359: query width and height from media provider.

Change-Id: Ib7a560822a1d1fdc2be8c572d4d9319f908f7c16

12 years agoMerge "Lock rendering when switching state."
Owen Lin [Tue, 20 Sep 2011 11:33:45 +0000 (04:33 -0700)]
Merge "Lock rendering when switching state."

12 years agoparameter change to match api
Ruei-sung Lin [Thu, 15 Sep 2011 07:25:19 +0000 (15:25 +0800)]
parameter change to match api

Cherry-pick to fix b/5339529.

Change-Id: Id84274e60c0feb8019f3418bd1f1feed0542ca51

12 years agoMerge "Pause the playback of video if the activity is resumed after 3 mins."
Owen Lin [Tue, 20 Sep 2011 07:21:20 +0000 (00:21 -0700)]
Merge "Pause the playback of video if the activity is resumed after 3 mins."

12 years agoMerge "Make the column type constants public in EntrySchema"
Hung-ying Tyan [Tue, 20 Sep 2011 07:14:55 +0000 (00:14 -0700)]
Merge "Make the column type constants public in EntrySchema"

12 years agoam 3264f438: Fix 5329642 Gallery crashes when viewing Details on certain photos
Ray Chen [Tue, 20 Sep 2011 06:04:39 +0000 (23:04 -0700)]
am 3264f438: Fix 5329642 Gallery crashes when viewing Details on certain photos

* commit '3264f438f6787adcb875b2611b5c20c0b833ec5e':
  Fix 5329642 Gallery crashes when viewing Details on certain photos

12 years agoFix 5299746: New UI layout, part 2.
Chih-Chung Chang [Mon, 19 Sep 2011 03:09:39 +0000 (11:09 +0800)]
Fix 5299746: New UI layout, part 2.

- Replace various icons and add xhdpi/sw600dp-mdpi versions of them.
- When user press on the thumbnails, show a color overlay on it.
- For a wide (w/h > 2) picture, add panorama overlay on it.
- Align photo count label position when there is no icon for it.
- Adjust offline page layout.

Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595

12 years agoFix 5329642 Gallery crashes when viewing Details on certain photos
Ray Chen [Mon, 19 Sep 2011 06:20:18 +0000 (14:20 +0800)]
Fix 5329642 Gallery crashes when viewing Details on certain photos

AddressResolvingListener (mAdapter) is not set until constructor returns, so NPE is thrown
if the resolving happens really fast. This CL uses 'this' instead of mAdapter.

Change-Id: Ifce0ea92a3eb5c794a73cf0e89a236ff3d948c18

12 years agoPause the playback of video if the activity is resumed after 3 mins.
Owen Lin [Wed, 14 Sep 2011 11:49:03 +0000 (19:49 +0800)]
Pause the playback of video if the activity is resumed after 3 mins.

fix: 5260232

Also keep the current playback position when the activity is resumed.
Originally, we use the bookmark to keep the position. However, the bookmark
will be ignored if

1.) The video duration is less than 2 mins, 2.) The video
is just started (with 30sec), or 3.) The video is approching the end.

I think resume should not limited by the above rules. And we did get some
reports on this. (We mark them as WORK AS INTENTDED).

Change-Id: Ib9ac359d7ccb6a0278777b0892f0821e16bbb745

12 years agoLock rendering when switching state.
Owen Lin [Thu, 15 Sep 2011 13:30:16 +0000 (21:30 +0800)]
Lock rendering when switching state.

fix: 5126875

Change-Id: I118660b80cc5dfa8913865e303ed48f23e1c0705

12 years agoFix 5337270: Thumbnail is not generated for large GIF images.
Chih-Chung Chang [Mon, 19 Sep 2011 11:57:35 +0000 (19:57 +0800)]
Fix 5337270: Thumbnail is not generated for large GIF images.

Change-Id: I8e2e8cafb01b2289f59b28b7e2eadae3dc5c0c50

12 years agoAdd a hard limit on the size of the widget images.
Owen Lin [Tue, 13 Sep 2011 12:48:13 +0000 (20:48 +0800)]
Add a hard limit on the size of the widget images.

There is a limit on the size of the data transfered by binder.
For now, we just add a hard limit (360 pixel) to ensure the widget's image
can be passed by binder.

Also adjust the size of widget to make it looks better.

Fix a bug in DecodeUtils which cause OOM for a image in size 12200x1920.
In that case, we should generate a screen nail of size 640x101 instead of
4066x640.

Change-Id: Ia8227d8e5368471fe7af94bf164d67017aa321fa
fix: 5273271

12 years agoMerge "Fix 5329642 Gallery crashes when viewing Details on certain photos"
Ray Chen [Mon, 19 Sep 2011 10:26:08 +0000 (03:26 -0700)]
Merge "Fix 5329642 Gallery crashes when viewing Details on certain photos"

12 years agoMerge "Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu...
Ray Chen [Mon, 19 Sep 2011 10:26:00 +0000 (03:26 -0700)]
Merge "Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)"

12 years agoFix 5329642 Gallery crashes when viewing Details on certain photos
Ray Chen [Mon, 19 Sep 2011 06:20:18 +0000 (14:20 +0800)]
Fix 5329642 Gallery crashes when viewing Details on certain photos

AddressResolvingListener (mAdapter) is not set until constructor returns, so NPE is thrown
if the resolving happens really fast. This CL uses 'this' instead of mAdapter.

Change-Id: Ifce0ea92a3eb5c794a73cf0e89a236ff3d948c18

12 years agoMerge "Fix 5291553 Not able to share downloaded image file"
Ray Chen [Mon, 19 Sep 2011 04:37:26 +0000 (21:37 -0700)]
Merge "Fix 5291553 Not able to share downloaded image file"

12 years agoFix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select...
Ray Chen [Mon, 19 Sep 2011 04:35:51 +0000 (12:35 +0800)]
Fix 5331012 [UI] No dropdown label when entering multi-select modes via menu > Select item(s) / group(s) / album(s)

Change-Id: Ie46432dd136447942011f3565ab7a6406c461887

12 years agoMake the column type constants public in EntrySchema
Hung-ying Tyan [Sun, 18 Sep 2011 02:56:22 +0000 (10:56 +0800)]
Make the column type constants public in EntrySchema

so that we can use the 'type' member in ColumnInfo.

Change-Id: Ia1a8af6fd0464b9b799796b5c99037531a0de00b

12 years agoFix 5239335 ICS Gallery: convert tabs at Gallery home to drop down
Ray Chen [Tue, 13 Sep 2011 10:35:28 +0000 (18:35 +0800)]
Fix 5239335 ICS Gallery: convert tabs at Gallery home to drop down

Change-Id: I7503f724dbf16034513a6d8d6b0cb0425166a365

12 years agoMerge "New UI for Gallery."
Chih-Chung Chang [Fri, 16 Sep 2011 08:21:04 +0000 (01:21 -0700)]
Merge "New UI for Gallery."

12 years agoFix 5291553 Not able to share downloaded image file
Ray Chen [Wed, 14 Sep 2011 08:46:32 +0000 (16:46 +0800)]
Fix 5291553 Not able to share downloaded image file

Change-Id: I8e57b04e0231c592cc0dfe8a4f31e585510e753c

12 years agoNew UI for Gallery.
Chih-Chung Chang [Wed, 14 Sep 2011 12:50:28 +0000 (20:50 +0800)]
New UI for Gallery.

Change-Id: I5f243c00ebac55a9b333a9e13d0cc9c371a85005

12 years agoMerge "Fix 5290260 Unable to rotate left or right to album from Gallery"
Ray Chen [Fri, 16 Sep 2011 03:24:50 +0000 (20:24 -0700)]
Merge "Fix 5290260 Unable to rotate left or right to album from Gallery"

12 years agoFix 5290260 Unable to rotate left or right to album from Gallery
Ray Chen [Wed, 14 Sep 2011 07:12:29 +0000 (15:12 +0800)]
Fix 5290260 Unable to rotate left or right to album from Gallery

Separate menu operation and sharing options to different methods so
execution side is consistent with menu options.

Change-Id: Ia0105b333035051e33e9563fb2186cf1a29bc225

12 years agoparameter change to match api
Ruei-sung Lin [Thu, 15 Sep 2011 07:25:19 +0000 (15:25 +0800)]
parameter change to match api

Change-Id: Ia6df0c3a52ee7c6a499a7088a800a2ea9ada1294

12 years agoUpdate for compatibility with Effects API naming change.
Marius Renn [Thu, 15 Sep 2011 00:10:01 +0000 (17:10 -0700)]
Update for compatibility with Effects API naming change.

Part of bugfix 5287103.

NOTE: This will fix the build, but temporarily break the Doodle effect
on the photo editor. Will check in fixes later.

Change-Id: I4a0e1696965c296ac9388c2ee9c49c0bdcaaf5a1

12 years agoMerge "Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instea...
Ray Chen [Wed, 14 Sep 2011 16:41:28 +0000 (09:41 -0700)]
Merge "Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if "Deselect all""

12 years agoMerge "Fix 5196286: Crash if the last clustered album is deleted."
Chih-Chung Chang [Wed, 14 Sep 2011 12:42:17 +0000 (05:42 -0700)]
Merge "Fix 5196286: Crash if the last clustered album is deleted."

12 years agoFix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if...
Ray Chen [Sat, 10 Sep 2011 07:29:51 +0000 (15:29 +0800)]
Fix 5288270 PTP camera gallery launch, prompts the user to "select all" instead if "Deselect all"

Change-Id: I80bcb347d3d2384e3fd18d2692ab459e0d39e86f

12 years agoFix 5196286: Crash if the last clustered album is deleted.
Chih-Chung Chang [Wed, 14 Sep 2011 10:00:42 +0000 (18:00 +0800)]
Fix 5196286: Crash if the last clustered album is deleted.

Change-Id: I5e451d3cebd61c31465cba56aebe66cc3a999e2d

12 years agoMerge "Fix b/5182741: Add 'Edit' title in the action-bar."
Yuli Huang [Wed, 14 Sep 2011 08:16:55 +0000 (01:16 -0700)]
Merge "Fix b/5182741: Add 'Edit' title in the action-bar."

12 years agoMerge "Use different UIs for phone's portrait mode in manage offline page."
Owen Lin [Wed, 14 Sep 2011 07:51:39 +0000 (00:51 -0700)]
Merge "Use different UIs for phone's portrait mode in manage offline page."

12 years agoFix b/5182741: Add 'Edit' title in the action-bar.
Yuli Huang [Wed, 14 Sep 2011 07:00:33 +0000 (15:00 +0800)]
Fix b/5182741: Add 'Edit' title in the action-bar.

Change-Id: I3964bfcb23818f2f3f8364475f74b401f7eed097

12 years agoMerge "Fix picasa images rotate incorrectly."
Owen Lin [Wed, 14 Sep 2011 06:44:43 +0000 (23:44 -0700)]
Merge "Fix picasa images rotate incorrectly."

12 years agoUse different UIs for phone's portrait mode in manage offline page.
Owen Lin [Fri, 9 Sep 2011 05:33:44 +0000 (13:33 +0800)]
Use different UIs for phone's portrait mode in manage offline page.

fix: 5100503

The original UI design is not suitable for phone's portait mode. I move the
UIs from GL view to android View to get better support.

Change-Id: Ice5f536129f66b51cdaf4db1be750be7bc072c7f

12 years agoFix 5280798: Click on filmstrip during swiping causes crash.
Chih-Chung Chang [Wed, 14 Sep 2011 04:07:17 +0000 (12:07 +0800)]
Fix 5280798: Click on filmstrip during swiping causes crash.

After swiping animation finishes we move to the previous
picture. But if during the animation the user clicks the first
thumbnail on the filmstrip, we will have no previous picture
to move to.

Now disallow clicking on the filmstrip during the swiping animation.

Change-Id: Ie910c346cbf35543fedb6812b04c8e78faab0d0f

12 years agoMerge "Fix 5058723: Don't show screennails of videos in slide show"
Chih-Chung Chang [Tue, 13 Sep 2011 07:25:15 +0000 (00:25 -0700)]
Merge "Fix 5058723: Don't show screennails of videos in slide show"

12 years agoMerge "Fix 5284804: Kill 3D tilt effect based on device rotation."
Chih-Chung Chang [Tue, 13 Sep 2011 04:51:49 +0000 (21:51 -0700)]
Merge "Fix 5284804: Kill 3D tilt effect based on device rotation."

12 years agoFix 5058723: Don't show screennails of videos in slide show
Chih-Chung Chang [Fri, 9 Sep 2011 08:41:54 +0000 (16:41 +0800)]
Fix 5058723: Don't show screennails of videos in slide show

Change-Id: I25c3ee3f1ae69c9c54c1e579a6469ee20f1774be

12 years agoFix 5284804: Kill 3D tilt effect based on device rotation.
Chih-Chung Chang [Tue, 13 Sep 2011 03:58:17 +0000 (11:58 +0800)]
Fix 5284804: Kill 3D tilt effect based on device rotation.

Change-Id: Ic8a81d591e42fc97b6ca8eca2b6c66cd90f74cdc

12 years agoFix b/4643148: Make PhotoEditor integrated into Gallery.
Yuli Huang [Mon, 12 Sep 2011 14:25:30 +0000 (22:25 +0800)]
Fix b/4643148: Make PhotoEditor integrated into Gallery.

1. Move PhotoEditor code/resources into Gallery for single apk.
2. Change PhotoEditor package to com.android.gallery3d.photoeditor.
3. Rename PhotoEditor resources to avoid mess up Gallery resources.
4. Move Doodle effect from fix-effects to color-effects.
5. Update PhotoEditor bottom action-bar background.

Change-Id: I1a2f7d27d89a14fe6a0435575b993ed8b75e6bf4

12 years agoFix picasa images rotate incorrectly.
Owen Lin [Mon, 12 Sep 2011 04:45:16 +0000 (12:45 +0800)]
Fix picasa images rotate incorrectly.

fix: 5268469

Change-Id: I58fc4a6d4a10c2952040eedee5936efa949b66e2

12 years agoMerge "Revert "bug #5252975: guard against null bitmap object, don't NPE.""
Owen Lin [Fri, 9 Sep 2011 05:39:46 +0000 (22:39 -0700)]
Merge "Revert "bug #5252975: guard against null bitmap object, don't NPE.""

12 years agoMerge "Fix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException...
Ray Chen [Fri, 9 Sep 2011 03:54:42 +0000 (20:54 -0700)]
Merge "Fix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException: The stateview to be finished is not at the top of the stack:"

12 years agoFix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException:
Ray Chen [Fri, 9 Sep 2011 03:20:58 +0000 (11:20 +0800)]
Fix 5267234 com.google.android.gallery3d: java.lang.IllegalArgumentException:
The stateview to be finished is not at the top of the stack:

setNavigationMode triggers recursive tabs onSelected events.

Change-Id: Id9f58b4a73c4d7836b62e33e2f9b3676ba3f95c2

12 years agoFix 5263604: View not attached to window manager.
Chih-Chung Chang [Thu, 8 Sep 2011 03:51:11 +0000 (11:51 +0800)]
Fix 5263604: View not attached to window manager.

We need to make sure the dialog is dismissed before onDestroy
is finished so we still have the window. (We do it in onPause.)

Change-Id: I896583a67e117c9e4c5a1312541d67efa01295bf

12 years agoMerge "Copy exif data for cropped image."
Owen Lin [Wed, 7 Sep 2011 08:56:45 +0000 (01:56 -0700)]
Merge "Copy exif data for cropped image."

12 years agoCopy exif data for cropped image.
Owen Lin [Fri, 2 Sep 2011 13:15:42 +0000 (21:15 +0800)]
Copy exif data for cropped image.

fix: 5248023

Change-Id: I2f59bfd96ca7533195f7019cc76080579dff8d1e

12 years agoMerge "Fix a no-thumbnail error message."
Owen Lin [Wed, 7 Sep 2011 06:51:36 +0000 (23:51 -0700)]
Merge "Fix a no-thumbnail error message."

12 years agoFix a no-thumbnail error message.
Owen Lin [Tue, 6 Sep 2011 11:46:46 +0000 (19:46 +0800)]
Fix a no-thumbnail error message.

This happens if we cancel the first image reqest and then resend another
in a very short time. We may got an null image for the first request and
think this is a invalid bitmap.

Change-Id: I9ab62a658c281ef3d197474a5db50579e560f1bd

12 years agoRevert "bug #5252975: guard against null bitmap object, don't NPE."
Owen Lin [Tue, 6 Sep 2011 08:21:15 +0000 (16:21 +0800)]
Revert "bug #5252975: guard against null bitmap object, don't NPE."

This reverts commit 7012ebe1c85e538c572e23d4cb98cad88699c782.

We would like to know the crash as soon as possible.
bug: 5252975

12 years agoSuppress log from Utils.parseXXXSafely().
Hung-ying Tyan [Tue, 6 Sep 2011 06:45:28 +0000 (14:45 +0800)]
Suppress log from Utils.parseXXXSafely().

Callers already expect non-number strings with these calls. No need to print
out the stack trace.

Change-Id: I27226ca50e4e7e906939505ad5d53906e8999e95

12 years agoImprove the performance of Reviewing a photo.
Owen Lin [Tue, 30 Aug 2011 02:38:59 +0000 (10:38 +0800)]
Improve the performance of Reviewing a photo.

fix: 5144370

There is two componenet in the photo page. One is the large photo and the
other is the thumbnail strip. They idenpendently load their own data and images.

This change fixes several issues here:

1. Prevent sending to many jobs to ThreadPool and block others.
   In a worse case, if the thumbnail strip send image requests first,
   it may block the ThreadPool very long.
2. Improve the performance of extracting thumbnails from local files.
   Now we try to extract the thumbnails from EXIF data first.

Change-Id: I45100d4daa025efb479f47c4f105de2b4731b498

12 years agobug #5252975: guard against null bitmap object, don't NPE.
Wei Huang [Fri, 2 Sep 2011 18:40:00 +0000 (11:40 -0700)]
bug #5252975: guard against null bitmap object, don't NPE.

- check for null Bitmap object before using.

Change-Id: I99d85916dae45128d67be084860d66dd89ec2f95

12 years agoMerge "Fix a few monkey issues: 5157713 and 5157712 Add debugging message for 5192628."
Ray Chen [Fri, 2 Sep 2011 07:28:36 +0000 (00:28 -0700)]
Merge "Fix a few monkey issues: 5157713 and 5157712 Add debugging message for 5192628."

12 years agoFix a few monkey issues: 5157713 and 5157712
Ray Chen [Wed, 31 Aug 2011 08:37:04 +0000 (16:37 +0800)]
Fix a few monkey issues: 5157713 and 5157712
Add debugging message for 5192628.

Change-Id: I257cabf1a93be256ed84aeaf3c9a871ecc5b1171

12 years agoDebugging 5166199. Add log messages for analysis.
Ray Chen [Tue, 30 Aug 2011 08:34:18 +0000 (16:34 +0800)]
Debugging 5166199. Add log messages for analysis.

Change-Id: I1786e540b5bf19460dcca06acd8a77c9287593f8

12 years agoFix 5188208 [UI] Remove action bar title in Photo/Video view for portrait phone
Ray Chen [Tue, 30 Aug 2011 06:40:09 +0000 (14:40 +0800)]
Fix 5188208 [UI] Remove action bar title in Photo/Video view for portrait phone

Change-Id: I20fba5894e46536f6972bc812d7f2aa5f52840b5

12 years agoFix 5189197: NPE in MovieActivity
Ray Chen [Tue, 30 Aug 2011 04:06:17 +0000 (12:06 +0800)]
Fix 5189197: NPE in MovieActivity

Change-Id: I58f9e2c0840b4d752c2f795451ed4bc8212bb1ce

12 years agobug #5234237: fix NPE in Gallery
Wei Huang [Tue, 30 Aug 2011 18:33:24 +0000 (11:33 -0700)]
bug #5234237: fix NPE in Gallery

- mActivity.getGalleryActionBar() can return null, check for null before using it.

Change-Id: Ib84d5d56e51e6098adee9323c5e8d5c78f9a76e8

12 years agoMerge "Fix 4975579 PTP: Unable to load the thumbnails while connected to camera"
Wei Huang [Tue, 30 Aug 2011 17:22:41 +0000 (10:22 -0700)]
Merge "Fix 4975579 PTP: Unable to load the thumbnails while connected to camera"