Automatic translation import

Change-Id: Id9a72b0efe2a745d0686939cb9e376c43d91c4ee
Automatic translation import

Change-Id: Ia41e2209fac0bf64d056982c60f4f7ce5839d21c
Camera2: Update to use newer slow-shutter parameter

Change-Id: Ia2c9817420491ccfe1462786ac0c89a86c44d7f3
Camera2: Disable ZSL for slow shutter shots

Change-Id: If046c2180cf0504ce668a31fbb8c7660cd42b63e
Camera2: Surface Qualcomm denoise option

Change-Id: Iae8ba7ef4d8282e1c2c93d9f39ce2d9a5c622233
Add 3264x1840 as a valid camera resolution for benefit of HTC DLX and others.

Currently, 3264x1836 is listed as a valid camera resolution option, but
3264x1840 is not.  The latter is what is exposed by the driver for the 6M 16:9
camera size on the HTC DLX (Droid DNA), not the 1836 option.  This is likely
true for other cameras as well, I would expect.  Without 3264x1840, the
highest resolution that is offered in a 16:9 format is 4M, far less than
the sensor is capable of.  3264x1840 is also correct for this device's sensor
when compared to the stock HTC ROM -- it takes photos at this size.

3264x1836 remains untouched for any devices that use it.  Given that these
values are checked against what the driver supports, and it's unlikely two
such similar resolutions would be supported by the driver, there shouldn't be
a duplicate.  I reused the existing text string resource for the 6M label, so
no new translations are needed.

Note that if testing this on a Droid DNA (or other device with the same
issue), you might see a crash when you select the new 6M option.  This is
an unrelated existing bug that occurs the first time you select any
widescreen size on this device.  It happens on the current nightlies as
well when selecting the 4M option.  It's not related to this change.
After the crash, the camera app can be reopened, the selected resolution is
still selected, and everything seems to work fine.  I'll look into this bug
at some point if I can finda solution, but it appears to affect existing
16:9 resolutions as well and thus shouldn't be a blocker for this change.

Change-Id: Ia75e46ff2cda12c0c3cbca58222c801b71f31115
Camera2: Prevent autofocus when video snapshot is in progress

During video recording if screen is tapped repeatedly, autofocus is
started while the snapshot is taken. This would either result in an
out of focus snapshot which would also disturb the focus in the recorded
video or crash the sensors that can't handle autofocus during snapshot.

Change-Id: If2763094f5ab7536e4409469276de54580e803c8
Automatic translation import

Change-Id: Id6007c9230b5cfcc840f84dc318cffbf323cd86f
Camera2: Tweak some strings

Taken from CameraNext resources

Change-Id: I5d3cd7f7ca0f08be39ba571826db3bae8019b333
Camera2: Fix default slow shutter option

Broken after http://review.cyanogenmod.org/63070

Change-Id: I611c1bd812ab1151fd91f3c758c0e3c357e3454f
Camera2: Use consistent translations for megapixels

Change-Id: If12826cd6a4c11f4b5ccdcd2d7a8166914276da8
make settings menu themable

Move colors to resources and use them instead.

Change-Id: If43440bf7bf6dbed360621a0313f8624fe663552
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>