OSDN Git Service

android-x86/packages-apps-Camera2.git
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 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 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoLoad AsyncTask class in UI thread.
Owen Lin [Thu, 16 Aug 2012 09:17:52 +0000 (17:17 +0800)]
Load AsyncTask class in UI thread.

bug: 7005321

Change-Id: I4f8806553aee34fb2ebeaef010c14c88679a7f72

12 years agoMerge "Fix some bugs introduced by the ActionBarWrapper." into gb-ub-photos-arches
Owen Lin [Thu, 16 Aug 2012 07:18:46 +0000 (00:18 -0700)]
Merge "Fix some bugs introduced by the ActionBarWrapper." into gb-ub-photos-arches

12 years agoFix some bugs introduced by the ActionBarWrapper.
Owen Lin [Thu, 16 Aug 2012 03:28:58 +0000 (11:28 +0800)]
Fix some bugs introduced by the ActionBarWrapper.

bug: 6927267

Change-Id: If05082a4fec25f93d38c6096ebacc5a82e7e7c2e

12 years agoCheck if actionbar exists at ActionBarUtils.getActionBar().
Ahbong Chang [Thu, 16 Aug 2012 06:04:40 +0000 (14:04 +0800)]
Check if actionbar exists at ActionBarUtils.getActionBar().

Bug: 6927267
Change-Id: I85645f25879ced48a85a2bef4f55f1c34b8806ec

12 years agoMerge "Add SimpleMenuXXX implementation for the Gingerbread platform." into gb-ub...
Owen Lin [Wed, 15 Aug 2012 09:10:19 +0000 (02:10 -0700)]
Merge "Add SimpleMenuXXX implementation for the Gingerbread platform." into gb-ub-photos-arches

12 years agoMerge "Extract the action bar interface." into gb-ub-photos-arches
Owen Lin [Wed, 15 Aug 2012 09:10:14 +0000 (02:10 -0700)]
Merge "Extract the action bar interface." into gb-ub-photos-arches

12 years agoAdd SimpleMenuXXX implementation for the Gingerbread platform.
Owen Lin [Tue, 17 Jul 2012 08:50:31 +0000 (16:50 +0800)]
Add SimpleMenuXXX implementation for the Gingerbread platform.

1. Add a SimpleMenuInflator to parse the res/menu/xxx.xml files.
2. Add minimal code to show the menu.

**NOTE**
This change is going to be replaced by the ActionBar compat library
when it gets ready and integrated. The purpose of this change is making
Gallery/Camera run on GB.

Change-Id: Ia7d402c82a6da1b9558ebbd103e161d2471b34dd

12 years agoExtract the action bar interface.
Owen Lin [Fri, 13 Jul 2012 09:23:05 +0000 (17:23 +0800)]
Extract the action bar interface.

So that we can use different implementation for different API levels.

**NOTE**
This change is going to be replaced by the ActionBar compat library
when it gets ready. The purpose of this change is making Gallery/Camera
run on GB.

bug: 6927267

Change-Id: Ic8bb2518918168ea889db6452d6760de390d96b2

12 years agoMerge "A simple ExifReader and its test" into gb-ub-photos-arches
Owen Lin [Wed, 15 Aug 2012 06:29:26 +0000 (23:29 -0700)]
Merge "A simple ExifReader and its test" into gb-ub-photos-arches

12 years agoA simple ExifReader and its test
Earl Ou [Thu, 9 Aug 2012 06:17:33 +0000 (14:17 +0800)]
A simple ExifReader and its test

Change-Id: I1a30d24591bbdab288e04e3705ece388b533f247

12 years agoMerge "Gallery reskin: album list spacing, action bar theme" into gb-ub-photos-arches
Bobby Georgescu [Tue, 14 Aug 2012 20:32:46 +0000 (13:32 -0700)]
Merge "Gallery reskin: album list spacing, action bar theme" into gb-ub-photos-arches

12 years agoGallery reskin: album list spacing, action bar theme
Bobby Georgescu [Mon, 13 Aug 2012 21:27:08 +0000 (14:27 -0700)]
Gallery reskin: album list spacing, action bar theme

Change-Id: Ic556f22bd25c57ddd0b659a7f43a7a1afbdcb8df

12 years agoMerge "Make a copy of MotionEvent in MotionEventHelper.transform." into gb-ub-photos...
Wu-cheng Li [Tue, 14 Aug 2012 05:02:40 +0000 (22:02 -0700)]
Merge "Make a copy of MotionEvent in MotionEventHelper.transform." into gb-ub-photos-arches

12 years agoMerge "Extract EXIF info only for JPEG files" into gb-ub-photos-arches
Owen Lin [Tue, 14 Aug 2012 03:49:31 +0000 (20:49 -0700)]
Merge "Extract EXIF info only for JPEG files" into gb-ub-photos-arches

12 years agoShow album counts in Gallery & other small reskin fixes
Bobby Georgescu [Mon, 13 Aug 2012 20:30:02 +0000 (13:30 -0700)]
Show album counts in Gallery & other small reskin fixes

Bug: 6975144
Change-Id: I2f12c6482cc009aecbca3e26482ebd8944f01bb8

12 years agoMake a copy of MotionEvent in MotionEventHelper.transform.
Wu-cheng Li [Mon, 13 Aug 2012 09:31:22 +0000 (17:31 +0800)]
Make a copy of MotionEvent in MotionEventHelper.transform.

RotateLayout transforms the event in dispatchTouchEvent.
If the event is not handled, the parent of RotateLayout
may send the transformed event to other views and the
coordinates will be wrong. Make a copy of MotionEvent in
transform. This also makes the behavior consistent in
different API levels.

bug:6974916
Change-Id: Id835767cc9be3f244e5abe2b855e5188045adedc

12 years agoExtract EXIF info only for JPEG files
Owen Lin [Thu, 9 Aug 2012 10:22:40 +0000 (18:22 +0800)]
Extract EXIF info only for JPEG files

bug: 6489840
Change-Id: I0ad682bffa5374d0d61ebaa502cc8b90e469b4c8

12 years agoMerge "First gallery reskin iteration." into gb-ub-photos-arches
Bobby Georgescu [Fri, 10 Aug 2012 17:45:55 +0000 (10:45 -0700)]
Merge "First gallery reskin iteration." into gb-ub-photos-arches

12 years agoMerge "Guard android.media.effect.Effect with TargetApi." into gb-ub-photos-arches
Wu-cheng Li [Fri, 10 Aug 2012 09:10:15 +0000 (02:10 -0700)]
Merge "Guard android.media.effect.Effect with TargetApi." into gb-ub-photos-arches

12 years agoMerge "Guard SurfaceTextureScreenNail with TargetApi." into gb-ub-photos-arches
Wu-cheng Li [Fri, 10 Aug 2012 08:25:09 +0000 (01:25 -0700)]
Merge "Guard SurfaceTextureScreenNail with TargetApi." into gb-ub-photos-arches

12 years agoMerge "Check if the ExifParser paser every part in the test" into gb-ub-photos-arches
Owen Lin [Fri, 10 Aug 2012 08:22:32 +0000 (01:22 -0700)]
Merge "Check if the ExifParser paser every part in the test" into gb-ub-photos-arches

12 years agoMerge "Fix ExifParser bug when APP0 exists in Jpeg file" into gb-ub-photos-arches
Owen Lin [Fri, 10 Aug 2012 08:22:12 +0000 (01:22 -0700)]
Merge "Fix ExifParser bug when APP0 exists in Jpeg file" into gb-ub-photos-arches

12 years agoMerge "ignore uncompressed thumbnail when test exif thumbnail" into gb-ub-photos...
Owen Lin [Fri, 10 Aug 2012 08:20:03 +0000 (01:20 -0700)]
Merge "ignore uncompressed thumbnail when test exif thumbnail" into gb-ub-photos-arches

12 years agoMerge "Handle error when string length=0 in IfdParser" into gb-ub-photos-arches
Owen Lin [Fri, 10 Aug 2012 08:17:00 +0000 (01:17 -0700)]
Merge "Handle error when string length=0 in IfdParser" into gb-ub-photos-arches

12 years agoGuard SurfaceTextureScreenNail with TargetApi.
Wu-cheng Li [Fri, 10 Aug 2012 08:03:23 +0000 (16:03 +0800)]
Guard SurfaceTextureScreenNail with TargetApi.

bug:6927809
Change-Id: If03ffbcbf908a960f00bba97be0cdbf317ecabe8

12 years agoGuard android.media.effect.Effect with TargetApi.
Wu-cheng Li [Fri, 10 Aug 2012 07:46:25 +0000 (15:46 +0800)]
Guard android.media.effect.Effect with TargetApi.

bug:6927717
Change-Id: I25f881ab449ea4cb26a41c5219884d93725a1693

12 years agoFirst gallery reskin iteration.
Bobby Georgescu [Wed, 8 Aug 2012 23:33:28 +0000 (16:33 -0700)]
First gallery reskin iteration.

Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6

12 years agoMerge "Hold WakeLock during MTP import" into gb-ub-photos-arches
Bobby Georgescu [Thu, 9 Aug 2012 05:20:53 +0000 (22:20 -0700)]
Merge "Hold WakeLock during MTP import" into gb-ub-photos-arches

12 years agoMerge "Rotate the texture in building PhotoFallbackEffect" into gb-ub-photos-arches
Owen Lin [Thu, 9 Aug 2012 02:53:30 +0000 (19:53 -0700)]
Merge "Rotate the texture in building PhotoFallbackEffect" into gb-ub-photos-arches

12 years agoDon't use getPreferredPreviewSizeForVideo and getSupportedVideoSizes before api 11.
Pin Ting [Wed, 8 Aug 2012 18:50:31 +0000 (11:50 -0700)]
Don't use getPreferredPreviewSizeForVideo and getSupportedVideoSizes before api 11.

Bug:6927815
Change-Id: Ifaa154c93536cfcc65fb1c67834dc737f2065f11

12 years agoRotate the texture in building PhotoFallbackEffect
Owen Lin [Wed, 8 Aug 2012 10:47:33 +0000 (18:47 +0800)]
Rotate the texture in building PhotoFallbackEffect

bug: 6525127
Change-Id: Iba348450b62190a1a2149cf0d7f20f19625cb6cf

12 years agoCheck if the ExifParser paser every part in the test
Earl Ou [Tue, 7 Aug 2012 12:12:42 +0000 (20:12 +0800)]
Check if the ExifParser paser every part in the test

Change-Id: I1c58dfbbf74ada1d7f3d629ace4851d5022170f6

12 years agoFix ExifParser bug when APP0 exists in Jpeg file
Earl Ou [Tue, 7 Aug 2012 11:15:31 +0000 (19:15 +0800)]
Fix ExifParser bug when APP0 exists in Jpeg file

Change-Id: If5843757e00bc12bc50003eef3d78b9c3cedf69e

12 years agoignore uncompressed thumbnail when test exif thumbnail
Earl Ou [Wed, 8 Aug 2012 07:20:01 +0000 (15:20 +0800)]
ignore uncompressed thumbnail when test exif thumbnail

Change-Id: I32baae44994f3b113405082f55539e1a2a3db8bb

12 years agoHandle error when string length=0 in IfdParser
Earl Ou [Wed, 8 Aug 2012 07:19:13 +0000 (15:19 +0800)]
Handle error when string length=0 in IfdParser

Change-Id: I3a51e85060f3acd5026555e5f8d21f8cb2e0641e

12 years agoHold WakeLock during MTP import
Bobby Georgescu [Wed, 8 Aug 2012 07:09:50 +0000 (00:09 -0700)]
Hold WakeLock during MTP import

 Bug: 6680729
 Bug: 6827858

Change-Id: Ida82db3288a429dacc5830b82ec6bbd954f75cf1

12 years agoGuard the usage of MenuItem.setShowAsAction in MenuHelper.
Owen Lin [Tue, 7 Aug 2012 09:38:47 +0000 (17:38 +0800)]
Guard the usage of MenuItem.setShowAsAction in MenuHelper.

bug: 6927642
Change-Id: I3907ac2f86d38c15b681185abee5906ce243339a

12 years agoHide effect recording UI in ICS api level.
Pin Ting [Tue, 7 Aug 2012 22:53:18 +0000 (15:53 -0700)]
Hide effect recording UI in ICS api level.

Bug:6913179
Change-Id: I76e533fa04ac35a1e5b1ee54b9e120434e96ebbf

12 years agoMerge "Move motion event related methods to class MotionEventHelper." into gb-ub...
Wu-Cheng Li [Tue, 7 Aug 2012 10:31:25 +0000 (03:31 -0700)]
Merge "Move motion event related methods to class MotionEventHelper." into gb-ub-photos-arches

12 years agoMerge "1. add interoperability ifd in exif test and 2. add some log" into gb-ub-photo...
Owen Lin [Tue, 7 Aug 2012 10:10:44 +0000 (03:10 -0700)]
Merge "1. add interoperability ifd in exif test and 2. add some log" into gb-ub-photos-arches

12 years agoMerge "Change Thumbnail test for ExifParser when there is no thumbnail or thumbnail...
Owen Lin [Tue, 7 Aug 2012 10:10:07 +0000 (03:10 -0700)]
Merge "Change Thumbnail test for ExifParser when there is no thumbnail or thumbnail's information" into gb-ub-photos-arches

12 years agoMerge "Use hex to represent unknown type and byte type for ExifParser debugging"...
Owen Lin [Tue, 7 Aug 2012 10:06:01 +0000 (03:06 -0700)]
Merge "Use hex to represent unknown type and byte type for ExifParser debugging" into gb-ub-photos-arches

12 years agoMerge "1. Use xml to record true data for ExifParserTest 2. A ExifTestRunner" into...
Owen Lin [Tue, 7 Aug 2012 10:05:28 +0000 (03:05 -0700)]
Merge "1. Use xml to record true data for ExifParserTest 2. A ExifTestRunner" into gb-ub-photos-arches

12 years agoMove motion event related methods to class MotionEventHelper.
Ahbong Chang [Tue, 7 Aug 2012 08:46:09 +0000 (16:46 +0800)]
Move motion event related methods to class MotionEventHelper.

Bug: 6943189
Change-Id: I9084cc8ebb501a5b772ed4e00bd64a3b2e8bafb3

12 years ago1. add interoperability ifd in exif test and 2. add some log
Earl Ou [Tue, 7 Aug 2012 06:43:53 +0000 (14:43 +0800)]
1. add interoperability ifd in exif test and 2. add some log

Change-Id: I888d856a17e59754d5a43b10ec8c4d30b582c503

12 years agoChange Thumbnail test for ExifParser when there is no thumbnail or thumbnail's inform...
Earl Ou [Tue, 7 Aug 2012 06:40:56 +0000 (14:40 +0800)]
Change Thumbnail test for ExifParser when there is no thumbnail or thumbnail's information

Change-Id: Iabd632612895051ee73b776616355bf5e3680d34

12 years agoUse hex to represent unknown type and byte type for ExifParser debugging
Earl Ou [Tue, 7 Aug 2012 06:33:12 +0000 (14:33 +0800)]
Use hex to represent unknown type and byte type for ExifParser debugging

Change-Id: I1d63698a34cc2c582e3c9c1a117231489ea9e3a2

12 years ago1. Use xml to record true data for ExifParserTest 2. A ExifTestRunner
Earl Ou [Mon, 6 Aug 2012 07:13:24 +0000 (15:13 +0800)]
1. Use xml to record true data for ExifParserTest 2. A ExifTestRunner

Change-Id: I6f0133a42670f5f4cbfa37a06bac41a8f6beceef

12 years agoAdd check for using SurfaceTexture when recording.
Angus Kong [Tue, 7 Aug 2012 09:15:14 +0000 (17:15 +0800)]
Add check for using SurfaceTexture when recording.

bug:6839752
Change-Id: Iafc6535fe057c7cd34264c6b104d2326e2f56a89

12 years agoDo not show photo editor before api level 14.
Yuli Huang [Mon, 6 Aug 2012 09:55:30 +0000 (17:55 +0800)]
Do not show photo editor before api level 14.

bug:6927717
Change-Id: Iab0fddaa169e03b65dd0a987ee8b5c892f971000

12 years agoAdd API check for surface texture.
Wu-cheng Li [Tue, 7 Aug 2012 07:07:42 +0000 (15:07 +0800)]
Add API check for surface texture.

bug:6927809

Change-Id: I4b08df6670337592bb0ac1c2cf1235af085e9a1d