camera: Fix initial parameter setting

 * setVideoMode was being called before CameraSettings was constructed,
   where is would always do nothing on the first call. Move this stuff
   to statics in the Util class instead.

Change-Id: I3837d9f597cb26ab2308a69be0ba27e3f4472c5e
camera: tweak restartPreviewOnPictureSizeChange option

Change-Id: I989bb29ccba50e6802c443b4c5297b16877ca55e
Merge "camera: Fix initial parameter setting" into ics
camera: Add additional resolutions

Change-Id: Ia09683e7ca6215636b70e43e14eb8a1fff5ac232
Merge "camera: Add additional resolutions" into ics
Missing Simplified Chinese Translations for the Camera App

Change-Id: I04d39199760f4f526147ea095fee06daac36ecac
Merge "Missing Simplified Chinese Translations for the Camera App" into ics
videocamera: start preview on checkQualityAndStartPreview() in any case

preview gets stopped before checkQualityAndStartPreview() gets called.
make sure to restart it on any case otherwise the camera app will hang.

Thanks to TheUnkn0wn (XDA) for finding this.

Change-Id: If01519d16c6802b8b17fb5034102a806f755db2b
Camera: prevent camera from running away with itself when taking multiple pictures.

The problem arises when mSnapshotOnIdle gets set to true but never gets reset back to false.
The scenario this would happen would be when attempting to take another picture while a picture is being taken.

Thanks to TheUnkn0wn (XDA).

Change-Id: Ifd1a29a7e8477b6e5bcc48727c52d12cdfc59e3f
camera: support for ZSL on samsung cameras

 * Various changes from CAF to support ZSL.

Change-Id: I52d2f500470d5fd6127b8f170bc8bfd4aa9cdb57

camera: Handle error callback

Add function to handle error callback from HAL
The error callback is triggered by daemon crash,
which will send error msg to HAL and call back to app
Application will stop camera/camcorder gracefully

Change-Id: If0f501d88ac06b06c6d051cffcb91800c3feda38

Camera : Restart preview when the snapshot aspect ratio changes

Restarting of preview is required when user changes to a different
picture resolution whose aspect ratio is different, as the buffers
need to be released and requested again with new preview resolution.

Change-Id: If7095f3e9879e8dcbafe57776d8dda67f9b79b74

Camera: Fix issue with preview callback buffer size mismatch.

If android.hardware.Camera.PreviewCallback  is implemented in
the application layer, then the callback buffers will be delivered
to the application. A crash was seen in switching between picture
sizes with different aspect ratios.When aspect ratio changed the
preview was restarted after some delay. This was causing intermediate
buffers size to not match with the newly selected size.
Fixed this by calling stopPreview immediately after the aspect
ratio changed. Start preview will be called at a later point.

CRs-Fixed: 327767

Change-Id: I5f5a5f2a29e90e5484f98204a49400b1d96a800e
(cherry picked from commit ef175f83d4b225a0af8544c83dc727baa67d5940)
camera: added continuous-picture focus mode

Change-Id: Ib7f40b8ec6733e52072f8a37f61c7a716d0a7a5e
camera: ISO support from CM7 (2/2)

Change-Id: I12e8bd0588319064461cd866da1da3a0b58c9e5b
Update Russian Translation-Camera-CM9
PT-BR: Continuous Picture Translation

Change-Id: I8720e984db9eb0f22fafcfb5212b39c91caeba0b
Camera hungarian translation

Change-Id: I670aa57e690e197aa6e697c44aee6f8fdb530010
Allow disabling of face detection on rear camera

This is required for the endeavoru device, as for some unknown reason face
detection parcels from the camera libraries are malformed, resulting
in a segfault. Adds a noFaceDetectOnReadCamera config option that disables
face detection on the rear camera.

Change-Id: I0437d56fd41dcb22781eca00dcfd8e5cd6d0edff
Merge "Update Russian Translation-Camera-CM9" into ics
Merge "PT-BR: Continuous Picture Translation" into ics
Camera - Updated Italian translation

Change-Id: I3e068e0274ecdc6bbf4f8fa6e6289228aab8c15e
Merge "Camera hungarian translation" into ics