OSDN Git Service

android-x86/packages-apps-Gallery2.git
12 years agoam aa7fea54: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 20 Sep 2011 22:38:36 +0000 (15:38 -0700)]
am aa7fea54: (-s ours) Import revised translations.  DO NOT MERGE

* commit 'aa7fea54c7d3d8cf58ff9fa35ffd9dbc3c820f77':
  Import revised translations.  DO NOT MERGE

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 20 Sep 2011 22:22:12 +0000 (15:22 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I05691313203444b01ae86ba89fb53358d036a1c8

12 years agoMerge "Import revised translations."
Eric Fischer [Tue, 20 Sep 2011 17:56:45 +0000 (10:56 -0700)]
Merge "Import revised translations."

12 years agoImport revised translations.
Eric Fischer [Tue, 20 Sep 2011 17:30:27 +0000 (10:30 -0700)]
Import revised translations.

Change-Id: Ieb950dd74b2e1f611bf3fcbce3114a8f520ef3dd

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 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 agoam 7697fb27: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 16 Sep 2011 23:24:12 +0000 (16:24 -0700)]
am 7697fb27: (-s ours) Import revised translations.  DO NOT MERGE

* commit '7697fb27322de2e4b164726392a39a68e77b3fdf':
  Import revised translations.  DO NOT MERGE

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 16 Sep 2011 22:32:01 +0000 (15:32 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I9f2fd3f5354c2b75fc86eb99e670e6ff21fd653b

12 years agoAdd a blue underline to the selected button
Bor-Yeh Shen [Fri, 16 Sep 2011 07:17:43 +0000 (15:17 +0800)]
Add a blue underline to the selected button

Change-Id: I6e10c1a36f0838d96ecf2df7979302e405cf8fcb

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 agoChange theme for GallerySettings.
Owen Lin [Tue, 13 Sep 2011 02:45:22 +0000 (10:45 +0800)]
Change theme for GallerySettings.

fix: 5290466

Change-Id: Ib6051f6f8e83d077df029b938b77d3619a4653ed

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 agoMerge "Fix b/4643148: Make PhotoEditor integrated into Gallery."
Yuli Huang [Tue, 13 Sep 2011 04:30:40 +0000 (21:30 -0700)]
Merge "Fix b/4643148: Make PhotoEditor integrated into Gallery."

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 agoImport revised translations.
Eric Fischer [Mon, 12 Sep 2011 18:48:14 +0000 (11:48 -0700)]
Import revised translations.

Change-Id: Ib0e2131240074ef02677a61acfd796f8900db9c6

12 years agoMerge "Import revised translations."
Eric Fischer [Mon, 12 Sep 2011 17:20:40 +0000 (10:20 -0700)]
Merge "Import revised translations."

12 years agoImport revised translations.
Eric Fischer [Mon, 12 Sep 2011 16:52:13 +0000 (09:52 -0700)]
Import revised translations.

Change-Id: Ica26d038fb954438100062d2bb451eacfaa4bf90

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 agoMerge "Updated Gallery2 widget dimens Bug: 5278970"
Justin Ho [Mon, 12 Sep 2011 14:33:47 +0000 (07:33 -0700)]
Merge "Updated Gallery2 widget dimens Bug: 5278970"

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 agoMove PhotoEditor strings into Gallery2.
Yuli Huang [Fri, 9 Sep 2011 09:09:39 +0000 (17:09 +0800)]
Move PhotoEditor strings into Gallery2.

1. Rename Gallery string "crop" to "crop_action".
2. Rename PhotoEditor string "app_name" to "photoeditor_name".

Change-Id: I22279e7e45b690f22fe8e0e8dd645bb4df821646

12 years agoMerge "Import revised translations."
Eric Fischer [Fri, 9 Sep 2011 18:30:41 +0000 (11:30 -0700)]
Merge "Import revised translations."

12 years agoMerge "Restore deleted strings still referenced from menus."
Eric Fischer [Fri, 9 Sep 2011 18:30:31 +0000 (11:30 -0700)]
Merge "Restore deleted strings still referenced from menus."

12 years agoUpdated Gallery2 widget dimens
Justin Ho [Fri, 9 Sep 2011 15:56:48 +0000 (08:56 -0700)]
Updated Gallery2 widget dimens
Bug: 5278970

Change-Id: Ia650a167bf44baf202fdee527a52af4148d2e8ae

12 years agoMerge "Fix 5221190: Make movie player background black."
Chih-Chung Chang [Fri, 9 Sep 2011 08:38:55 +0000 (01:38 -0700)]
Merge "Fix 5221190: Make movie player background black."

12 years agoFix 5221190: Make movie player background black.
Chih-Chung Chang [Thu, 8 Sep 2011 11:15:45 +0000 (19:15 +0800)]
Fix 5221190: Make movie player background black.

Change-Id: I2ffb81a2b0aa267a14f7fbe03afe3c3e95dd1069

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 5189194: Change color of borders."
Chih-Chung Chang [Fri, 9 Sep 2011 04:54:46 +0000 (21:54 -0700)]
Merge "Fix 5189194: Change color of borders."

12 years agoFix 5189194: Change color of borders.
Chih-Chung Chang [Fri, 9 Sep 2011 04:34:04 +0000 (12:34 +0800)]
Fix 5189194: Change color of borders.

Change-Id: I9b1c5da91ac6314e9f38926efb0e2ed569ad4b4c

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 agoImport revised translations.
Eric Fischer [Thu, 8 Sep 2011 22:44:35 +0000 (15:44 -0700)]
Import revised translations.

Change-Id: I626154da45e8cc168585c56f4fc0dc0df42c681f

12 years agoRestore deleted strings still referenced from menus.
Eric Fischer [Thu, 8 Sep 2011 22:41:28 +0000 (15:41 -0700)]
Restore deleted strings still referenced from menus.

Change-Id: Ib3a08b56f278387fd277601f0baaf09d42f7ce09

12 years agoMerge "Fix 5247983 posted photos from multiple accounts showing up in same folder"
Ray Chen [Thu, 8 Sep 2011 14:28:50 +0000 (07:28 -0700)]
Merge "Fix 5247983 posted photos from multiple accounts showing up in same folder"

12 years agoFix 5247983 posted photos from multiple accounts showing up in same folder
Ray Chen [Thu, 8 Sep 2011 08:34:33 +0000 (16:34 +0800)]
Fix 5247983 posted photos from multiple accounts showing up in same folder

Change-Id: I892134b49fceb5d5467d689e6d6a92169980940b

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 agoMerge "Move resources related to sync to Gallery2."
Owen Lin [Mon, 5 Sep 2011 04:12:16 +0000 (21:12 -0700)]
Merge "Move resources related to sync to Gallery2."

12 years agoMove resources related to sync to Gallery2.
Owen Lin [Fri, 2 Sep 2011 08:06:47 +0000 (16:06 +0800)]
Move resources related to sync to Gallery2.

fix: 5241300

Change-Id: I03ff96478a0e43b9d6c8e327034bda46fc071664

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 agoMerge "Remove resources for Settings."
Owen Lin [Fri, 2 Sep 2011 04:00:30 +0000 (21:00 -0700)]
Merge "Remove resources for Settings."

12 years agoMerge "Fix alias not found issue."
Owen Lin [Fri, 2 Sep 2011 00:43:37 +0000 (17:43 -0700)]
Merge "Fix alias not found issue."

12 years agoUnused assets removed from Gallery2
Justin Ho [Thu, 1 Sep 2011 15:51:16 +0000 (08:51 -0700)]
Unused assets removed from Gallery2

Bug: 5032006

Change-Id: Ie9c5a902b874d6ad2be7bcee5477222a47e0c834

12 years agoRemove resources for Settings.
Owen Lin [Tue, 23 Aug 2011 08:45:30 +0000 (16:45 +0800)]
Remove resources for Settings.

Change-Id: I59a95966cbe9c90553716111ecddb84623002610

12 years agoFix alias not found issue.
Owen Lin [Thu, 1 Sep 2011 06:11:19 +0000 (14:11 +0800)]
Fix alias not found issue.

Also remove note message in proguard.

Change-Id: I7e15a3b00d7caf32565d035f6c972d302e38d49f

12 years agoMerge "Revert "Revert "Move resource to sync library."""
Owen Lin [Wed, 31 Aug 2011 04:12:55 +0000 (21:12 -0700)]
Merge "Revert "Revert "Move resource to sync library."""

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 agoMerge "Fix 5134299 [UI] Select photo or album activities should have a Cancel label...
Ray Chen [Wed, 31 Aug 2011 02:29:22 +0000 (19:29 -0700)]
Merge "Fix 5134299 [UI] Select photo or album activities should have a Cancel label not x icon"

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"

12 years agoRevert "Revert "Move resource to sync library.""
Owen Lin [Tue, 30 Aug 2011 05:52:55 +0000 (13:52 +0800)]
Revert "Revert "Move resource to sync library.""

This reverts commit 779377e489158b8db0be1168002f4416f4ef319c.

12 years agoFix 5134299 [UI] Select photo or album activities should have a Cancel label not...
Ray Chen [Tue, 30 Aug 2011 03:46:09 +0000 (11:46 +0800)]
Fix 5134299 [UI] Select photo or album activities should have a Cancel label not x icon

Change-Id: I77c4cd2f8b27e48786d410bd39a16c918a7407b3

12 years agoFix several issues in Gallery2.
Owen Lin [Sun, 28 Aug 2011 02:50:21 +0000 (10:50 +0800)]
Fix several issues in Gallery2.

fix: 5189318 - use transparent background for tabs
fix: 5174277 - menu mailfunctioned after slideshow (a hack):
fix: 5153387 - wrong tab is selected in album set page

Change-Id: I68092039e566b5f7409ae509f65b227b06da16bb