OSDN Git Service

android-x86/packages-apps-Gallery2.git
11 years agoMerge "Handle other header tag in ExifParser before APP1" into gb-ub-photos-arches
Hung-ying Tyan [Mon, 3 Sep 2012 03:12:58 +0000 (20:12 -0700)]
Merge "Handle other header tag in ExifParser before APP1" into gb-ub-photos-arches

11 years agoMerge "Handle mis-ordered APP segment in ExifOutputStream" into gb-ub-photos-arches
Hung-ying Tyan [Mon, 3 Sep 2012 03:12:43 +0000 (20:12 -0700)]
Merge "Handle mis-ordered APP segment in ExifOutputStream" into gb-ub-photos-arches

11 years agoMerge "Remove the parameter of getAllExifTags() in IfdData" into gb-ub-photos-arches
Hung-ying Tyan [Mon, 3 Sep 2012 03:12:27 +0000 (20:12 -0700)]
Merge "Remove the parameter of getAllExifTags() in IfdData" into gb-ub-photos-arches

11 years agoMerge "Fix some typos and style in previous CL" into gb-ub-photos-arches
Hung-ying Tyan [Mon, 3 Sep 2012 03:12:12 +0000 (20:12 -0700)]
Merge "Fix some typos and style in previous CL" into gb-ub-photos-arches

11 years agoMerge "Save EXIF info to cropped picasa image with the new EXIF lib." into gb-ub...
Hung-ying Tyan [Mon, 3 Sep 2012 03:11:35 +0000 (20:11 -0700)]
Merge "Save EXIF info to cropped picasa image with the new EXIF lib." into gb-ub-photos-arches

11 years agoHandle other header tag in ExifParser before APP1
Earl Ou [Fri, 31 Aug 2012 02:52:18 +0000 (10:52 +0800)]
Handle other header tag in ExifParser before APP1

Change-Id: I44398e3ed054de441810b795daff8d1edb06df59

11 years agoHandle mis-ordered APP segment in ExifOutputStream
Earl Ou [Fri, 31 Aug 2012 01:59:20 +0000 (09:59 +0800)]
Handle mis-ordered APP segment in ExifOutputStream

Change-Id: Ic5ce13d17658e24d1ae42009d3ab30ae538cee10

11 years agoMerge "Use FLAG_SHOW_WHEN_LOCKED for secure album." into gb-ub-photos-arches
Wu-cheng Li [Fri, 31 Aug 2012 07:52:54 +0000 (00:52 -0700)]
Merge "Use FLAG_SHOW_WHEN_LOCKED for secure album." into gb-ub-photos-arches

11 years agoUse FLAG_SHOW_WHEN_LOCKED for secure album.
Wu-cheng Li [Thu, 30 Aug 2012 08:44:32 +0000 (16:44 +0800)]
Use FLAG_SHOW_WHEN_LOCKED for secure album.

The activity needs this flag to be on top of the lock screen
when the camera is started from the secure lock screen.

bug:5955016

Change-Id: If554a3f7fef4c03a981c83afe22b8c4980b954d1

11 years agoMerge "Add api check for FLAG_SECURE." into gb-ub-photos-arches
Wu-Cheng Li [Fri, 31 Aug 2012 06:26:53 +0000 (23:26 -0700)]
Merge "Add api check for FLAG_SECURE." into gb-ub-photos-arches

11 years agoAdd api check for FLAG_SECURE.
Ahbong Chang [Thu, 30 Aug 2012 07:16:50 +0000 (15:16 +0800)]
Add api check for FLAG_SECURE.

Bug: 7023285
Change-Id: I515123a7454595846bbea6369c05cd22b7d2ec60

11 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Baligh Uddin [Fri, 31 Aug 2012 05:23:44 +0000 (22:23 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches

11 years agoRemove the parameter of getAllExifTags() in IfdData
Earl Ou [Fri, 31 Aug 2012 01:55:58 +0000 (09:55 +0800)]
Remove the parameter of getAllExifTags() in IfdData

Change-Id: Iec7f04a9866c53caa2d66d5ea6f679460980b378

11 years agoFix some typos and style in previous CL
Earl Ou [Fri, 31 Aug 2012 01:58:49 +0000 (09:58 +0800)]
Fix some typos and style in previous CL

Change-Id: If78c0bfebccb20b0c4dad42a11b5dd0946b4e172

11 years agoSave EXIF info to cropped picasa image with the new EXIF lib.
Earl Ou [Thu, 30 Aug 2012 04:02:43 +0000 (12:02 +0800)]
Save EXIF info to cropped picasa image with the new EXIF lib.

Bug:5248023
Change-Id: I35f401826f4fa586e9899e3ca5f5f9b9ab39b28e

11 years agoAdd prefix to GPS tag in ExifTag
Earl Ou [Thu, 30 Aug 2012 04:01:05 +0000 (12:01 +0800)]
Add prefix to GPS tag in ExifTag

Change-Id: Ib07d2847ddcbed3b06d07afa2a6d5851c27760b1

11 years agoRe-save Exif info for cropped local image
Earl Ou [Wed, 29 Aug 2012 07:45:30 +0000 (15:45 +0800)]
Re-save Exif info for cropped local image

Bug:5248023

Change-Id: I744330f28b887bff4d12937e06f8d20db153ac7e

11 years agoMerge "ExifOutputStream" into gb-ub-photos-arches
Owen Lin [Thu, 30 Aug 2012 07:51:55 +0000 (00:51 -0700)]
Merge "ExifOutputStream" into gb-ub-photos-arches

11 years agoRemove unused resources and fix some warnings.
Owen Lin [Wed, 29 Aug 2012 03:53:10 +0000 (11:53 +0800)]
Remove unused resources and fix some warnings.

Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97

11 years agoMerge "Add equals() function in ExifData, IfdData, and ExifTag" into gb-ub-photos...
Hung-ying Tyan [Thu, 30 Aug 2012 06:55:33 +0000 (23:55 -0700)]
Merge "Add equals() function in ExifData, IfdData, and ExifTag" into gb-ub-photos-arches

11 years agoMerge "Redesign the set function of ExifTag" into gb-ub-photos-arches
Hung-ying Tyan [Thu, 30 Aug 2012 06:52:55 +0000 (23:52 -0700)]
Merge "Redesign the set function of ExifTag" into gb-ub-photos-arches

11 years agoExifOutputStream
Earl Ou [Tue, 28 Aug 2012 10:39:49 +0000 (18:39 +0800)]
ExifOutputStream

Change-Id: I9f2de77e87a502ccdadba0b18658621028c538c9

11 years agoAdd equals() function in ExifData, IfdData, and ExifTag
Earl Ou [Wed, 29 Aug 2012 04:12:24 +0000 (12:12 +0800)]
Add equals() function in ExifData, IfdData, and ExifTag

Change-Id: I96c5767354548d0f0d7571fd1d8812e1ab54a5c4

11 years agoRedesign the set function of ExifTag
Earl Ou [Wed, 29 Aug 2012 02:21:23 +0000 (10:21 +0800)]
Redesign the set function of ExifTag

Change-Id: Iaf5632d759fe14c167cba54099b99719b31e3431

11 years agoMerge "Fix OOM in TileImageView." into gb-ub-photos-arches
Owen Lin [Thu, 30 Aug 2012 02:45:37 +0000 (19:45 -0700)]
Merge "Fix OOM in TileImageView." into gb-ub-photos-arches

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 30 Aug 2012 00:36:06 +0000 (17:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: I381c77c04e94bce19bde5edd7ce7057b54fa2a8f
Auto-generated-cl: translation import

11 years agoMerge "Reskin: Correctly position rotated thumbs in album listing" into gb-ub-photos...
Bobby Georgescu [Wed, 29 Aug 2012 23:30:50 +0000 (16:30 -0700)]
Merge "Reskin: Correctly position rotated thumbs in album listing" into gb-ub-photos-arches

11 years agoReskin: Correctly position rotated thumbs in album listing
Bobby Georgescu [Tue, 28 Aug 2012 21:42:57 +0000 (14:42 -0700)]
Reskin: Correctly position rotated thumbs in album listing

Bug: 7067732
Bug: 7050303
Changing the slots to be non-square surfaced a small math
error, and also raised the question of where exactly to
render the texture. The solution that makes the most sense
given the current design is to fit the thumbnail (which is
always square in our case) in the largest square that fits
inside the slot, and aligned to the top.

Change-Id: I98d94ad9255399aa4f1e5c403ff81811674bb264

11 years agoInvoke LightCycle viewer for panoramas.
Angus Kong [Fri, 24 Aug 2012 11:30:08 +0000 (19:30 +0800)]
Invoke LightCycle viewer for panoramas.

1. Add SUPPORT_PANORAMA_VIEW to supported operations.
2. Add helper methods in LightCycleHelper:
  a. checks if the image file is a panorama.
  b. invokes the panorama view activity.

bug:6912297
Change-Id: I7909e49632cad02a795943a113bca6aec17df9dd

11 years agoMerge "Fix pinch out gesture for film strip mode on gingerbread." into gb-ub-photos...
Hung-ying Tyan [Wed, 29 Aug 2012 09:31:41 +0000 (02:31 -0700)]
Merge "Fix pinch out gesture for film strip mode on gingerbread." into gb-ub-photos-arches

11 years agoFix OOM in TileImageView.
Owen Lin [Wed, 29 Aug 2012 08:36:08 +0000 (16:36 +0800)]
Fix OOM in TileImageView.

The problem is we keep too many decoded images in the upload queue.
Those images will be free after it getting uploaded.

However, there is a bug which suspend the uploading sometimes.

Change-Id: Id97c04eba974cc77e5d8c50588b0cbef776f79da
fix: 6995091

11 years agoMerge "Fix NPE in viewing single image." into gb-ub-photos-arches
Owen Lin [Wed, 29 Aug 2012 08:46:38 +0000 (01:46 -0700)]
Merge "Fix NPE in viewing single image." into gb-ub-photos-arches

11 years agoFix pinch out gesture for film strip mode on gingerbread.
Hung-ying Tyan [Wed, 29 Aug 2012 06:15:32 +0000 (14:15 +0800)]
Fix pinch out gesture for film strip mode on gingerbread.

On crespo running Android 2.3.6, a pinch out gesture results in the following
call sequence: onDown(), onUp() and then onSingleTapUp(). The correct sequence
for a single-tap-up gesture should be: onDown(), onSingleTapUp() and onUp().
The call sequence for a pinch out gesture in JB is: onDown() and then onUp().
Base on these observations, a condition is added in onSingleTapUp() to filter
out the false alarm where onSingleTapUp() is called within a pinch out gesture.

Bug: 7023717
Change-Id: I010b87f95c3197a299a7d907ce32e93a1d5e958f

11 years agoSave the offset of next IFD in the IfdData
Earl Ou [Tue, 28 Aug 2012 10:33:14 +0000 (18:33 +0800)]
Save the offset of next IFD in the IfdData

Change-Id: I2c5d2ad390d970603a7a9ce2145029d871098fdb

11 years agoMerge "Save ByteOrder in the ExifData" into gb-ub-photos-arches
Hung-ying Tyan [Wed, 29 Aug 2012 07:22:17 +0000 (00:22 -0700)]
Merge "Save ByteOrder in the ExifData" into gb-ub-photos-arches

11 years agoSave ByteOrder in the ExifData
Earl Ou [Tue, 28 Aug 2012 10:29:09 +0000 (18:29 +0800)]
Save ByteOrder in the ExifData

This is useful for decoding undefined data.

Change-Id: Ied6864c4d3a8e05ca47215bf5358bd4196f2d3a0

11 years agoOld panorama only supports ICS and forward.
Wu-cheng Li [Wed, 29 Aug 2012 06:41:42 +0000 (14:41 +0800)]
Old panorama only supports ICS and forward.

bug:7075249
Change-Id: I0b5884459a417444966ac88284056a182104a68b

11 years agoFix NPE in viewing single image.
Owen Lin [Tue, 28 Aug 2012 10:04:00 +0000 (18:04 +0800)]
Fix NPE in viewing single image.

bug: 7052228
Change-Id: Iaca5ed062cd3c8233f212551cf4312f0828f12dc

11 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Baligh Uddin [Tue, 28 Aug 2012 23:19:54 +0000 (16:19 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches

11 years agoReskin: Launch photos in lights-out mode
Bobby Georgescu [Mon, 27 Aug 2012 18:48:35 +0000 (11:48 -0700)]
Reskin: Launch photos in lights-out mode

Bug: 7050303
- Launch photos in lights out mode when opening from album
- One last missing call to super.onCreate added in
  ManageCachePage

Change-Id: I7ad0e64f30748b724d184791e0e0a6a030850049

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 28 Aug 2012 18:57:10 +0000 (11:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic3d0c37f225b2bef282b536f5305c79c0f014367
Auto-generated-cl: translation import

11 years agoFix some UI bugs in using SherlockActionBar.
Owen Lin [Mon, 27 Aug 2012 02:01:22 +0000 (10:01 +0800)]
Fix some UI bugs in using SherlockActionBar.

- Use sherlock's verion of requestWindowFeature.
- Use sherlock's theme in Custom selection list.

bug: 6927267
Change-Id: I706e45378b10e6e088e048d97fcaca57fb4bf3f4

11 years agoDisable action bar home button and menu items in secure album.
Wu-cheng Li [Sun, 26 Aug 2012 16:10:38 +0000 (00:10 +0800)]
Disable action bar home button and menu items in secure album.

All menu items are disabled except delete.

bug:5955016

Change-Id: Ibf947b0c50b0591a774d298fbfbe692c9a88575d

11 years agoMerge "Register STILL_IMAGE_CAMERA_SECURE intent in the manifest." into gb-ub-photos...
Wu-cheng Li [Tue, 28 Aug 2012 07:11:30 +0000 (00:11 -0700)]
Merge "Register STILL_IMAGE_CAMERA_SECURE intent in the manifest." into gb-ub-photos-arches

11 years agoAdd api check for camera HDR.
Wu-cheng Li [Sat, 25 Aug 2012 13:10:04 +0000 (21:10 +0800)]
Add api check for camera HDR.

bug:7054776
Change-Id: Id551b7f1d76168b7735f0a48c19619431b93b66e

11 years agoadd the menu button to support trimming
Teng-Hui Zhu [Thu, 23 Aug 2012 23:45:11 +0000 (16:45 -0700)]
add the menu button to support trimming

This is only visible for video item.

Change-Id: I17f8e902f3560cc8524f890705c020901331df74

11 years agoReskin: tweaks to colors and spacings to match mocks
Bobby Georgescu [Mon, 27 Aug 2012 06:47:19 +0000 (23:47 -0700)]
Reskin: tweaks to colors and spacings to match mocks

Bug: 7050303

- Call super.onCreate in ActivityState subclasses in
  order to correctly initialize background colors,
  correcting oversight in previous change
- Tweak background and label colors to match mocks
- Tweak grid spacings to match mocks

Change-Id: Iba5cba6c60e8a750d8e50c1d0c14c916754a95c2

11 years agoMerge "Add secure album support for lock screen camera." into gb-ub-photos-arches
Wu-cheng Li [Mon, 27 Aug 2012 09:50:53 +0000 (02:50 -0700)]
Merge "Add secure album support for lock screen camera." into gb-ub-photos-arches

11 years agoAdd secure album support for lock screen camera.
Wu-cheng Li [Wed, 22 Aug 2012 11:15:35 +0000 (19:15 +0800)]
Add secure album support for lock screen camera.

Secure album only shows the media items added by
the camera.

bug:5955016

Change-Id: Id26abec4dfcc036cf9de682398fed25eed73d1a5

11 years agoMerge "Add LightCycle helper class." into gb-ub-photos-arches
Angus Kong [Mon, 27 Aug 2012 09:05:21 +0000 (02:05 -0700)]
Merge "Add LightCycle helper class." into gb-ub-photos-arches

11 years agoAdd LightCycle helper class.
Angus Kong [Mon, 27 Aug 2012 04:47:21 +0000 (12:47 +0800)]
Add LightCycle helper class.

LightCycleHelper also receives event of package changes to get updated.

bug:6912297
Change-Id: Ib822ee778537b64986389bf8eeec36f61c9289f2

11 years agoReskin: show placeholder color before album label is ready
Bobby Georgescu [Sat, 25 Aug 2012 06:25:23 +0000 (23:25 -0700)]
Reskin: show placeholder color before album label is ready

Bug: 7050303
Change-Id: I679ecf6360f2ae3bfe19fc0677998ac8b1589bcf

11 years agoMake transition from album page to photo page even smoother
Bobby Georgescu [Sat, 25 Aug 2012 06:59:28 +0000 (23:59 -0700)]
Make transition from album page to photo page even smoother

Bug: 6979922
Bug: 7050303
Change-Id: Iaa2582125f0706a34317fa90fea73749cd2cf995

11 years agoOffer to launch camera when Gallery completely empty
Bobby Georgescu [Thu, 23 Aug 2012 01:26:03 +0000 (18:26 -0700)]
Offer to launch camera when Gallery completely empty

Bug: 7009464
Rather than showing a blank screen, alerts the user that
the gallery is empty and offers to launch the camera, if
the device has one.

Change-Id: I0bf71f1cbe7c96a4dc063b5d38b9a282538234c9

11 years agoMerge "Uses ActionBarSherlock in Gallery" into gb-ub-photos-arches
Owen Lin [Mon, 27 Aug 2012 04:34:46 +0000 (21:34 -0700)]
Merge "Uses ActionBarSherlock in Gallery" into gb-ub-photos-arches

11 years agoUses ActionBarSherlock in Gallery
Owen Lin [Fri, 24 Aug 2012 04:25:57 +0000 (12:25 +0800)]
Uses ActionBarSherlock in Gallery

bug: 6927267

Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f

11 years agoMerge "Read thumbnail into ExifData" into gb-ub-photos-arches
Hung-ying Tyan [Mon, 27 Aug 2012 03:14:48 +0000 (20:14 -0700)]
Merge "Read thumbnail into ExifData" into gb-ub-photos-arches

11 years agoRead thumbnail into ExifData
Earl Ou [Thu, 16 Aug 2012 02:41:57 +0000 (10:41 +0800)]
Read thumbnail into ExifData

Change-Id: Iccc0fbbda1734795ff431075bade700ca5076a08

11 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Baligh Uddin [Mon, 27 Aug 2012 00:00:42 +0000 (17:00 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches

11 years agoRegister STILL_IMAGE_CAMERA_SECURE intent in the manifest.
Wu-cheng Li [Sun, 26 Aug 2012 15:53:13 +0000 (23:53 +0800)]
Register STILL_IMAGE_CAMERA_SECURE intent in the manifest.

bug:7053266
Change-Id: I6468a82f5da5afb98316d52b31117f1cc4f82fb9

11 years agoOngoing reskin of Gallery app
Bobby Georgescu [Thu, 23 Aug 2012 20:05:53 +0000 (13:05 -0700)]
Ongoing reskin of Gallery app

Bug: 7050303
Moved the majority of color settings from hardcoded to
colors.xml in order to allow rapid iteration with UX input.
Started changing some colors and layouts to reflect latest
UX mocks.

Change-Id: I300338e9f75c71f3ed3f36140d16e893387f3184

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 24 Aug 2012 19:07:09 +0000 (12:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: I87825a89d6a75f65528c6d2edfcebd753040457e
Auto-generated-cl: translation import

11 years agoMerge "Rename TiffInputStream to CountedDataInputStream" into gb-ub-photos-arches
Hung-ying Tyan [Fri, 24 Aug 2012 09:00:01 +0000 (02:00 -0700)]
Merge "Rename TiffInputStream to CountedDataInputStream" into gb-ub-photos-arches

11 years agoMerge "Re-design ExifParser for some strange Exif header" into gb-ub-photos-arches
Hung-ying Tyan [Fri, 24 Aug 2012 08:59:38 +0000 (01:59 -0700)]
Merge "Re-design ExifParser for some strange Exif header" into gb-ub-photos-arches

11 years agoRename TiffInputStream to CountedDataInputStream
Earl Ou [Wed, 15 Aug 2012 09:55:55 +0000 (17:55 +0800)]
Rename TiffInputStream to CountedDataInputStream

Change-Id: Ie52ab9a58ae47f5a0b9113c6006844b73567d864

11 years agoRe-design ExifParser for some strange Exif header
Earl Ou [Tue, 14 Aug 2012 09:50:08 +0000 (17:50 +0800)]
Re-design ExifParser for some strange Exif header

The previous design failed to parser file with strange IFD position.
Therefore we need a new design.

Change-Id: I9f008a9259df6ef7d9a5022e126d6f25069e3d00

11 years agoMerge "Use GalleryUtils.getSelectionModePrompt instead of duplicated code." into...
Owen Lin [Fri, 24 Aug 2012 07:49:54 +0000 (00:49 -0700)]
Merge "Use GalleryUtils.getSelectionModePrompt instead of duplicated code." into gb-ub-photos-arches

11 years agoRevert "Revert "Uses ActionBarSherlock library in MovieActivity.""
Owen Lin [Fri, 24 Aug 2012 07:09:42 +0000 (15:09 +0800)]
Revert "Revert "Uses ActionBarSherlock library in MovieActivity.""

This reverts commit 13da281769d4558c42d86a54536ff6da6826b0ac.

11 years agoRevert "Uses ActionBarSherlock library in MovieActivity."
Owen Lin [Fri, 24 Aug 2012 05:02:22 +0000 (13:02 +0800)]
Revert "Uses ActionBarSherlock library in MovieActivity."

This reverts commit 89b437722a24d0c7d6e2acffc30c215f22814234.

11 years agoUses ActionBarSherlock library in MovieActivity.
Owen Lin [Wed, 22 Aug 2012 09:34:21 +0000 (17:34 +0800)]
Uses ActionBarSherlock library in MovieActivity.

bug: 6927267

Change-Id: I4b63e41be5cff22af0f7d830739c719e91cd6fff

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 23 Aug 2012 23:58:21 +0000 (16:58 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ida5be8ba77e6596843caeddd998a7e67f4c565d6
Auto-generated-cl: translation import

11 years agoFix NPE, ANRs in Gallery
Bobby Georgescu [Thu, 23 Aug 2012 21:35:18 +0000 (14:35 -0700)]
Fix NPE, ANRs in Gallery

Bug: 7041482
Bug: 7041769
Change-Id: I06596bd9a058a8fe51c19108a0891c458950f22b

11 years agoFix ANRs in Gallery
Bobby Georgescu [Thu, 23 Aug 2012 20:23:02 +0000 (13:23 -0700)]
Fix ANRs in Gallery

Bug: 7041769
Change-Id: Idc2a266bffd0d2c641fba69cfede13e1e83f276b

11 years agofix mips build
Keun young Park [Thu, 23 Aug 2012 16:44:46 +0000 (09:44 -0700)]
fix mips build

- LOCAL_SDK_VERSION should be defined always

Change-Id: Icd1972279c76bd28e3caf9b44f1cea9b585836a1

11 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Baligh Uddin [Thu, 23 Aug 2012 03:33:59 +0000 (20:33 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches

11 years agoHide UI entry of effects recording.
Pin Ting [Thu, 23 Aug 2012 02:50:39 +0000 (10:50 +0800)]
Hide UI entry of effects recording.

Change-Id: Ie35526e7fbc38c56c0c19653ba50fcafb685791b

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 22 Aug 2012 17:26:43 +0000 (10:26 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id5bb3597b3c9762b0dd564f8ec0eed458e88140a
Auto-generated-cl: translation import

11 years agoMerge "Do not use Theme.Holo and Theme.Holo.Dialog on gingerbread." into gb-ub-photos...
Wu-Cheng Li [Wed, 22 Aug 2012 08:49:51 +0000 (01:49 -0700)]
Merge "Do not use Theme.Holo and Theme.Holo.Dialog on gingerbread." into gb-ub-photos-arches

11 years agoUse GalleryUtils.getSelectionModePrompt instead of duplicated code.
Ahbong Chang [Wed, 22 Aug 2012 06:38:18 +0000 (14:38 +0800)]
Use GalleryUtils.getSelectionModePrompt instead of duplicated code.

Change-Id: I1cdffb8b8d87f25f91382c3602f12c327ec11849

11 years agoDo not use Theme.Holo and Theme.Holo.Dialog on gingerbread.
Ahbong Chang [Tue, 21 Aug 2012 06:06:51 +0000 (14:06 +0800)]
Do not use Theme.Holo and Theme.Holo.Dialog on gingerbread.

Bug: 6982707
Change-Id: I84726bcd6cefcc3bd0f313306163a3d80d9cdade

11 years agoMerge "Add API check for view transformation properties." into gb-ub-photos-arches
Wu-cheng Li [Wed, 22 Aug 2012 07:43:56 +0000 (00:43 -0700)]
Merge "Add API check for view transformation properties." into gb-ub-photos-arches

11 years agoAdd API check for view transformation properties.
Wu-cheng Li [Wed, 22 Aug 2012 07:31:01 +0000 (15:31 +0800)]
Add API check for view transformation properties.

Ex: View.setTranslationX, View.setPivotX, etc.

bug:6982696
Change-Id: Ib9fc5f3d7c83d99ced47dcd79dfee430d7ad67c8

11 years agoMerge "Dismiss dialog in onPause() where we still have the window." into gb-ub-photos...
Yuli Huang [Wed, 22 Aug 2012 06:29:18 +0000 (23:29 -0700)]
Merge "Dismiss dialog in onPause() where we still have the window." into gb-ub-photos-arches

11 years agoMerge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Baligh Uddin [Tue, 21 Aug 2012 19:28:29 +0000 (12:28 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches

11 years agoMerge "Improvements in animation from album page to photo page" into gb-ub-photos...
Bobby Georgescu [Tue, 21 Aug 2012 18:30:06 +0000 (11:30 -0700)]
Merge "Improvements in animation from album page to photo page" into gb-ub-photos-arches

11 years agoImprovements in animation from album page to photo page
Bobby Georgescu [Mon, 20 Aug 2012 23:26:26 +0000 (16:26 -0700)]
Improvements in animation from album page to photo page

Bug: 6631829
Bug: 6979922
Change-Id: I99fd330f3ec8bf363f8602a2f893167ca2a9c71b

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 21 Aug 2012 16:48:43 +0000 (09:48 -0700)]
Import translations. DO NOT MERGE

Change-Id: I480220fd3cdfc17f37ecd73179e4e827f2f6effa
Auto-generated-cl: translation import

11 years agoDismiss dialog in onPause() where we still have the window.
Yuli Huang [Tue, 21 Aug 2012 08:39:50 +0000 (16:39 +0800)]
Dismiss dialog in onPause() where we still have the window.

bug:6561957
Change-Id: I652c4ec1dd64c650c29f3e4e36ae1200da691694

11 years agoMerge "Add an API check for starting preview in Jpeg callback." into gb-ub-photos...
Wu-cheng Li [Tue, 21 Aug 2012 08:04:20 +0000 (01:04 -0700)]
Merge "Add an API check for starting preview in Jpeg callback." into gb-ub-photos-arches

11 years agoMerge "Move ThreadPool to gallerycommon for picasasync and picasastore." into gb...
Hung-ying Tyan [Tue, 21 Aug 2012 07:21:00 +0000 (00:21 -0700)]
Merge "Move ThreadPool to gallerycommon for picasasync and picasastore." into gb-ub-photos-arches

11 years agoAdd an API check for starting preview in Jpeg callback.
Wu-cheng Li [Tue, 21 Aug 2012 07:05:17 +0000 (15:05 +0800)]
Add an API check for starting preview in Jpeg callback.

The CTS was added in ICS. 8fe4f547c45

bug:6996830
Change-Id: I89a5ef4f542b4c5d75da042fe1e6e481a5fe5c89

11 years agoDo not use android:attr/dividerHorizontal.
Ahbong Chang [Mon, 20 Aug 2012 09:35:08 +0000 (17:35 +0800)]
Do not use android:attr/dividerHorizontal.

And copy the specific drawables from the framework.

Bug: 7016227
Change-Id: Ie0ac3cad351aac1974b964f6690856cd344fb27f

11 years agoMove ThreadPool to gallerycommon for picasasync and picasastore.
Hung-ying Tyan [Tue, 21 Aug 2012 05:02:43 +0000 (13:02 +0800)]
Move ThreadPool to gallerycommon for picasasync and picasastore.

Bug: 7005321
Change-Id: I7ae4bafed141be03bca74772a261c7c2fb3036c4

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 20 Aug 2012 15:35:02 +0000 (08:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I958d1958822bc3c608ae3d16f7e0ade0bb156e93
Auto-generated-cl: translation import

11 years agoRotate the camera screen nail correctly in gingerbread.
Wu-cheng Li [Sun, 19 Aug 2012 09:04:02 +0000 (17:04 +0800)]
Rotate the camera screen nail correctly in gingerbread.

In gingerbread, camera screen nail is a static image.
Handle its rotation like a bitmap screen nail.

bug:6927809

Change-Id: I554483e58fc9e32399acb20f426d7ec35631b7ac

11 years agoDivider and cancel button now show in the dialog picker.
Ahbong Chang [Mon, 20 Aug 2012 03:51:55 +0000 (11:51 +0800)]
Divider and cancel button now show in the dialog picker.

The root node of the included gl_root_group is "merge", whose attributes
can not be overriden by any "include" tag since it will be dropped.
All of the children inside gl_root_group have no weight.  This makes
the first object occupy the whole space.  We use a weighted frame layout
to wrap gl_root_group.

Bug: 7016213
Change-Id: I758806848f6af3eff2f7746c6ef949ce639c7f6e

11 years agoClear activity result when launching from lock screen.
George Mount [Thu, 16 Aug 2012 18:06:42 +0000 (11:06 -0700)]
Clear activity result when launching from lock screen.

 Bug 6710029
 When the screen is locked during video play, the activity result
 from that play will be triggered immediately when unlocking to
 camera. The result must be destroyed on unlock so that the resume
 goes to the camera rather than to the video display.

Change-Id: Ifa6f00fa1cba119d5fc6e762d1757bd6aac576f4

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 17 Aug 2012 17:09:29 +0000 (10:09 -0700)]
Import translations. DO NOT MERGE

Change-Id: I68a4bea7aa4cd7720cca2c2b45fbf8a37121d8cd
Auto-generated-cl: translation import

11 years agoFix NPE when view a single photo.
Owen Lin [Fri, 17 Aug 2012 07:28:22 +0000 (15:28 +0800)]
Fix NPE when view a single photo.

bug: 6995776
Change-Id: Iba213dfefcab04f2c856f55dc3446e3314f30a6f

11 years agoMerge "Load AsyncTask class in UI thread." into gb-ub-photos-arches
Owen Lin [Fri, 17 Aug 2012 04:44:23 +0000 (21:44 -0700)]
Merge "Load AsyncTask class in UI thread." into gb-ub-photos-arches