summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/exif
Commit message (Collapse)AuthorAgeFilesLines
* CameraNext: Use Glide for async bitmap loadingcretin452016-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is what Camera2 code uses. Addresses SAMBAR-766 CameraNext: Fix rotation not updated The thumbnail generated by Glide is not updated when user rotate the image manually. This is because exif is rewrite using nio mmap, however there is no nio unmap available in java. Even though the file channel is closed, the rotation modification is still in buffer, when Glide tries to dtermine the orientation of the image, it still reads the old data. Use force to ensure data is sync to disk and buffer flushed. HAM-1389 Fix memory leaks Two leaks were occuring. One was an unused Parameters in AndroidCameraManagerImpl that was holding onto excess PhotoModules. The second was Glide images for video previews that were never being cleared on recycle. issue-id: CYNGNOS-2731 CameraNext: don't call Glide to load image after Camera exits There is a race condition where the filmstrip can still be trying to load a new image just as the camera exit, and Glide gets upset if it is handed a destroyed activity context to work with. So just check for that condition and go home. Change-Id: I9e76ab40d23213c7a74c26779e345207d5fd7bae Ticket-Id: CRACKLING-1068
* Fix crash if Exif-Tag buffer-length and component-count are both 0tobigun2016-11-021-1/+1
| | | | Change-Id: Iad9b60d135b4f682c08c3bfc9698cdd10e1086ab
* SnapdragonCamera: Change the default maker for panoramaweijiew2016-09-081-1/+5
| | | | | | | | when adding EXIF information for panorama picture, the maker was setted to QCOM-AA if the maker getting from system property is unknown Change-Id: I17c510d2d1056884af2978591001efc184cb8717 CRs-Fixed: 1052731
* SnapdragonCamera: Sharpshooter post filterJack Yoo2016-06-081-0/+17
| | | | | | | Adding Sharpshooter post process filter Change-Id: I8f3c1962db437e7dfbe2973f806a3f9a26480eb7 CRs-Fixed: 1023183
* SnapdragonCamera: Add manufacture and model infoJay Wang2016-05-091-0/+16
| | | | | | | | Manufacture and model information is added to the EXIF tag of saved panorama image file Change-Id: Ie5688032abc2278718dfcc0bf9129a35dedc7b8b CRs-Fixed: 1011930
* SnapdragonCamera: Add support for outputting MPO format filesJay Wang2016-04-123-12/+13
| | | | | | | | Add support for generating MPO formatted files from the application layer. CRs-Fixed: 993611 Change-Id: I9a78d33e1d80b7da748f9bc75446f49172342078
* Camera2: correct image size recorded in media provider dbLikai Ding2014-11-113-3/+24
| | | | | | | | | | | | | | | Photos taken in camcorder can't be previewed on PC via MTP mode. The root cause is that, the actual image file size does not always match the _size column in media provider database. During the saving process, EXIF data are rewritten, but the size sent to media provider is not updated accordingly. Record bytes written in ExifOutputStream and OrderedDataOutputStream so that after rewritting, the correct image size could be sent to media provider. Change-Id: I74d91e86d712c121eb50daecaf879ab4f5be97fc CRs-Fixed: 711522
* Add rotate support in Film Stripztenghui2013-08-2815-0/+6058
Move the exif related code under src.com.android.camera.exif. Refactor the member variables under LocalMediaData.java. Refactor the LocalData to make sure they are immutables for thread safety. bug:10367037 Change-Id: I0e84bcc0097925b2be749fe016984177a68e0a4d