fix for correct handling of video snapshot feature

the mPaused condition is checked wrong

Change-Id: Ibe66dcec5bc6248159a0b914e5f24f2986d8b8fe
Camera: Dutch translations

Change-Id: I9a40a8a985fe40535b1fb909c4af9884bae4cccf
Camera: Simplified Chinese Translations

Partially ported from CM10.

Patch Set 2: Rebased

Change-Id: I2fb61829410fa00b6440e23eee05508b0f447dbd
camera: Add options to better control video preview size

 * usePreferredPreviewSizeForEffects is needed to fix camcorder effect on
   some MSM8660 devices.
 * Add ignorePreferredPreviewSizeForVideo to use the best size reported
   by the driver instead of the preferred-preview-size-for-video value,
   which may report something really awful.

Adapted for cm-10.1 from similar commits in jellybean.
  https://github.com/CyanogenMod/android_packages_apps_Camera/commit/5ea90585dfce5a38f0c91d2ae07145770a0ea569
  https://github.com/CyanogenMod/android_packages_apps_Camera/commit/7310af07d00910033adbd2dce6aaf8b04cd1f220

Change-Id: I58d4f81333a26dbd6d1ce35037b9c32fbd7d5b69
Camera:update romanian translation

Change-Id: Ia1ab57648536b16f1f875cd03aacc90bb081442a
Camera: Update Greek translations

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

Change-Id: I6a0c5ea6c46bb16a61d6c654ac147f6eb18446fd
Fixed aapt warning

Change-Id: I091a385aff272ec2d8a39a0acc2bc33fa3a08662
[1/2] Camera: add software HDR rendering

This allows devices without HDR camera (so all phones except Nexus 4
I think...) to actually take HDR pictures. When the mode is enabled,
pressing the shutter button will take 3 shots, one a minimal exposure,
one at 0 exposure, and one at max exposure. The 3 shots are then fed
into a software HDR processor that will merge the 3 images into one
final shot.

There are two algorithms available for merging pictures, one is a
simple average between all pixels, and the second one is based on
Reinhard's algorithm. They all need tweaking, and only the first one
is used for now.
Average algorithm is available in RenderScript form. This beastie
speeds up a lot!

Source shots are removed after HDR is computed

Change-Id: I7a9e52e56258a0c755f4def22db51ac84501ce9a
camera: Restart the preview if record size changes

  * Needed to release the buffers on many cameras when the record size
    changes but the preview size does not. Without releasing the buffers,
    we can run out of ION space and end up with a mangled recording.

Change-Id: I3ebee850b3e20b3920368c8e052a428f6dd9e3e5
Camera: SoftwareHDR: Reduce mem usage and let exposure time get tuned

- The memory usage has been reduced. Instead of doing 3 bitmaps and
  keeping them in memory, only one bitmap is used and recycled once
  copied to the renderscript allocation.
  In counterpart, I had to remove the software (non-RS) processing.
  I haven't seen any issue of devices disliking RenderScript, so
  I think it's fine.

- I added a config overlay to set the exposure settle time between
  the shots. Some devices are faster than others (ZSL devices can
  take less than 1 second, the previous value). I set this to 0.8
  seconds by default, which works fine on i9100/n7000.

Change-Id: Ia067b717a3754ffb423b29a915d2ae411d04f0b9
camera: SoftHDR: Use parallel processing

On an idea from Steve Kondik, the RS script now uses
parallel processing via rsForEach, processing every
line of the image in multiple threads.

Change-Id: I552c61e10abf652c50b8511169886bab0986637e
Util: Disable software HDR if the camera HAL actually supports it

Defaulting to disabling a functional camera capability and replacing
it with an inferior implementation is a bad idea

Change-Id: Ic8dd91721e0a803ba7226a6115c57ca223581819
HDR: only show slide animation after final shot

Also make sure to reset mBurstShotsDone to 0 after taking the
final shot for the HDR image.

Change-Id: I5cb4d5286402b577e097d57aa4cc9d850a317aef
BurstMode: only show slide animation after final shot

Change-Id: Ia7cfbe2be578d0d7d027537df92b11358f0a7201
PT-BR: Update translations

Change-Id: I96c76774b27e236f2b5bc854a7e3d4a10880a6da
camera: add much more scene & focus modes

   * taken from HTC One X(endeavoru)

Patchset 2: White board -> Whiteboard

Change-Id: Id065ed1a5004b7ec6b5d8e63f85528badedced63
Camera: add exposure and JPEG quality settings to video camera

Change-Id: I350484e93f88d229362dee663277a06f132fd4a3
Added hungarian translations

Change-Id: Ibdd210c9fb3baf3f7c15dcec2a2285a978e7943e
Camera: update italian translation

	Add strings for new focus and scene modes

Change-Id: I9b980711e34952e680234d7094fba18b3c15d254
Update Russian Translation-Camera-CM10.1

Update Russian Translation-Camera-CM10.1

Update Russian Translation-Camera-CM10.1