Camera2: Af Translations

Change-Id: I6ffa8c9cda111671b5611edc267ee2ae82ee0f0e
Revert "Camera2: CA translations"

This reverts commit 74edb276ac3c3544e2375e36ec7f90d5038a4065.

Change-Id: I304a36c6ada8e16489e3a79ff0cf429c405a7a91
Merge "Revert "Camera2: CA translations"" into cm-11.0
Revert "Camera2: ES translations"

This reverts commit 8bed28ec0ea53e38e7520ddbee8857d86bb8cce5.

Change-Id: I9e5d619e7ed592769fead3d7a4b37662607603fd
Merge "Revert "Camera2: ES translations"" into cm-11.0
Merge "Camera2: Af Translations" into cm-11.0
Camera2: Remove untranslatable strings in CA translation

Change-Id: I69aad48771dc7bcc51e11ab4fa451b4ea2cecaef
Camera2: ES translations

Change-Id: If25587c1e43e7b9062eddfc1e667efbe849c24d0
Merge "Camera2: ES translations" into cm-11.0
Camera2: Fix WB onScreenIndicator when some are settings filtered out.

Change-Id: I983d25cb2b80d14a8e3eed47b8f12c2fe77420f7
camera: add support for samsung and htc camcorder modes

Change-Id: I68e6995a51dffa3b5851eb4b7a3a72e60d201d5b
Camera2: IT translations

Change-Id: Ifef294e6060027666ad57b3befe3ad05bfefd86c
Camera: Avoid animating cature with decoded jpeg in long shot

Decoding full jpeg image and animating capture
with that is causing lot of delays which effects
long shot stability.This change avoids that.

CRs-Fixed: 586568

Change-Id: I0133cc55e5efcc801dd9a98c289dec965aa35984
Camera: Add support for 4K camcorder

In case 4k is enabled,
 (a) set the preview resoultion same as video resolution.
 (b) set the preview format same as video format.

Change-Id: Iebc4c7d47ddca6e03a72f3af7b4660e93c9a1b8e
 Camera: Remove AF UI when faces are detected in photo ui

 AF window does not go away when faces are detected while
 capturing the images.This is because AF is not cleared
 when faces are detected in photo ui.

 The fix is to clear AF window by calling AF succeed
 when faces are detected in photo ui.

 CRs-Fixed: 555139

Change-Id: If0f10296a8fa232829e80a07778f78f158a55bf5
Camcorder: Switch video torch when preview focused

- Currently, video torch switching is not determined
  properly. When user enables and disables flash mode
  checkbox, nothing happens. Also, if video torch
  is enabled and switching to Camera and back to
  Camcorder mode, torch doesn't lights up.

- Adding a local variable mPreviewFocused to track
  the preview window focus state should fix the issue.

Change-Id: Ia134b86885eda1ad50d510e67e5595a391326d10
CRs-fixed: 567295
Camera: Don't do cancel_af till all CBs are received in burst shot

Doing cancel_af in the first jpeg CB while
burst shot is going on, is changing the
camera state to IDLE and allowing next
takePicture() which is resulting in crash
as this call reaches HAL when camera is in
picture taking state.

Change-Id: Idd146060a73161bcc30c34756fb53662bb1f0902
CRs-Fixed: 593352
Camera2 : Reset mSnapshotInProgress if recording stopped.

If recording stops while snapshot is in progress, we might not get
jpeg callback because cameraservice will disable picture related
messages. Hence reset mSnapshotInProgress flag so that we can take
liveshots in the next recording session.

Change-Id: I6a639eb0b9444e4915786c65f64d3b95b064267c
CRs-Fixed: 588698
Camera: Dont reset camera state while capture is in progress.

While capture is in progress and if we get autofocus event,
currently we reset the camera state to IDLE blindly. This is
resulting in app exception because it will trigger another
takepicture and lower layers will return error.

( cherrypicked from commit 1bed537bb0848b6a1f64f9eb245b1c256999ebad )

Change-Id: Ia595dbad246759870371b749c0aa2def221560c5
CRs-Fixed: 550417
Camera2: override Saturation&Contrast item when enable scence mode

When HDR or any other scene mode is enabled, should disable the
saturation and contrast items into gray.

( cherrypicked from commit aceeee3ef5812836265127ed784adb4ab5ed57fb )

Change-Id: Ia4e20e0ee2f80661c8b72bf81aeee6fa96dcdf1f
CRs-Fixed: 526617