summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Change the print format TYPE_BYTE of exifTagEarl Ou2012-10-241-1/+1
| | | | Change-Id: I812832bc4007c1bbdac509b7a94ae27f9ad83300
* Use 'US-ASCII' as the default charset for ExifParserEarl Ou2012-10-241-2/+2
| | | | Change-Id: I775c84e601f8d33010080b189efd8c2de00d6959
* am bdc0f6f2: Merge "Move new exif lib to gallerycommon." into ↵Hung-ying Tyan2012-10-222-16/+65
| | | | | | | gb-ub-photos-arches * commit 'bdc0f6f2784b46ebe5d33d5e7e85bc347f07c468': Move new exif lib to gallerycommon.
* Merge "Move new exif lib to gallerycommon." into gb-ub-photos-archesHung-ying Tyan2012-10-2213-0/+3382
|\
| * Move new exif lib to gallerycommon.Hung-ying Tyan2012-10-2213-0/+3382
| | | | | | | | | | | | | | https://googleplex-android-review.googlesource.com/#/c/242047 depends on this. Bug: 6667860 Change-Id: Iac937e2eea94f0f5ffde876235b1c2ee748e7570
* | Drive GLRootView with ChoreographerJohn Reck2012-10-221-0/+3
|/ | | | | | | | | Bug: 7332724 By routing requestRender through postOnAnimation we can drive the GLRootView's rendering with the UI thread's coreographer, which ensures that touch events are processed before drawing Change-Id: Iac2b3229e9a09ee0319c64c5fc7cb906512a379c
* Add hook to manipulate SurfaceTexture transformJohn Reck2012-10-161-1/+1
| | | | | | Bug: 7302956 Change-Id: I32bdeb22630dbeba9f028e1c68167d10a5288a28
* Move calls to LightCycleHelper off the UI thread.Mangesh Ghiware2012-10-111-1/+5
| | | | | | | | | Bug: 7320303 Replace multiple methods in LightCycleHelper with a single one that returns relevant metadata. Change-Id: Iaa75b3c1ccc8a5b724b253cec654b5b5acb4878e
* Clear cached stitching preview thumbnails.George Mount2012-10-111-0/+14
| | | | | | Bug 7328408 Change-Id: Ifbc469dc9eef95025cd8e828a0df80e76d2ff064
* Animation supportJohn Reck2012-10-061-0/+3
| | | | | | Bug: 7300696 Change-Id: I80bfb27114a06dfc6f0f1aa866224cd547cc929d
* Disable effects recording UI.Wu-cheng Li2012-09-301-2/+1
| | | | | bug:7106963 Change-Id: I1c056b30efd9b2d8c976b611ada971a8bff1ad87
* Trimming: switch to use sherlock action barTeng-Hui Zhu2012-09-261-3/+0
| | | | | | | | | Show a "done" instead of the icon according to the UX team. And we don't have API level dependency. bug:7093240 Change-Id: Ib331495dd233c4dcbeb3d587bd5a4d0d89039d49
* Add API check for "context" input port of effects recording.Wu-cheng Li2012-09-251-0/+4
| | | | | bug:7106963 Change-Id: Ia065903dd120bf20862c6adfd8a699277a27ac50
* Enable effects recording in JellyBean.Pin Ting2012-09-251-1/+2
| | | | | Bug:7106963 Change-Id: I2ef0a30d1b9c970fdd9ce01459173db3bde99c6b
* The trimming solution with the mp4parser library.Teng-Hui Zhu2012-09-241-1/+1
| | | | | | bug:7093055 Change-Id: I598a81d80c9c5107696f3af7761207e3ec88f3ff
* Remove CAN_USE_FLAG_SECURE constant.Wu-cheng Li2012-09-201-3/+0
| | | | | | bug:7191713 Change-Id: Ia439970d9b51316ccf003fa17453deed7a27cf2b
* Use 565 pixel format for pre-JB; use 888 otherwise.Pin Ting2012-09-191-0/+3
| | | | | Bug:7189512 Change-Id: Iec5d528fef4f4fc589370339add299a40fc8f26e
* Add the UI elements for video trim activity.Teng-Hui Zhu2012-09-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Refactored the classes to support both the video play and trim. Now the common code for controller overlay is in CommonControllerOverlay, which is basically the same as the original MovieControllerOverlay without animation. Because in trimming, we don't want to hide all the controller. The specific animations are implemented in the sub-classes which are TrimControllerOverlay and MovieControllerOverlay. At the same time, TrimTimeBar extended TimeBar to support the extra trimming start scrubber and end scrubber. The interface between the timebar and the controllerOverlay are kept almost the same way, except adding the trimming info when necessary. With all these, the activity of TrimVideo now relied on the TrimTimeBar and TrimControllerOverlay. Similarily, the MovieActivity relied on the TimeBar and MovieControllerOverlay. 2. Hook the TrimVideo activity with the trim menu. Note that the icons are temporary for now, still need UX input on that. bug:7093055 Change-Id: Ib9bfbc090106744a569fce4c451ddffc0a2c699b
* Move LightCycle checking to the closed source.Angus Kong2012-09-051-97/+0
| | | | | bug:7076779 Change-Id: Ieebe0343a46257ca07f06483beb9391a90d7727a
* 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