Camera2: ES translations

Change-Id: I1bc1ff87e2f3707b738b3ffffbe9e15eea238beb
Camera2: Preview needs to be stopped when changing resolution

This was done in startPreview as a hack, but was removed in
f729b85e12cfa2674048d8cce2f724014b8fc910. Specifically add it
back when the resolution is changed.

Change-Id: I306abd788bafdff4e6fba7eec4e6ff05bb3cc47c
Camera2: LT translations

Change-Id: If4531316ab082e4eae5734095b4ade3c06c44cd2
Merge "Camera2: ES translations" into cm-11.0
Merge "Camera2: Preview needs to be stopped when changing resolution" into cm-11.0
Camera: revert CodeAurora's panorama angle handling

I'm not sure what the code is trying to fix, but break landscape
devices' panorama display

Ported from cm-10.2

Change-Id: Ifa922b043f578353b778065e2123005a57185dfd
Camera: fix preview for landscape devices

Landscape devices have broken preview because PORTRAIT mode is
being abused to check for screen rotation. Use proper rotation
check to fix.

Ported from cm-10.2

Change-Id: I75588cbce9843e180e4be7591f6a43bcec788506
Merge "Camera: revert CodeAurora's panorama angle handling" into cm-11.0
Camera2: More thorough compatibility fixes

Certain chipsets (such as omap) have contrast, sharpness and saturation
set, but no max integer given for those

Change-Id: I58efaef4d0a511aefc803a440e0c3aa3dbdc9483
Camera2: fix FC when switching camera in video mode

mFocusManager's manager needs to be updated before startPreview,
otherwise setParameters will be called with an invalid preview
mode resulting in a crash on some device (in this case, aries).

Change-Id: I32c113e744f95b4939c070b3aad8b4b5c53fce65
camera: Actually fix ZSL :)

Change-Id: I921c10e2dfd8694fc13ba8bc9def59c498322f4f
Camera2: Add translatables

Change-Id: I5a01dfe162a7aee55d5df6f765b2605b354616ce
Camera2: UG translation.

Change-Id: I502004993e8d731f011a3edc89c1fa5c4a79bfe2
Camera2: ES translations

- Added QCOM strings

Change-Id: Ie58e5561306040be6c0cbdf7350626ad65fe60d5
Merge "Camera2: Add translatables" into cm-11.0
Add an option to maintain the focus mode when using touch-to-focus

There's at least one family of camera HALs that gets "confused" when
the focus mode forcefully changes to auto after setting focus /
exposure area options.

Sticking with the current focus mode still results in effective use
of the focus region, so don't force a switch to auto. The default
behavior remains the original, this needs to be explicitly enabled
on affected devices

Change-Id: Icdb1eb628f5ae4432bf03a64b38bbf054ba005a0
Camera2: fix long press shutter behavior

Long press shutter should perform auto focus and take the photo
when the shutter is released. This behavior is broken in
f5b1181157b6d7f65376c0068768f8f3f94b5d69 when longshot/burst mode
is added by CAF.

Fix by only setting the long click handler for longshot/burst when
it is enabled.

Change-Id: I5149134641ec790c03857b4ea23c43a9ff0adfda
Camera2: PL translations

Port from cm-10.2

PS2: Update copyright

PS3: Fixing (thanks init0 and Piotr)

Change-Id: I1333913b8b5b1f8c095485be4fede39d331ce022
Signed-off-by: jereksel <jereksel@gmail.com>
Camera: Round camera settings icon margins to 8

Rounding margins of camera settings icon to 8.
This would avoid overlapping of constituent tiles.

Change-Id: I4c1ccd2dfeec082c7164d19ba02bb9d939ac3ddd
Camera: Set the width dynamic to parent from fixed 400px

Width of the seekbar was 400px and that caused overflow for
the rightmost text value.

Set the width match_parent so that it'll change dynmaically
with the text window.

Change-Id: I51069d4c5687e72516bc4a5afc59f9f3ae6f8e88
CRs-fixed: 582325