summaryrefslogtreecommitdiffstats
path: root/gallerycommon
Commit message (Collapse)AuthorAgeFilesLines
...
* Set inMutable to true if we may reuse the bitmap.Owen Lin2012-09-041-0/+3
| | | | | bug: 7092330 Change-Id: I0def7e2e9ce57d09ba7f5e001b33cc605a6af44c
* Add api check for FLAG_SECURE.Ahbong Chang2012-08-311-0/+3
| | | | | Bug: 7023285 Change-Id: I515123a7454595846bbea6369c05cd22b7d2ec60
* Invoke LightCycle viewer for panoramas.Angus Kong2012-08-291-7/+25
| | | | | | | | | | 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
* Old panorama only supports ICS and forward.Wu-cheng Li2012-08-291-2/+2
| | | | | bug:7075249 Change-Id: I0b5884459a417444966ac88284056a182104a68b
* Add api check for camera HDR.Wu-cheng Li2012-08-281-0/+4
| | | | | bug:7054776 Change-Id: Id551b7f1d76168b7735f0a48c19619431b93b66e
* Add LightCycle helper class.Angus Kong2012-08-271-0/+79
| | | | | | | LightCycleHelper also receives event of package changes to get updated. bug:6912297 Change-Id: Ib822ee778537b64986389bf8eeec36f61c9289f2
* Uses ActionBarSherlock in GalleryOwen Lin2012-08-273-18/+2
| | | | | | bug: 6927267 Change-Id: I1c22975d1a1f3a36510ad93e6a0cefea110ca38f
* Hide UI entry of effects recording.Pin Ting2012-08-231-2/+1
| | | | Change-Id: Ie35526e7fbc38c56c0c19653ba50fcafb685791b
* Add API check for view transformation properties.Wu-cheng Li2012-08-221-0/+4
| | | | | | | Ex: View.setTranslationX, View.setPivotX, etc. bug:6982696 Change-Id: Ib9fc5f3d7c83d99ced47dcd79dfee430d7ad67c8
* Merge "Add an API check for starting preview in Jpeg callback." into ↵Wu-cheng Li2012-08-211-10/+13
|\ | | | | | | gb-ub-photos-arches
| * Add an API check for starting preview in Jpeg callback.Wu-cheng Li2012-08-211-10/+13
| | | | | | | | | | | | | | The CTS was added in ICS. 8fe4f547c45 bug:6996830 Change-Id: I89a5ef4f542b4c5d75da042fe1e6e481a5fe5c89
* | Move ThreadPool to gallerycommon for picasasync and picasastore.Hung-ying Tyan2012-08-214-0/+369
|/ | | | | Bug: 7005321 Change-Id: I7ae4bafed141be03bca74772a261c7c2fb3036c4
* Add SimpleMenuXXX implementation for the Gingerbread platform.Owen Lin2012-08-151-1/+4
| | | | | | | | | | | | 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
* Don't use getPreferredPreviewSizeForVideo and getSupportedVideoSizes before ↵Pin Ting2012-08-081-0/+3
| | | | | | | api 11. Bug:6927815 Change-Id: Ifaa154c93536cfcc65fb1c67834dc737f2065f11
* Guard the usage of MenuItem.setShowAsAction in MenuHelper.Owen Lin2012-08-081-0/+3
| | | | | bug: 6927642 Change-Id: I3907ac2f86d38c15b681185abee5906ce243339a
* Hide effect recording UI in ICS api level.Pin Ting2012-08-071-0/+3
| | | | | Bug:6913179 Change-Id: I76e533fa04ac35a1e5b1ee54b9e120434e96ebbf
* Add check for using SurfaceTexture when recording.Angus Kong2012-08-071-0/+3
| | | | | bug:6839752 Change-Id: Iafc6535fe057c7cd34264c6b104d2326e2f56a89
* Do not show photo editor before api level 14.Yuli Huang2012-08-071-0/+3
| | | | | bug:6927717 Change-Id: Iab0fddaa169e03b65dd0a987ee8b5c892f971000
* Add API check for surface texture.Wu-cheng Li2012-08-071-0/+3
| | | | | | bug:6927809 Change-Id: I4b08df6670337592bb0ac1c2cf1235af085e9a1d
* Don't use Files.getContentUri in previous API levels.Owen Lin2012-08-011-0/+3
| | | | Change-Id: I4d096734d22c93b83b2bf8082450ad0d73ade837
* Do not use ShareActionProvider before API 14.Wu-cheng Li2012-08-011-0/+3
| | | | | | | | Use simple share intent before API 14. bug:6706723 Change-Id: I47930f0b81c7c8c1943054964a093967a7704bf1
* Manually transform the event coordinates on older platforms.Chih-Chung Chang2012-08-011-0/+3
| | | | Change-Id: I070b27112ea028f2a1596dcdfa480537765174b9
* Add API check for camera metering area.Angus Kong2012-07-311-0/+3
| | | | | bug:6881073 Change-Id: I08ea3bd8e6f128e8998f4048eb451cb80c342fe5
* Merge "Fix some lint warnings in Gallery." into gb-ub-photos-archesOwen Lin2012-07-311-0/+66
|\
| * Fix some lint warnings in Gallery.Owen Lin2012-07-301-0/+66
| | | | | | | | | | | | | | 1. Implement our own openPipeHelper 2. Add @TargetApi to TileImageViewAdapter Change-Id: I74dca78c4c4f18e0f782afad02d5ba9b410a503e
* | Don't use QUALITY_xxxP and hasProfile prior to API level 11.Pin Ting2012-07-301-0/+3
| | | | | | | | | | Bug:6900688 Change-Id: I4b852a3727e46a9bd3ebb55c726e64519f9c2092
* | Don't call Action.setLogo and Action.setHomeButtonEnabled in old API levels.Owen Lin2012-07-301-0/+6
|/ | | | | | | bug: 6706724 bug: 6706785 Change-Id: I09e48b8a042c5ce84442dddaf4e4bdfd1960ec4f
* Code clean up.Ahbong Chang2012-07-304-8/+4
| | | | | | | | | Remove unused imports. Remove unused fields. Remove unnecessary cast. Add missing override annotations. Change-Id: Idad2e587697a5015eb5363d7b71fab9de9cc8ffb
* Add check for camera focus/metering area.Angus Kong2012-07-261-0/+3
| | | | | bug:6881073 Change-Id: I6ea851befc9f95d4b3def3e7d04da7285be5a755
* Rename to HAS_ZOOM_WHEN_RECORDING.Angus Kong2012-07-261-1/+1
| | | | | | | | Rename HAS_CAMCORDER_ZOOM to HAS_ZOOM_WHEN_RECORDING. bug:6838676 Change-Id: I12446f62810b391b1f40944ee93258efe1689a93
* Avoid using class defined in API level 14.Owen Lin2012-07-241-18/+15
| | | | Change-Id: Ia6385f98b048292de70c6e8aa628a2e6fc629485
* Add check for camcorder zoom.Angus Kong2012-07-201-0/+3
| | | | | bug:6838676 Change-Id: I9aeda27cf55ded444841ade40ea1eb1b91da01cb
* Only make time lapse recording available on and after Honeycomb.Chih-Chung Chang2012-07-201-0/+3
| | | | Change-Id: Ia5b2f69a3c0feb9e0219118a7dd372a09cf2da73
* Add checker for panorama supporting.Ahbong Chang2012-07-171-0/+3
| | | | | Bug: 6816669 Change-Id: I34f80485d46f04f7adc49e2fd49dea1a08a72af9
* Merge "Change "current" sdk version to 16 as it becomes official" into ↵Ying Wang2012-07-131-1/+1
|\ | | | | | | gb-ub-photos-arches
| * Change "current" sdk version to 16 as it becomes officialYing Wang2012-07-131-1/+1
| | | | | | | | Change-Id: I09c13b99ff1bc368e1fa335f2efc4cba5410d2f5
* | Only use SurfaceTexture.release and setIconAttribute on newer platforms.Chih-Chung Chang2012-07-131-0/+6
| | | | | | | | | | | | Bug: 6706784 Change-Id: Ic1bb2bb27c3184d791de566d88dbade039fb9d87
* | Add the method for hidden fields.Angus Kong2012-07-131-0/+15
| | | | | | | | | | bug:6698375 Change-Id: I5feb3fdd680fec0d745bd3176f4676c16484d4ed
* | Add existence check for face detection methods.Ahbong Chang2012-07-121-0/+20
| | | | | | | | | | | | | | | | | | | | android.hardware.Camera.setFaceDetectionListener() android.hardware.Camera.startFaceDetection() android.hardware.Camera.stopFaceDetection() android.hardware.Camera.Parameters.getMaxNumDetectedFaces() Bug: 6707152 Change-Id: Ia6b54246273548db44ec28c40f9efe49048ea8d5
* | Add existence check for DevicePolicyManager.getCameraDisabled()Hung-ying Tyan2012-07-101-0/+5
| | | | | | | | | | Bug: 6706695 Change-Id: Ib8ea8805a4bea862c8407f8c73a6e5ba1e0f49d3
* | Avoid using setSystemUiVisibility in old platforms.Yuli Huang2012-07-061-0/+3
| | | | | | | | | | | | bug:6785569 Change-Id: I0a19ab2818b6f34d530c5d65e781d3168533d44f
* | Don't test the EXTRA_LOCAL_ONLY before HC.Owen Lin2012-07-051-0/+3
| | | | | | | | Change-Id: Idebb2aba994e38cf7eead795f1834ff98eaec27d
* | Don't show the shuffle and album widget for old platformsOwen Lin2012-07-051-0/+3
| | | | | | | | Change-Id: Ide7074025aefe289bf6c71d623eac5100ab72932
* | Don't use invalidateOptionsMenu before API level 11.Owen Lin2012-07-051-1/+15
| | | | | | | | Change-Id: If46d46e44797b2bd4f66235eca0954a55d0008cf
* | Don't use AutoFocusMoveCallback on older platforms.Chih-Chung Chang2012-07-041-0/+3
| | | | | | | | Change-Id: I281888ee88c08b1caf4754e714f0f42c75e26dd9
* | Use MTP only if the MTP API is available.Chih-Chung Chang2012-07-041-0/+3
| | | | | | | | Change-Id: I5c747d0da2905eb344c56dfab6333034dd5eecc3
* | Merge "Add ExifTags to hold tag names that are not available in ExifInterface"Hung-ying Tyan2012-07-031-0/+27
|\ \
| * | Add ExifTags to hold tag names that are not available in ExifInterfaceHung-ying Tyan2012-07-031-0/+27
| | | | | | | | | | | | | | | | | | | | | prior to API level 11. Bug: 6775786 Change-Id: Iab564f577d9a0b87c8fb7b91eda6cabc12b5a11a
* | | Remove dependencies on APIs only exist on newer platforms.Chih-Chung Chang2012-07-033-0/+1483
|/ / | | | | | | Change-Id: I606a23863247454051dd183ddf6b77f6bc882685
* / Don't reuse bitmap before HoneyComb.Owen Lin2012-07-031-0/+3
|/ | | | Change-Id: I0df9bf0a8f43e28ed25b436d4c584dc3ceb43c1d