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: 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 'cm-10.1' of https://github.com/CyanogenMod/android_packages_apps_Camera into cm-10.1