summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Remove LongSpareArray + some cleanupsYour Name2012-12-111-368/+0
| | | | Change-Id: If5bb44ebca70bd735e426aeb3d9aac2d4bac646e
* Add GLES20 canvas implementation.George Mount2012-12-051-0/+3
| | | | Change-Id: I5680909f31dc097599d0e063aa1f6daba834d3e2
* Video: Fix crash in trimming/muting video in GB.Teng-Hui Zhu2012-11-161-0/+3
| | | | | | | | | Basically switched to use sherlock actionbar and protect various new methods with API level check. bug:7546257 Change-Id: Ic16f75126c619578a9e9c2520fa264687d89a2e6
* use ExifReader in MediaDetailsEarl Ou2012-11-142-27/+9
| | | | Change-Id: If8c7f32804ba55b4b0351c350e324dc1b6e508d7
* Use getValueAt() to read different data in ExifTagEarl Ou2012-11-143-62/+27
| | | | Change-Id: I4d8a72523a6ad4ae34e173c4b845a462644e83c7
* Convenient function to add timestamp related exif tagsEarl Ou2012-11-071-2/+53
| | | | Change-Id: I8a20c38d5fd35517d0520b29aac362eff32cbdd9
* Handle wrong thumbnail tag typeEarl Ou2012-11-071-0/+6
| | | | Change-Id: If41834f0aa86425a06aaede815f3e0c3cdd17fd9
* Handle undefined tags and ignore copyright tag in exif testEarl Ou2012-11-073-123/+5
| | | | Change-Id: I531518555257bdaefb79b681282c6aad07542b4b
* Handle invalid offset value in ExifParserEarl Ou2012-11-072-17/+74
| | | | Change-Id: I6d4a0edec361f8359535761d7f12ab9363ff1ad1
* Add API check for method announceForAccessibilityDoris Liu2012-11-021-0/+3
| | | | | Bug: 7434841 Change-Id: Ib97a322b4cdb1e1ca81d6ffa092e40f5ae172cb4
* Handle invalid data type in ExifParserEarl Ou2012-10-312-1/+18
| | | | Change-Id: I547021c03ec9e5d53c7452926c2ca5b6bf11dc43
* Handle images with multile APP1 in ExifParserEarl Ou2012-10-311-14/+19
| | | | Change-Id: If88384066b008bc6a68976b6e291cc1dbcd65914
* Handle the last null byte in Exif tag.Earl Ou2012-10-313-28/+75
| | | | Change-Id: Ic802810d11518dfeb80d1338db65b2e1e1cc8476
* Do not use UTF-8 to decode string in ExifOutputStreamEarl Ou2012-10-311-4/+8
| | | | Change-Id: Id0303a9e8a72db1625e8d0f7487be44227b0ce6a
* Handle invalid offset size in ExifParserEarl Ou2012-10-241-3/+17
| | | | Change-Id: I9036f8ea9d7a956a74f4d0cd15ef210dbd9f1de3
* 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-2213-0/+3431
|\ | | | | | | | | | | | | 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