OSDN Git Service
Earl Ou [Fri, 3 Aug 2012 05:26:35 +0000 (13:26 +0800)]
Remove TYPE_SUB_IFD for next() in IfdParser
We should not read the offset because there are
too many exception. Users should check the id of the tag
and decide how to read the block by themselves.
Change-Id: Ie3f162c5c6dc25f15107e193adc080c7b51112b5
Earl Ou [Fri, 3 Aug 2012 04:28:17 +0000 (12:28 +0800)]
Check number of exif tag in test
Change-Id: Ic84c7c004fe0ab5fcea9a0cc6e7f9d86db61abd8
Earl Ou [Fri, 3 Aug 2012 04:22:56 +0000 (12:22 +0800)]
Test read thumbnail
Change-Id: I2f7add7e3c9fc6ffe8c75f191f4b0322bc3047d5
Earl Ou [Fri, 3 Aug 2012 04:20:49 +0000 (12:20 +0800)]
fix next ifd bug in ExifParser
Originally if we don't read value of tag we won't get 'NEXT_IFD'
Change-Id: I235977b3b482fbc4736c244d280c384c26df6483
Earl Ou [Wed, 1 Aug 2012 10:02:07 +0000 (18:02 +0800)]
Fix bug when call next() after nextidf in exif parser
Change-Id: Ibb0204627418f8fa650ce32e798a768da7762d59
Earl Ou [Wed, 1 Aug 2012 09:19:49 +0000 (17:19 +0800)]
Test only keep some exif tags for value
Change-Id: I06962ffb4e1c6844cc8c0d24b686571483f16c22
Earl Ou [Wed, 1 Aug 2012 09:21:55 +0000 (02:21 -0700)]
Merge "Test skip to next ifd in ExifParserTest" into gb-ub-photos-arches
Earl Ou [Wed, 1 Aug 2012 09:21:38 +0000 (02:21 -0700)]
Merge "ExifParserTest" into gb-ub-photos-arches
Earl Ou [Wed, 1 Aug 2012 09:21:21 +0000 (02:21 -0700)]
Merge "Add some constants for exif tag" into gb-ub-photos-arches
Earl Ou [Wed, 1 Aug 2012 09:21:04 +0000 (02:21 -0700)]
Merge "Fix a bug in IfdParser" into gb-ub-photos-arches
Earl Ou [Wed, 1 Aug 2012 08:46:06 +0000 (16:46 +0800)]
Test skip to next ifd in ExifParserTest
Change-Id: Icc53e75d563acb304c23349c28d604d439b4b314
Earl Ou [Wed, 1 Aug 2012 08:24:44 +0000 (16:24 +0800)]
ExifParserTest
test basic parse function of ExifParser
Change-Id: I4dbe9231917c205b0cb95aab639744ce0debbec8
Owen Lin [Tue, 31 Jul 2012 06:22:02 +0000 (14:22 +0800)]
Don't use Files.getContentUri in previous API levels.
Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
Owen Lin [Wed, 1 Aug 2012 08:28:08 +0000 (01:28 -0700)]
Merge "Remove /mtp from TOP_SET_PATH before HC." into gb-ub-photos-arches
Earl Ou [Wed, 1 Aug 2012 08:23:44 +0000 (16:23 +0800)]
Add some constants for exif tag
Change-Id: I236f8187668bb144f47214b7241a873223111f9e
Earl Ou [Wed, 1 Aug 2012 08:19:39 +0000 (16:19 +0800)]
Fix a bug in IfdParser
Originally if we call next after the last tag without read the value,
we will receive a wrong tag.
Change-Id: Ib154d112a568c593270ee6676d4954a7c26567f2
Owen Lin [Wed, 1 Aug 2012 08:14:39 +0000 (16:14 +0800)]
Remove /mtp from TOP_SET_PATH before HC.
bug:
6913061
Change-Id: Iecdb6452035b83070502977265a3e0d526ea784c
Owen Lin [Wed, 1 Aug 2012 07:32:12 +0000 (00:32 -0700)]
Merge "Suppress the warnings in EffectRecorder" into gb-ub-photos-arches
Chih-Chung Chang [Wed, 1 Aug 2012 07:19:27 +0000 (00:19 -0700)]
Merge "Handle null item in findIndexOfPathInCache." into gb-ub-photos-arches
Chih-Chung Chang [Wed, 1 Aug 2012 06:43:35 +0000 (14:43 +0800)]
Handle null item in findIndexOfPathInCache.
Bug:
6708911
Change-Id: Ifd1e8342906a3c61d30448ea6b0085c37ccdeb03
Owen Lin [Wed, 1 Aug 2012 05:32:34 +0000 (13:32 +0800)]
Suppress the warnings in EffectRecorder
Change-Id: I29d8348f40c35e720ab230e2c599bf8a8ff2a953
Wu-cheng Li [Thu, 19 Jul 2012 09:11:06 +0000 (17:11 +0800)]
Do not use ShareActionProvider before API 14.
Use simple share intent before API 14.
bug:
6706723
Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
Chih-Chung Chang [Tue, 31 Jul 2012 05:03:24 +0000 (13:03 +0800)]
Manually transform the event coordinates on older platforms.
Change-Id: I070b27112ea028f2a1596dcdfa480537765174b9
Bobby Georgescu [Tue, 31 Jul 2012 17:03:22 +0000 (10:03 -0700)]
Merge "Fix bugs
6882711 and
6836814" into gb-ub-photos-arches
Angus Kong [Tue, 31 Jul 2012 01:50:12 +0000 (09:50 +0800)]
Add API check for camera metering area.
bug:
6881073
Change-Id: I08ea3bd8e6f128e8998f4048eb451cb80c342fe5
Ahbong Chang [Tue, 31 Jul 2012 07:52:04 +0000 (00:52 -0700)]
Merge "Check api level before invoking setHomeButtonEnabled()." into gb-ub-photos-arches
Owen Lin [Tue, 31 Jul 2012 07:36:10 +0000 (00:36 -0700)]
Merge "Fix some lint warnings in Gallery." into gb-ub-photos-arches
Ahbong Chang [Tue, 31 Jul 2012 03:13:29 +0000 (11:13 +0800)]
Check api level before invoking setHomeButtonEnabled().
Bug:
6706785
Change-Id: I2ad4d4961705c38a4d1047732f45dc9c69580782
Pin Ting [Tue, 31 Jul 2012 04:39:26 +0000 (21:39 -0700)]
Merge "Don't use QUALITY_xxxP and hasProfile prior to API level 11." into gb-ub-photos-arches
Earl Ou [Tue, 31 Jul 2012 02:21:34 +0000 (19:21 -0700)]
Merge "Fix Gallery2Tests Build" into gb-ub-photos-arches
Earl Ou [Tue, 31 Jul 2012 00:50:59 +0000 (08:50 +0800)]
Fix Gallery2Tests Build
Remove dependancy of android-test-runner in Android.mk
Also LOCAL_SDK_VERSION is needed in Android.mk for unbundle-branches
to avoid hiden api
Change-Id: I38cef8261aab264fe5a109ca5a6857eee3dff11b
Pin Ting [Mon, 30 Jul 2012 23:11:24 +0000 (16:11 -0700)]
Don't use QUALITY_xxxP and hasProfile prior to API level 11.
Bug:
6900688
Change-Id: I4b852a3727e46a9bd3ebb55c726e64519f9c2092
Bobby Georgescu [Mon, 30 Jul 2012 18:12:58 +0000 (11:12 -0700)]
Fix bugs
6882711 and
6836814
Bug:
6882711
Bug:
6836814
A number of issues surrounding the behavior after deleting
the last photo from the camera roll within the Camera app,
including occasional black screen & incorrectly persistent
action bar.
Change-Id: Ib5f41a78c613da90bb844aab2d40f45e314d3ee3
Pin Ting [Mon, 30 Jul 2012 17:24:48 +0000 (10:24 -0700)]
Merge "Remove dependency on android.widget.Switch." into gb-ub-photos-arches
Owen Lin [Fri, 27 Jul 2012 03:46:50 +0000 (11:46 +0800)]
Don't call Action.setLogo and Action.setHomeButtonEnabled in old API levels.
bug:
6706724
bug:
6706785
Change-Id: I09e48b8a042c5ce84442dddaf4e4bdfd1960ec4f
Owen Lin [Thu, 26 Jul 2012 09:16:47 +0000 (17:16 +0800)]
Fix some lint warnings in Gallery.
1. Implement our own openPipeHelper
2. Add @TargetApi to TileImageViewAdapter
Change-Id: I74dca78c4c4f18e0f782afad02d5ba9b410a503e
Ahbong Chang [Mon, 30 Jul 2012 06:31:17 +0000 (23:31 -0700)]
Merge "Code clean up." into gb-ub-photos-arches
Earl Ou [Mon, 30 Jul 2012 03:59:17 +0000 (20:59 -0700)]
Merge "Low-level exif parser" into gb-ub-photos-arches
Ahbong Chang [Mon, 30 Jul 2012 03:34:13 +0000 (11:34 +0800)]
Code clean up.
Remove unused imports.
Remove unused fields.
Remove unnecessary cast.
Add missing override annotations.
Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
Earl Ou [Tue, 24 Jul 2012 09:54:09 +0000 (17:54 +0800)]
Low-level exif parser
Change-Id: I592184c79320d08a3cb871a63ea33742071876e3
Pin Ting [Thu, 26 Jul 2012 20:31:11 +0000 (13:31 -0700)]
Remove dependency on android.widget.Switch.
Bug:
6706782
Change-Id: I9a86f9fbcb45c9def18f325e95ef6cfcd63edaff
Michael Kolb [Fri, 20 Jul 2012 19:23:09 +0000 (12:23 -0700)]
Use actual selection for album/photo details
Bug:
6533154
Change-Id: I21ce95d79567396840f08095b986ecc54263a295
Owen Lin [Thu, 26 Jul 2012 09:12:24 +0000 (02:12 -0700)]
Merge "Add @TargetApi for all Mtp related code." into gb-ub-photos-arches
Angus Kong [Thu, 26 Jul 2012 01:12:15 +0000 (18:12 -0700)]
Merge "Add check for camera focus/metering area." into gb-ub-photos-arches
Bobby Georgescu [Thu, 26 Jul 2012 00:50:47 +0000 (17:50 -0700)]
Merge "Only give haptic feedback when enabled in system settings" into gb-ub-photos-arches
Angus Kong [Tue, 24 Jul 2012 17:51:19 +0000 (01:51 +0800)]
Add check for camera focus/metering area.
bug:
6881073
Change-Id: I6ea851befc9f95d4b3def3e7d04da7285be5a755
Angus Kong [Wed, 25 Jul 2012 20:55:15 +0000 (13:55 -0700)]
Merge "Rename to HAS_ZOOM_WHEN_RECORDING." into gb-ub-photos-arches
Angus Kong [Tue, 24 Jul 2012 18:05:19 +0000 (02:05 +0800)]
Rename to HAS_ZOOM_WHEN_RECORDING.
Rename HAS_CAMCORDER_ZOOM to HAS_ZOOM_WHEN_RECORDING.
bug:
6838676
Change-Id: I12446f62810b391b1f40944ee93258efe1689a93
Bobby Georgescu [Wed, 25 Jul 2012 17:20:19 +0000 (10:20 -0700)]
Fix for monkey-generated NPE in PhotoView from bug
6848371
In other parts of the code, there are checks for getGLRoot
returning null, and one was missing here.
Bug:
6848371
Change-Id: I3a7a1e1ea9847a43f4791de84f5f70cc27d53a1a
Bobby Georgescu [Tue, 24 Jul 2012 18:48:45 +0000 (11:48 -0700)]
Only give haptic feedback when enabled in system settings
Bug:
6866688
Change-Id: I4e349fe666244ef5459dd591c8141768b24c910a
Owen Lin [Tue, 24 Jul 2012 08:42:52 +0000 (16:42 +0800)]
Add @TargetApi for all Mtp related code.
These classes should not be called since the MtpSource won't be
registered to DataManager.
Change-Id: I3f88dc24f295af3d9e18218f56e6c30731c1e328
Owen Lin [Tue, 24 Jul 2012 07:34:20 +0000 (15:34 +0800)]
Use our own OverScroller for backward compatibility.
Change-Id: Ibcf48a638ab716116d1ce2ff8c2686741ca0a996
Owen Lin [Tue, 24 Jul 2012 06:34:07 +0000 (14:34 +0800)]
Avoid using class defined in API level 14.
Change-Id: Ia6385f98b048292de70c6e8aa628a2e6fc629485
Andrew Hsieh [Mon, 23 Jul 2012 17:10:11 +0000 (10:10 -0700)]
Merge "Fixed x86 build" into gb-ub-photos-arches
Andrew Hsieh [Wed, 18 Jul 2012 23:40:14 +0000 (16:40 -0700)]
Fixed x86 build
NDK supports x86 from r6. Without setting correct LOCAL_NDK_VERSION
build may fail to add library path for "-llog" and "-lEGL"
Change-Id: I863e20e434d274b5d8924eafcf1f5e1d0b05f90d
Wu-cheng Li [Sat, 21 Jul 2012 08:41:58 +0000 (16:41 +0800)]
Fix crash on launch for tablet devices.
bug:
6851887
Change-Id: I18c956c6727d10fcc1045d7ec0010d30a16acfc2
Wu-cheng Li [Fri, 20 Jul 2012 11:23:57 +0000 (19:23 +0800)]
Update gallery launcher icons.
bug:
6845667
Change-Id: I4f3b87415bb9786732fff375afd8eccaeb7ef1d8
Wu-cheng Li [Fri, 20 Jul 2012 08:28:21 +0000 (01:28 -0700)]
Merge "Do not use listPreferredItemHeightSmall before API 14." into gb-ub-photos-arches
Wu-cheng Li [Thu, 19 Jul 2012 10:35:30 +0000 (18:35 +0800)]
Do not use listPreferredItemHeightSmall before API 14.
bug:
6706647
Change-Id: I9ebdb299e16bdf467cc46b3d094306d93147ee64
Angus Kong [Fri, 20 Jul 2012 07:59:50 +0000 (15:59 +0800)]
Add check for camcorder zoom.
bug:
6838676
Change-Id: I9aeda27cf55ded444841ade40ea1eb1b91da01cb
Chih-Chung Chang [Fri, 20 Jul 2012 03:38:48 +0000 (11:38 +0800)]
Only make time lapse recording available on and after Honeycomb.
Change-Id: Ia5b2f69a3c0feb9e0219118a7dd372a09cf2da73
Jean-Baptiste Queru [Thu, 19 Jul 2012 17:56:47 +0000 (10:56 -0700)]
Fix non-ARM builds - use the proper way to reference libraries
Change-Id: Ibd84af84861d1cbaa8203e4b287cb20f5e9027a0
Wu-cheng Li [Thu, 19 Jul 2012 09:31:31 +0000 (17:31 +0800)]
Change minSdkVersion to 13.
bug:
6706723
Change-Id: I3bb7cfa173f6fdd2ba9df4bda96ea31349b5bd5c
Ying Wang [Wed, 18 Jul 2012 18:45:10 +0000 (11:45 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7c0a46f58b9086734ec66568601cb5efd536bcd6
Auto-generated-cl: translation import
Owen Lin [Wed, 18 Jul 2012 02:44:44 +0000 (19:44 -0700)]
Merge "Make CustomMenu compatible with API level 10." into gb-ub-photos-arches
Ying Wang [Tue, 17 Jul 2012 17:22:16 +0000 (10:22 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7211ff883bfdf8f5483d4b2f19f7f3572116335a
Auto-generated-cl: translation import
Owen Lin [Wed, 11 Jul 2012 03:20:00 +0000 (11:20 +0800)]
Make CustomMenu compatible with API level 10.
bug:
6802855
Change-Id: I230c91bd9744935a181881131dcd2275ed89d819
Ahbong Chang [Tue, 17 Jul 2012 09:19:40 +0000 (02:19 -0700)]
Merge "Add checker for panorama supporting." into gb-ub-photos-arches
Ahbong Chang [Tue, 17 Jul 2012 08:58:17 +0000 (16:58 +0800)]
Add checker for panorama supporting.
Bug:
6816669
Change-Id: I34f80485d46f04f7adc49e2fd49dea1a08a72af9
Ying Wang [Mon, 16 Jul 2012 17:10:33 +0000 (10:10 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3252729107c7525ca5d208ba106a10a0e9917661
Auto-generated-cl: translation import
Ying Wang [Fri, 13 Jul 2012 18:14:48 +0000 (11:14 -0700)]
Merge "Import translations. DO NOT MERGE" into gb-ub-photos-arches
Ying Wang [Fri, 13 Jul 2012 18:06:46 +0000 (11:06 -0700)]
Merge "Change "current" sdk version to 16 as it becomes official" into gb-ub-photos-arches
Ed Heyl [Fri, 13 Jul 2012 17:42:03 +0000 (10:42 -0700)]
Merge remote-tracking branch 'goog/master' into gb-ub-photos-arches
Ying Wang [Fri, 13 Jul 2012 17:27:25 +0000 (10:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic33cc9dc568e0acf7d12f5d743801689647ea916
Auto-generated-cl: translation import
Ying Wang [Fri, 13 Jul 2012 17:19:43 +0000 (10:19 -0700)]
Change "current" sdk version to 16 as it becomes official
Change-Id: I09c13b99ff1bc368e1fa335f2efc4cba5410d2f5
Chih-Chung Chang [Fri, 13 Jul 2012 06:57:26 +0000 (14:57 +0800)]
Only use SurfaceTexture.release and setIconAttribute on newer platforms.
Bug:
6706784
Change-Id: Ic1bb2bb27c3184d791de566d88dbade039fb9d87
Angus Kong [Fri, 13 Jul 2012 03:54:05 +0000 (11:54 +0800)]
Add the method for hidden fields.
bug:
6698375
Change-Id: I5feb3fdd680fec0d745bd3176f4676c16484d4ed
Ahbong Chang [Wed, 11 Jul 2012 05:56:46 +0000 (13:56 +0800)]
Add existence check for face detection methods.
android.hardware.Camera.setFaceDetectionListener()
android.hardware.Camera.startFaceDetection()
android.hardware.Camera.stopFaceDetection()
android.hardware.Camera.Parameters.getMaxNumDetectedFaces()
Bug:
6707152
Change-Id: Ia6b54246273548db44ec28c40f9efe49048ea8d5
Wu-cheng Li [Wed, 11 Jul 2012 11:56:54 +0000 (04:56 -0700)]
Merge "Make jni build against NDK." into gb-ub-photos-arches
Wu-cheng Li [Wed, 4 Jul 2012 08:32:57 +0000 (16:32 +0800)]
Make jni build against NDK.
bug:
6698708
Change-Id: I913e2f29657abc0af79223ba49148a6080d39ba7
Hung-ying Tyan [Tue, 10 Jul 2012 09:04:40 +0000 (02:04 -0700)]
Merge "Add existence check for DevicePolicyManager.getCameraDisabled()"
Hung-ying Tyan [Mon, 9 Jul 2012 06:59:51 +0000 (14:59 +0800)]
Add existence check for DevicePolicyManager.getCameraDisabled()
Bug:
6706695
Change-Id: Ib8ea8805a4bea862c8407f8c73a6e5ba1e0f49d3
Ying Wang [Mon, 9 Jul 2012 17:25:49 +0000 (10:25 -0700)]
Import translations. DO NOT MERGE
Change-Id: I93d4e9712d9e6dc0fb8035e222982b5fcd0955a5
Auto-generated-cl: translation import
Ying Wang [Mon, 9 Jul 2012 17:24:15 +0000 (10:24 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1b461a3723c5439fefd54362be20a4a0100be5c8
Auto-generated-cl: translation import
Yuli Huang [Fri, 6 Jul 2012 07:12:26 +0000 (15:12 +0800)]
Avoid using setSystemUiVisibility in old platforms.
bug:
6785569
Change-Id: I0a19ab2818b6f34d530c5d65e781d3168533d44f
Owen Lin [Thu, 5 Jul 2012 09:06:56 +0000 (17:06 +0800)]
Don't test the EXTRA_LOCAL_ONLY before HC.
Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
Owen Lin [Thu, 5 Jul 2012 04:16:40 +0000 (12:16 +0800)]
Use different back algorithm for Gallery's widget after JB.
Change-Id: I1c3c6eea4e5794555a36179b295b15d9dba6de74
Owen Lin [Wed, 4 Jul 2012 10:20:13 +0000 (18:20 +0800)]
Don't show the shuffle and album widget for old platforms
Change-Id: Ide7074025aefe289bf6c71d623eac5100ab72932
Owen Lin [Wed, 4 Jul 2012 07:48:59 +0000 (15:48 +0800)]
Don't use invalidateOptionsMenu before API level 11.
Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
Chih-Chung Chang [Wed, 4 Jul 2012 08:54:02 +0000 (16:54 +0800)]
Don't use AutoFocusMoveCallback on older platforms.
Change-Id: I281888ee88c08b1caf4754e714f0f42c75e26dd9
Chih-Chung Chang [Tue, 3 Jul 2012 11:33:46 +0000 (19:33 +0800)]
Use MTP only if the MTP API is available.
Change-Id: I5c747d0da2905eb344c56dfab6333034dd5eecc3
Hung-ying Tyan [Wed, 4 Jul 2012 02:48:31 +0000 (19:48 -0700)]
Merge "Add ExifTags to hold tag names that are not available in ExifInterface"
Ying Wang [Tue, 3 Jul 2012 17:49:16 +0000 (10:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: I5ecde362be1d6e55ecc5e6fe5f449a3e435080f8
Auto-generated-cl: translation import
Ying Wang [Tue, 3 Jul 2012 17:47:44 +0000 (10:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I502e70e7b7acf9821cdefdc92352924c8fa9ba99
Auto-generated-cl: translation import
Hung-ying Tyan [Tue, 3 Jul 2012 10:55:25 +0000 (18:55 +0800)]
Add ExifTags to hold tag names that are not available in ExifInterface
prior to API level 11.
Bug:
6775786
Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
Chih-Chung Chang [Tue, 3 Jul 2012 04:49:45 +0000 (12:49 +0800)]
Remove dependencies on APIs only exist on newer platforms.
Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
Owen Lin [Thu, 28 Jun 2012 09:12:20 +0000 (17:12 +0800)]
Don't reuse bitmap before HoneyComb.
Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d
The Android Open Source Project [Fri, 29 Jun 2012 15:19:39 +0000 (08:19 -0700)]
Avoid using View.SYSTEM_UI_FLAG_LOW_PROFILE.
Use View.STATUS_BAR_HIDDEN instead.
Bug:
6706727
Change-Id: I0324a251b10eba11350f1813ee975d493bbcfafa
Eric Fischer [Mon, 2 Jul 2012 18:11:42 +0000 (11:11 -0700)]
Import translations. DO NOT MERGE
Change-Id: I5d153253458dc03fab2e24a08c9208eec6552bdd
Auto-generated-cl: translation import
Yuli Huang [Mon, 2 Jul 2012 02:50:22 +0000 (19:50 -0700)]
Merge "Do not use NfcAdapter API in old platforms."