summaryrefslogtreecommitdiffstats
path: root/camera
Commit message (Collapse)AuthorAgeFilesLines
* camera: Fix disabling locationRicardo Cerqueira2013-10-302-0/+12
| | | | | | | | | | | If Camera.removeGpsData() is invoked from the userland API, we must invalidate the previously stored GPS data to prevent it from being saved in EXIF. Fixes the invalid storing of location data after an explicit disable Fixes android.hardware.cts.CameraTest#testJpegExif Change-Id: I9618a27ab9def974bac1d69871c3454300fb4c29
* camera: Fix invalid parameter returnsRicardo Cerqueira2013-10-302-4/+24
| | | | | | | | | | | The camera API expects invalid parameters not to return silently; They should throw an exception, and set the bad parameter(s) back to the last known good value. Fixes android.hardware.cts.CameraTest#testImmediateZoom and android.hardware.cts.CameraTest#testInvalidParameters Change-Id: I6556369322b7560b0bb35fca57366b42579effbd
* camera: Fix various focus-related errorsRicardo Cerqueira2013-10-302-7/+37
| | | | | | | | | | | | * Validate that the focus region is within legal boundaries * Reset the region to sane values if bad ones are given * Set a default empty region * If auto focus exists, it must be the default Fixes android.hardware.cts.CameraTest#testFocusAreas and android.hardware.cts.CameraTest#testParameters Change-Id: I3aafcccc2c6081ba44edb3283a850c55178fa90a
* camera: Fix android.hardware.cts.CameraTest#testFaceDetectionRicardo Cerqueira2013-10-301-0/+7
| | | | | | junit.framework.AssertionFailedError: Should throw an exception if face detection is not supported. Change-Id: I2cf8d26e94c0943838db7300ab05b4c0172b15c1
* camera: Block out endlessly looping focus clauseRicardo Cerqueira2013-10-291-0/+2
| | | | | | | | | | | capture_auto_focus_result isn't updated from any realtime focus callback, so waiting for it to change in order to complete the capture introduces delay, and in some cases an infinite loop. Remove the focus state verification, at least until such a callback can be put in place. Change-Id: If4c6815563cb63009e717ee65a0a8fb816cc813e
* camera: Wait for continous focus to complete before taking a picturePaul Kocialkowski2013-10-081-0/+5
| | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Change-Id: I2aef0e3e413c9a8708fe1c87860beb287c844a1c
* camera: Add AWB and AE lockJavier Ferrer2013-10-082-0/+78
| | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Change-Id: Idea7b7af7eb7adb4e02e6f527dda96e78f3e0f16
* Revert "camera: Add AWB and AE lock"Paul Kocialkowski2013-10-082-72/+0
| | | | | | This reverts commit 7607d3d42484c80b5689e7cb0362bfbe40daf263. Change-Id: I6f222c23cff1526ec6c9d0b0ae874e5652d861cb
* camera: Add AWB and AE lockJavier Ferrer2013-10-052-0/+72
| | | | Change-Id: I5ac305414a4d1af61fe4434fc89e794121196bdf
* Merge "camera: add image-stabilization parameter" into cm-10.2Daniel Hillenbrand2013-09-212-0/+36
|\
| * camera: add image-stabilization parameterJavier Ferrer2013-09-202-0/+36
| | | | | | | | | | | | Focal will find it and will enable it before taking shot, disabling it after the shot is taken. Change-Id: I476f2d13e6662f211d395d432c855d70ba53d61f
* | Merge "smdk4412-common: remove i925 from camera Android.mk" into cm-10.2Daniel Hillenbrand2013-09-211-1/+1
|\ \ | |/ |/|
| * smdk4412-common: remove i925 from camera Android.mksbrissen2013-09-101-1/+1
| | | | | | | | | | | | i925 note 10.1 lte uses a different back cam sensor. Change-Id: Ic03a9b3ef34c9325523a685f2e23cb1da18b31b7
* | camera: improve taking shot with focal on low light conditionsJavier Ferrer2013-09-121-1/+3
| | | | | | | | | | | | | | I have taken borrowed the scene mode "high-sensitivity" for this purpose. Maybe can we find a better scene mode for it in the future. Change-Id: I3e7379a7b8e8e0f982f2dc125174dd30617d39ed
* | camera: auto antibandingJavier Ferrer2013-09-091-2/+2
|/ | | | | | Add 60 Hz and auto antibanding, with "auto" as default. Change-Id: I460524f70afe0ac0aa0bf4c0be9a81acc4dbbb94
* camera: Fix camera crashing when bashing shutterXpLoDWilD2013-09-061-1/+7
| | | | | | | | | Prevents the picture thread from being restarted or freezing when it is already started, or when auto-focus is being done. Prevents gallery crash. Change-Id: Ib540f2a47423778b45dfc8df440e33b2ac254ae8
* smdk4412: camera: update headersDaniel Hillenbrand2013-09-042-32/+714
| | | | Change-Id: Ia1cf27dc04e3468e10041d91d7d9f60a04e6c32b
* smdk4412: add opensource camera halPaul Kocialkowski2013-09-0118-0/+14090
Change-Id: Icb555cc6158247c32a6feb5d846bcf4d727749af