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
Add option to remove sound on focus camera

PATCH 2: Correct to make this setting avoid need to restart camera to work

Change-Id: I9a04c8fd2cbaf08a50eb00347e3e3b8897b00720
msm7x30: Camera HAL for HTC Sense devices (3/2)

This adds an option to the camera to "force" the preview. When using a
wrapper HAL for a GB lib camera, this will fix preview not being
available until a picture is taken.
<string name="pref_camera_force_preview_default">on</string> in a
string.xml overlay will activate the option, which has also been
designed to support being added as a menu selection for private testing

Change-Id: I7c0a297690d5b191dbaf9fd6ff61548be58c056c
Camera : Adjust the framelayout aspect ratio based on orientation.

If sensor orientation is not aligned to Display orientation, then
the preview on screen will be stretched. Adjust the framelayout
aspect ratio accrodingly to fix this issue.

Also added support to make sure aspect ratio is correct after
suspend and resume

CRs-Fixed: 321497
Change-Id: I70e7c000d11c62f55f25f3daddb6f91e98e487c2
camera: Fix for display stretch

MR1 release include a change to inverse the aspect ratio
when the orientation is portrait. The change has the assumption
that camera orientation is always align to display orientation.
Added check to address case where camera orientation and display
orientation are different.

CRs-fixed: 327997
Change-Id: I08ce03feffeab2d0f60fc8ab2afa2e1a4dc13dbf
Camera: Use landscape orientation for preview layout

Change-Id: Iefdbeed82b6c1d0cac7cec035d1b95db26a3ce8c