Camera2: UG translation.

Change-Id: I502004993e8d731f011a3edc89c1fa5c4a79bfe2
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
Set original camera parameters while switching between modules.

Camera holder maintains a local variable to get original params
and set those params back when user switch between modules. But
these parameters were obtained from the instance of camera manager.
So object in Camera holder will be a reference to an object in
camera manager. Becasue of this all the parameters set in photo
module are getting reflected in other modules.
This change makes sure the camera holder's parameters object is
created separately by getting data from camera device.
Also reverted the alternative solution to reset scene mode in
video and panorama module.

CRs-Fixed: 579747

Change-Id: I02637fb2c215aeb1ba9076629400a339c31178ad
Camera: Enable module switcher on resume

For HDR mode, on pressing shutter key, module switcher icon will be
turned off. That'll not be activated if user relaunch camera
after pressing home key in HDR mode while capturing image.

Enable switcher in UI on resuming camera module.

Change-Id: I094f4941f87149e4c5b2393881ed5175c4388559
CRs-fixed: 580450
Camera2: Fix for unsupported resolutions by codec.

Currently, logic for unsupported resolution for a codec is
hardcoded and is limited to only H263 and 1280x720 resolution.
Ideally, we should read capabilities of each codec from
mediaprofiles.xml and check it against selected profile.
Toast message is posted if any unsupported resolution is
selected.

Also skip setparameter call to HAL during recording,
when orientation gets changed.

Change-Id: Ife7dde725882d8217fadff7b56687cdad2c72ae4
Merge "Camera2: PL translations" into cm-11.0
Merge "Camera2: UG translation." into cm-11.0
Revert "Camera2: PL translations"

This reverts commit f12973db32276a3eac484e1c114840ce532f1ac1.

Change-Id: I0392976255dfb6da2f1b35167ba21da518aa1491
Merge "Revert "Camera2: PL translations"" into cm-11.0
Camera2: PL translations

Fixed version of: http://review.cyanogenmod.org/#/c/56725/

PS2: Delete whitespace

Change-Id: Ifa2c63b12dde505de9bb90bd4bb8bb91623ffdc5
Signed-off-by: jereksel <jereksel@gmail.com>
camera: Keep touch focus intact during back-to-back ZSL shots

 * If ZSL is enabled, we should not resetTouchFocus between shots.
 * Instead, re-kick the timer for each shot. If I set a focus point,
   I want that point to stick while I take a succession of shots.

Change-Id: I407bb1e248cc902355d0294f47b071cc8a32fac3
Camera: Change volume hard key button to zoom function

Able to capture image through volume hard key
button in camera application, change the function
to zoom function.

Change-Id: Iab9fc2492b2e2ff89cd58c21bac2f147f47b77e2
Camera2: Fix indentation and whitespace

Change-Id: I424aea6141f9ba2a698d29b3e5f60d5c57291c57
Camera2: bring back support for Samsung HDR format

Change-Id: I01e81f347228617b892598ea0d4f80f818bf17d0
Camera2: RU translation (fix minor typo)

Change-Id: Ib5e92a235d7d8956730d7e0bb6d1f4825a622da3
Camera2: LT translations

Minor fixes, additional strings have been translated
PS2: removed some translatable="false" strings, improved translations
Change-Id: I360bf876f0d3470a9bb7540540daa56cd9838e7a
Merge "Camera2: RU translation (fix minor typo)" into cm-11.0