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
Camera: DA translation

Latest merge: handsfree shutter

Change-Id: Iad1d7ada2cecd0928e534beac61ae8c6ae01e500
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: CS translation

- reorganized strings for new CM layout
- added missing strings for hands-free shutter
- fixed typo

Change-Id: I812e1ec0cca3cd3a858b36d27005ae2bb36667b9
Camera: NB translation

Added the new strings for the Hands-free shutter.
I also did other minor changes.

Change-Id: I41fa958c0dbedfdb531922283c353c7bbd390d55
Camera: fix NL AOSP translation

Change-Id: I3ac4b7f6d222ada43d57f20bc347a982a23e4a44
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
Camera: NL translation

-translation for Merge voice and timer options into a single 'no-hands shutter' option

Change-Id: Ied06a6a03344f097936c20720648e1c45bbfec7e
Fix preview state machine after it's restarted due to ratio changes

The camera state was being set to PREVIEW_STOPPED by the restart,
and the lack of a completion message was leaving it in that state,
breaking other checks down the line (changing scene/balance modes,
for instance, failed miserably)

Change-Id: Ia5bc6b1aab5ee85582c4c4c3d09646892e669454
Merge "Camera: NL translation" into cm-10.1
Merge "Camera: fix NL AOSP translation" into cm-10.1