Camera: Refactor AF translations

Change-Id: I0c4c45e99e13b76c0656bd26e150b77fb990aba0
Camera: Simplified Chinese Translations

Partially ported from CM10.

Patch Set 2: Rebased

Change-Id: I2fb61829410fa00b6440e23eee05508b0f447dbd
Camera: Simplified Chinese Translations

Updated translations, moved all CM translations to cm_strings.xml, and
deleted all comments as per the new translation policy.

Patch Set 2: Added 12.8MP translation.

Patch Set 3: Added 4MP translations.

Change-Id: I967269c5da2357ed86ea81d04f54532303e0dbdb
Camera: Update italian translation

Change-Id: I7a092aced6153888c8a24e8deb6447917eb97020
Camera: PT-BR update translations

Change-Id: I4652be9cecf76983e3428ea5bf7d8c0cdce58e4e
Camera: RU translation + reorganization
Camera: Refactor default translations

Change-Id: I464e4a4833e29afe00873dca6b2cd3986342f8c9
Camera Danish translation: transition to cm_ format

Change-Id: Icac664b4acbf85808df84f2e15ff14df02316014
Camera: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I9ee8064f91d03a89adcc271fadfc626c5df8568c
Camera: Dutch translations

Change-Id: I9a40a8a985fe40535b1fb909c4af9884bae4cccf
Camera: NL translations

Change-Id: I182ccd0065779254c86e7a9d1de69f7f43a79b20
Fixed wrong copyright owner in license

Removed 'AOSP 2007' as copyright owner from some cm strings.
Added '2012-2013 The CyanogenMod Project' instead.

Change-Id: Idf5acbd468f292744cc5d933b1ad3e8bd2703064
Camera: Norwegian translation

Patch Set 2:
    - Pastel-->Pastell(From inline comment)
Change-Id: Iff099d9c8b6e83f1245bdf6d83de1ef66dc1ea8e
Fix pinch to zoom for some devices

This fixes the pinch to zoom for t0lte devices and possible others

credit goes to erishasnobatter

Change-Id: Id386da2036d68997f45dd789c7bd152fe9b00bac
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
camera: Fix parameter dumping

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

Change-Id: I59e60de584d2b5007c6a7777d5e2427af275ec01
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

Conflicts:
	src/com/android/camera/Util.java
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