Camera: Update italian translation

Change-Id: I5e13c7c17eae0c9f12ac96a7ed73954f600720a3
Camera: AF translation

Change-Id: I742867175f9f0abe480cba313c86096b6cc29878
Camera: RU translation

Patch Set 2: Update translation

Patch Set 3: Update translation
Camera: Simplified Chinese Translations

Added translations for voice shutter and timer mode.

Change-Id: I4b8cffcb02daf117f496ec5d5ad388cc33b19d43
Merge "Camera: Update italian translation" into cm-10.1
Merge "Camera: AF translation" into cm-10.1
Camera: Update italian translation

Change-Id: I57bbd1d08f323387265f12e21401b8f058d1aab9
Camera: HDR: Read parameters for hardware HDR support

On mako (and soon find5), HDR mode is a scene-mode. Software HDR
uses Util.isCameraHdrSupported to check whether or not hardware
already supports it, which should also set software HDR flag.
However, this method is not called soon enough to set this flag
on time, so we call it before checking for software HDR status.

Change-Id: I24375f290d6c2cde782c43373a07e78ba5d806ff
Merge "Camera: Update italian translation" into cm-10.1
camera: Fix parameter dumping

 * Chop up the logging so we don't create a line that's too long

Change-Id: I59e60de584d2b5007c6a7777d5e2427af275ec01
Merge "Camera: RU translation" into cm-10.1
Merge "Camera: Simplified Chinese Translations" into cm-10.1
camera: Add support for ZSL on new Samsung devices

 * The camera driver on new Samsung devices requires that we send a
   magic command to the hardware in order to get ZSL behavior with
   continuous preview. On previous devices, this worked as long as the
   "cam_mode" parameter was zero (instead of null) and "camera-mode" is
   set to 1. On JF, we need to do all of these things.
 * The command we need to send is 1508, but I do not know what this
   value actually corresponds to. It was discovered by reverse
   engineering.

Change-Id: I6bccc9cd228784045eef81719892121749af4fa5
Merge "camera: Fix parameter dumping" into cm-10.1
Merge "camera: Add support for ZSL on new Samsung devices" into cm-10.1
Camera: Fix for stretched preview in front camera

Stretched preview is observed due to front camera's mount angle.
This patch resizes preview frame using aspect ratios so preview is not
stretched when using the front camera in still and camcorder mode.

Change-Id: I70b5534dd3020bdf46afdfdcefc39d89a2b2e450
CRs-fixed: 435942

Camera: Fixes stretched preview in camera application

- The preview screen nail is getting set with the
  preview frame layout size, which depending on the
  preview resolution might lead to aspect ratio
  mismatches.

Change-Id: Ifdc436feffefa4ad95d3915f48724b0fc3684d9d

Camera: Updates preview screen nail correctly

- Querying the width and height of the screen nail
  currently will return the render width and height
  which in turn depend on the preview frame layout
  size. In cases where both sizes match the screen
  nail will not get updated properly. Instead of
  using the render width and height this change
  uses the actual size of the nail itself.
  This way changes to the resolutions are
  recognized properly and the nail is updated.
- This patch also removes 'updateCameraScreenNailSize()'
  and extends the functionality of 'startPreview()'
  in order to update the screen nail for the cases
  where the preview and the nail size don't match.

Change-Id: Ib99f47f4094e01724725098847f42197b4442c03
Merge branch 'DJL10.1' of github.com:DJLaMontagneIII/android_packages_apps_Camera into DJL10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Camera into DJL10.1