Import translations. DO NOT MERGE

Change-Id: Ia806543ecbf4a05c710e383dc9a1367c4d07553b
Auto-generated-cl: translation import
merge in jb-mr0-release history after reset to jb-dev
Fix the crash when choosing pick your video in effects recording.

In pick your video case, mEffectType is not EFFECTS_NONE and
mEffectsRecorder is null in onPause.

bug:6826528

Change-Id: Id8c933555b1b8a37c541deb04746468efe1787c0
merge in jb-mr0-release history after reset to jb-dev
Import translations. DO NOT MERGE

Change-Id: I46ec874140d9ea92664127596dbf5345a51676fe
Auto-generated-cl: translation import
merge in jb-mr0-release history after reset to jb-dev
Camera: Updated czech translation

Change-Id: I36b2230ebdf24a514306649045313932585b3c81
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Camera : Fix camera crash

Commit 61b3662ccce0beacacd5e404dd1b21300a263605 introduced :
mSurfaceTexture = null; inside closeCamera().

This is incorrect since, inside stopCamera, right after calling closeCamera
it does a null check in order to release the textures, pre-setting it to null
fails the condition and they never get released.

closeCamera();
if (mSurfaceTexture != null) {
   mCameraScreenNail.releaseSurfaceTexture();
   mSurfaceTexture = null;
}

To reproduce crash :

- Open camera
- Press home button
- Relaunch camera via lockscreen or homescreen icon
- Repeat if necessary

Change-Id: I47c3009ce3820307bf3d742c721720e63c51484e
Camera: Add pinch to zoom

Reimplementation of the original omapzoom-based PTZ code from CM9
for compatibility with the new singleTap events.
Also, adjusted pinch scale to match a full zoom when doing a diagonal
pinch

Change-Id: Iab0c02531d6e173b00b61a9270d581929ed5e595
Fix camera extra settings menu

If the list of settings entries is scrolled, the adapter returns a
reused View instead of creating a new one. This makes the last
entries unusable. This has been broken for ages but only shows up
if the camera has more than a few settings (which the stock camera
doesn't)

Change-Id: I4a88438f433adddf5cc14fdbbf22ac681fb5b071
Revert "Camera: Add pinch to zoom"

This reverts commit 132c91ac325f992928001a9fd3676b5c86beb544.
Camera: add burst mode (up to 20 shots)
Rebased for jellybean.

Change-Id: I182554ce32bd8ac62cd1aeaff84f21d4fcac3f30

Conflicts:

	res/values/arrays.xml
	res/values/strings.xml
	src/com/android/camera/Camera.java
	src/com/android/camera/CameraSettings.java
Camera: Add volume zoom

p2: cleanup
p3: added volume zoom to panorama mode (always on)
p4: fixed zoom slider FC
p5: few small changes for consistency
p6: rebased

Change-Id: Idfcca725e574e98555ca66d457054ec15bd9aecc
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Camera : Timer Snapshot

Allow user to take a snapshot after a certain amount of time.
Credits : Michael Simon for the base port
	  David Van Tonder for indicator icon

Change-Id: Ic50bf1c1f7fd85d8c48dac3e51766aeff2b381ea
VideoCamera: Do not use continuous autofocus in time-laspe mode

Change-Id: I5808aafb6b3b1343e4b0770e262344de7542e1c8
Camera: Add JPEG Quality settings.

Patchset 2: remove comment.

Change-Id: I7a963bfb226231918648006e4ab61a42ee79b182
Camera: streamline settings

flips anti-banding and color effect arrays so all options go from low to high

Change-Id: Idc47537f2e0b49c8e54a8920a9d64cb6d0b1fbf1
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Merge "Camera: Updated czech translation" into jb
Camera: fix NPE

add null check to mPreference to avoid the following

09-14 10:39:48.829: E/AndroidRuntime(5495): Caused by: java.lang.NullPointerException
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.ui.InLineSettingItem.reloadPreference(InLineSettingItem.java:80)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.ui.OtherSettingsPopup.reloadPreference(OtherSettingsPopup.java:155)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.ui.AbstractIndicatorButton.reloadPreference(AbstractIndicatorButton.java:165)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.ui.IndicatorControl.reloadPreferences(IndicatorControl.java:213)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.ui.IndicatorControlBarContainer.reloadPreferences(IndicatorControlBarContainer.java:139)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.Camera.initializeSecondTime(Camera.java:621)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at com.android.camera.Camera.onResume(Camera.java:1788)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1184)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at android.app.Activity.performResume(Activity.java:5082)
09-14 10:39:48.829: E/AndroidRuntime(5495): 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2688)

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>

Change-Id: I30af8885e4d68612c1dac9f7c5cbbe4270bf99f5
Camera: Fix issue with restore default camera parameters

Intialize mPreferences before you reload preferences.

CRs-Fixed: 383840

Change-Id: I426627725b2606d313d931ada6adfbae82b355cc
(cherry picked from commit 683ba67603d06562805819fff4ee4370028adf38)