summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Add record time to details viewFlamefire2014-10-212-15/+13
| | | | | | | | PS2: Move strings PS3: Move DateTime format to public in ExifInterface PS4: Actually use that DateTime format Change-Id: If30e19d0b79039357f393752544c655e073a46d2
* Fix crash of gallery on showing detailsFlamefire2014-09-181-10/+23
| | | | | | | | The exif parser adds a terminating zero for string values. This increases the byte count for that entry beyond the set byte count. Causing a null value in e.g. the "Model" field for images taken with e.g. a Samsung Wave 2. Change-Id: Ifb6ee4d5b4b71e84cb2a5df459d3716543e25efe
* Gallery2: fix issue in readTag when parse Exifqqzhou2014-09-041-1/+2
| | | | | | | | | | | | | | | | When read some Tag of jpeg images,the offset is less than the IFD0 offset position,then try to copy data above IFD0 as Tag value no matter whether data exists above IFD0,so null exception occurs in System.arraycopy.This issue can effect user in two aspects: 1.black thumbnail for some jpeg images in ALbumSetPage and ALbumPage. 2.force close happens when get details of some jpeg images. We set offset for this Tag not value on above situation. Change-Id: Icd368afcbed80556de0940e562dbcca42c53c849 CRs-Fixed: 525081
* Set default video quality to the highestDoris Liu2013-07-311-3/+0
| | | | | | Bug: 9886141 Change-Id: I4741d5c898ac666923cfc12abc78d5d3517cb05f
* Added jpeg streaming classes.Ruben Brunk2013-07-114-0/+449
| | | | | | | | | - Provides streaming operations for decompressing/compressing JPEG files. - Allows pixel operations to be performed on large JPEG images without holding the entire bitmap in memory. Change-Id: I597ddf282b59d2ba6d6bca4722208121e3728f94
* Clean up camera switcherDoris Liu2013-06-241-3/+0
| | | | Change-Id: I9f0495524028528ca02c7ddf94f4698d4e87af14
* Anchor camera controls when flipping deviceDoris Liu2013-05-031-0/+3
| | | | | | | | Also adjusted margins for camera root view to avoid covering undo bar Bug: 8758513 Bug: 8714114 Change-Id: If27f55a40f95402923d59d162db0c7cc29eabba4
* Fix offset and ASCII type handling in exif.Ruben Brunk2013-04-252-6/+31
| | | | | Bug: 8713891 Change-Id: I8adaf1bc42eea2cda741d149de5f1a64c3e4c74c
* Lock camera orientation using FW APIMichael Kolb2013-04-151-0/+3
| | | | | | Bug: 8617536 Change-Id: Id3a5ae777f6f87d24984cbca48202470651cd71c
* Merge "Use MediaMuxer for the video trim and mute." into gb-ub-photos-bryceztenghui2013-04-101-0/+4
|\
| * Use MediaMuxer for the video trim and mute.ztenghui2013-04-101-0/+4
| | | | | | | | | | | | bug:8548085 Change-Id: I55955285ee141ebab6437950a154280cc5fefcc0
* | Added check to strip out uninitialized EXIF tags.Ruben Brunk2013-04-051-0/+16
|/ | | | | Bug: 8552339 Change-Id: Ib6ae4f59f9e393e5f6b46877a4b2c3b2fe1852d3
* Merge "Speed improvements for ExifOutputStream." into gb-ub-photos-bryceRuben Brunk2013-04-022-3/+9
|\
| * Speed improvements for ExifOutputStream.Ruben Brunk2013-04-022-3/+9
| | | | | | | | Change-Id: I7d3ee9c157aefe67734e7b49cfa7868254c134ef
* | Cleanup sloppy memory handling in ExifOutputStream.Ruben Brunk2013-04-021-4/+3
|/ | | | Change-Id: Ifc34a958a6214fa89ee52cfbdeb6d53baa8cd3fd
* Use cancellationSignal only on API Level 16 and above.George Mount2013-03-151-0/+3
| | | | | | Bug 8390238 Change-Id: If2dacb1eb74e531d004b6f281d32a81f7cd59139
* Fix for crash upon saving imagenicolasroard2013-03-142-2/+4
| | | | Change-Id: I305626a61a07d2290e7d5600da4c26f2a82ab1c9
* Exif parser modifications.Ruben Brunk2013-03-1311-1683/+3838
| | | | | Bug: 8018327 Change-Id: I66a2ec309f9807ac255bbf29d8f5f26de60e89b8
* Add sharing supportBobby Georgescu2013-03-081-0/+2
| | | | Change-Id: I2c7f18b0d6dd057c1fba96c1133d563f32abf55c
* Use cross fade rotation animationMichael Kolb2013-02-251-0/+4
| | | | | | Bug: 8257846 Change-Id: I891eda12f3de2ec0cd0f7672b991a19e6464873c
* Fix exif data saving for picasa images.Ruben Brunk2013-01-152-3/+6
| | | | | Bug: 7910836 Change-Id: I8ec1a1ab379c35b0602689a8f7850f5c861e0189
* add javadoc for ExifOutputStreamEarl Ou2012-12-191-0/+51
| | | | Change-Id: Ib7aa3e32e0ae3af143209c0128374fc35ee8faa2
* add help function to decode user comment in ExifDataEarl Ou2012-12-191-1/+48
| | | | Change-Id: Ida19ce45bfc8b00972e751b652d99f6b19798116
* add javadoc for Rational and IfdId in Exif packageEarl Ou2012-12-192-1/+16
| | | | Change-Id: Ie67dde198337e6edae2e94d5c7e97b9b6063833e
* Replace original tags when add tags in ExifTagEarl Ou2012-12-191-20/+12
| | | | Change-Id: I80d1507467dcde8c8b157a120cfe9a5f5c664d0f
* Merge "ExifModifier" into gb-ub-photos-bryceAngus Kong2012-12-186-48/+308
|\
| * ExifModifierEarl Ou2012-11-306-48/+308
| | | | | | | | Change-Id: I001b24d8ba004a4080cd898f0d26d706b1839425
* | 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