OSDN Git Service

android-x86/packages-apps-Camera2.git
11 years agoDon't start filmstrip mode in Get Content mode.
Owen Lin [Tue, 11 Sep 2012 03:47:52 +0000 (11:47 +0800)]
Don't start filmstrip mode in Get Content mode.

Change-Id: Ib04f5c134d44b2d8e80e7fdecf2503e950487837
fix: 7135936

12 years agoMerge "Improvements to empty album behavior in Gallery" into gb-ub-photos-arches
Bobby Georgescu [Mon, 10 Sep 2012 23:06:11 +0000 (16:06 -0700)]
Merge "Improvements to empty album behavior in Gallery" into gb-ub-photos-arches

12 years agoImprovements to empty album behavior in Gallery
Bobby Georgescu [Sun, 9 Sep 2012 22:15:45 +0000 (15:15 -0700)]
Improvements to empty album behavior in Gallery

Bug: 7131332
Bug: 7009464
Toasts are now immediately dismissed if a non-empty album
is selected, and dismissed once Picasa Albums load at an
otherwise empty gallery root. The alert added in a previous
prompt has been replaced with a Toast also.

Change-Id: Icca79ab264b94979eedcf78e5c3899af745d8813

12 years agoMore logging added for monkey crash
Doris Liu [Mon, 10 Sep 2012 22:17:47 +0000 (15:17 -0700)]
More logging added for monkey crash

The crash is difficult to repro. So I'm adding more logging here to help figure out what caused the crash next time it happens.

Bug: 6495745
Change-Id: Ib6a47f45e0508bc5def61fdc9f4e4a488b48ad92

12 years agoRemove VIEW activity from LightCycle.
George Mount [Mon, 10 Sep 2012 20:29:59 +0000 (13:29 -0700)]
Remove VIEW activity from LightCycle.

 Bug 7133257

Change-Id: I4b3c968ceaa01d9461a788553f23bf7694ac4b3c

12 years agoShow play icon for panorama.
George Mount [Fri, 7 Sep 2012 17:36:25 +0000 (10:36 -0700)]
Show play icon for panorama.

 Bug 7124494

Change-Id: I17fdb5d6bcab1f3997a1ab92fcf45e0309b394b3

12 years agoMerge "Back button should progress through the app" into gb-ub-photos-arches
Doris Liu [Mon, 10 Sep 2012 17:24:45 +0000 (10:24 -0700)]
Merge "Back button should progress through the app" into gb-ub-photos-arches

12 years agoDo not allow panorama viewer in secure album.
Wu-cheng Li [Mon, 10 Sep 2012 08:17:53 +0000 (16:17 +0800)]
Do not allow panorama viewer in secure album.

bug:7053266
Change-Id: I5195638e03e5eb32d47b50b7b568a40cd8a222d9

12 years agoFix build error in old version of java.
Wu-cheng Li [Mon, 10 Sep 2012 07:20:12 +0000 (15:20 +0800)]
Fix build error in old version of java.

Change-Id: I2f88846a10afd696d7dd94ddeee767c3d89d5ccf

12 years agoFix import statement breaking build
Bobby Georgescu [Mon, 10 Sep 2012 05:35:21 +0000 (22:35 -0700)]
Fix import statement breaking build

Change-Id: I0d2acb3ece6ed2aea04033f911a69b266b6cc7de

12 years agoReskin: switching between filmstrip and grid in album
Bobby Georgescu [Fri, 7 Sep 2012 00:14:02 +0000 (17:14 -0700)]
Reskin: switching between filmstrip and grid in album

Bug: 7050303
Bug: 6541425
Allows switching between the filmstrip and the grid views
within albums and launches camera roll in filmstrip mode
by default. Also fixes animation issue when animating from
full-screen to grid view.

Change-Id: I2a37b92c129cc090fd807973f7e3e82fed207cd3

12 years agoBack button should progress through the app
Doris Liu [Fri, 7 Sep 2012 21:33:52 +0000 (14:33 -0700)]
Back button should progress through the app

When Gallery is launched via notification, back button should progress through the app before return to Home

Bug: 6925612
Change-Id: I9da2120c6f607f8b6d3fa57d8a70225bc66fb8ef

12 years agoMerge "Use XmpUtil to detect panorama instead of caption." into gb-ub-photos-arches
George Mount [Fri, 7 Sep 2012 18:01:37 +0000 (11:01 -0700)]
Merge "Use XmpUtil to detect panorama instead of caption." into gb-ub-photos-arches

12 years agoUse XmpUtil to detect panorama instead of caption.
George Mount [Fri, 7 Sep 2012 14:39:01 +0000 (07:39 -0700)]
Use XmpUtil to detect panorama instead of caption.

 Bug 7124493

Change-Id: I7a21206b47aea701428132d8500fa0873cb3c91a

12 years agoUpdate media items when a picture is deleted in secure album.
Wu-cheng Li [Wed, 5 Sep 2012 09:29:41 +0000 (17:29 +0800)]
Update media items when a picture is deleted in secure album.

Query the database and only show the media items that
still exist.

bug:7053266

Change-Id: Ic8c1b8c514e59741436bca14e918ef100eaf14f8

12 years agoMerge "Fix some typos and style in ExifTag" into gb-ub-photos-arches
Hung-ying Tyan [Thu, 6 Sep 2012 10:11:21 +0000 (03:11 -0700)]
Merge "Fix some typos and style in ExifTag" into gb-ub-photos-arches

12 years agoMerge "Rearrange the constants in ExifTag" into gb-ub-photos-arches
Hung-ying Tyan [Thu, 6 Sep 2012 10:08:04 +0000 (03:08 -0700)]
Merge "Rearrange the constants in ExifTag" into gb-ub-photos-arches

12 years agoFix some typos and style in ExifTag
Earl Ou [Wed, 5 Sep 2012 09:59:23 +0000 (17:59 +0800)]
Fix some typos and style in ExifTag

Change-Id: I2f8a8f0e529d6db9132ac57e09e86fcc18aba842

12 years agoRearrange the constants in ExifTag
Earl Ou [Thu, 30 Aug 2012 06:46:58 +0000 (14:46 +0800)]
Rearrange the constants in ExifTag

Change-Id: I62ab6e52869dfa5b3fee7993bd109f4c5eed91a9

12 years agoFix tap to focus, back button to camera on Manta
Doris Liu [Thu, 6 Sep 2012 02:51:58 +0000 (19:51 -0700)]
Fix tap to focus, back button to camera on Manta

Changed the move threshold from a hard coded value to be proportional to the size of the view.

Bug: 7080033
Bug: 7066859
Change-Id: Id7b81fb3da1783951886d43fe9a3df35186af985

12 years agoMerge "Change lightcycle call to be in Gallery's package" into gb-ub-photos-arches
George Mount [Wed, 5 Sep 2012 22:01:20 +0000 (15:01 -0700)]
Merge "Change lightcycle call to be in Gallery's package" into gb-ub-photos-arches

12 years agoChange lightcycle call to be in Gallery's package
George Mount [Wed, 5 Sep 2012 20:14:16 +0000 (13:14 -0700)]
Change lightcycle call to be in Gallery's package

 Bug 7076869

Change-Id: I315b660d8a7cd84db6d06f0aa38275c7f5e4b4a6

12 years agoMerge "Increase threshold for logging texture size warnings" into gb-ub-photos-arches
Bobby Georgescu [Wed, 5 Sep 2012 20:00:04 +0000 (13:00 -0700)]
Merge "Increase threshold for logging texture size warnings" into gb-ub-photos-arches

12 years agoMove LightCycle checking to the closed source.
Angus Kong [Tue, 4 Sep 2012 10:05:45 +0000 (18:05 +0800)]
Move LightCycle checking to the closed source.

bug:7076779
Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a

12 years agoIncrease threshold for logging texture size warnings
Bobby Georgescu [Tue, 4 Sep 2012 18:51:56 +0000 (11:51 -0700)]
Increase threshold for logging texture size warnings

Bug: 7094140
Change-Id: I0dc56dc92db6821527ceb71e49c3e83d818340c2

12 years agoMerge "Make a time jump when user clicks outsides the scrubber." into gb-ub-photos...
Owen Lin [Tue, 4 Sep 2012 08:54:39 +0000 (01:54 -0700)]
Merge "Make a time jump when user clicks outsides the scrubber." into gb-ub-photos-arches

12 years agoMerge "Set inMutable to true if we may reuse the bitmap." into gb-ub-photos-arches
Owen Lin [Tue, 4 Sep 2012 07:29:11 +0000 (00:29 -0700)]
Merge "Set inMutable to true if we may reuse the bitmap." into gb-ub-photos-arches

12 years agoMake a time jump when user clicks outsides the scrubber.
Owen Lin [Tue, 4 Sep 2012 07:17:18 +0000 (15:17 +0800)]
Make a time jump when user clicks outsides the scrubber.

bug: 7080593
Change-Id: I913aee6e416c10d68403d7f9d4102d4dcc41e1d4

12 years agoSet inMutable to true if we may reuse the bitmap.
Owen Lin [Tue, 4 Sep 2012 03:44:57 +0000 (11:44 +0800)]
Set inMutable to true if we may reuse the bitmap.

bug: 7092330
Change-Id: I0def7e2e9ce57d09ba7f5e001b33cc605a6af44c

12 years agoFix NPE in CropImage.changeExifImageSizeTag().
Hung-ying Tyan [Tue, 4 Sep 2012 01:56:00 +0000 (09:56 +0800)]
Fix NPE in CropImage.changeExifImageSizeTag().

Bug: 7099850
Change-Id: Ib7b3b7d9fddaf53853bcc98b9588dfadda0aee6f

12 years agoMerge "Fix NPE when deleting a photo in Clustering mode." into gb-ub-photos-arches
Owen Lin [Mon, 3 Sep 2012 06:27:27 +0000 (23:27 -0700)]
Merge "Fix NPE when deleting a photo in Clustering mode." into gb-ub-photos-arches

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoFix NPE when deleting a photo in Clustering mode.
Owen Lin [Thu, 30 Aug 2012 07:36:53 +0000 (15:36 +0800)]
Fix NPE when deleting a photo in Clustering mode.

bug: 7075760
Change-Id: I64b278b8c9436ada23738f28510736dcf7e18755

12 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

12 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

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

Change-Id: I9f2de77e87a502ccdadba0b18658621028c538c9

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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