Gallery2 DE translation

* Add missing resolutions
* Reorder resolutions

Change-Id: I61f1e027e83d2c51bb6fc799e9fa1c73436caaa9
camera: Re-add workaround for freeze when recording stops

 * Device-specific issue. Readd until driver is fixed.

Change-Id: Ic57a6ebeb40370c0e4cb25eef37dfc0eec8717a2
Revert "camera: Enable face detection parameter if required"

This reverts commit 321e62c4b58f35b2ba56ab7fceb4c57cb31dce5f.

Change-Id: Ib78f851f11490592324b3af003120bc66f754b55
camera: fix image capture review mode when zsl is enabled

Choosing "Take Photo" to change a contact image doesn't show
the captured imaged after taking a snap if ZSL is enabled.
Also observed on apps that use the native camera to capture
an image like Whatsapp.

In ZSL mode, the preview is not stopped, due to which the
review mode (ImageCapture) doesn't show the captured frame.
Hence stop the preview if ZSL mode is active so that the
preview can be restarted using the onReviewRetakeClicked().

Also, reset the autofocus and set the camera to idle only
when the ZSL mode is active. This fixes issues with non ZSL
cameras where autofocus works even during the review mode
after taking the snap since the camera state is set to idle.

Change-Id: I2aa3f4146575329c6fefb259b09937108084fdab
Merge "Gallery2 DE translation" into cm-10.2
Camera: Additional scene & focus modes

-Scene modes
-Focus modes
-Focus mode settings
-Fix filtering of unsupported focus modes
-Add one missing resolution
-Extra settings menu

Use ListPreference instead of IconListPreference in scene mode selection
It doesn't look good in devices with many supported scene modes
and we don't need to create drawables for all new scene modes.

Added an extra settings menu in photo mode to hold more features
in the future because aosp UI is unusable when it contains many options.

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

Change-Id: Ifa411ffc77c72d968ea769dad76575b901ad7a84
Camera: Powerkey shutter (2/2)

Ported from cm-10.1

Including cm-10.1 camera commit:
aa4ae80a41fbab763891c5ef6d67a9e5b4bb981b Don't mess around with pref local ID for power shutter initialization.

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

Change-Id: I0992baa558eefd306d00fbece59cb5c512d9448b
Camera: port additional features from cm-10.1

Squashed port of the following Camera commits from cm-10.1:

45b308cbe7715a4c543d8c1589af52a2bdb9ebaa Camera: port additional settings from jellybean 4.1
752bbae9a5ae37a40e449dddb5efafb14f52b2a0 Camera: add additional ISO modes (1/2)
91ac45d1f3a01738e59f1bc3e1e66cdde2fdd106 BurstMode: only show slide animation after final shot
d231733b79c67e27710702f1d7f42715dcbc6c41 Camera: add exposure and JPEG quality settings to video camera
bb4a2b611b505a7a3a81a479fe2e87798b4d14e8 Camera: separate settings for color effects and jpeg quality
1bcbb002ec1dc36f4cbda3f169ce6130c758f1e0 CameraSettings: fix the filtering of unsupported settings

- Burst mode
- Photo color effects
- Video color effects
- ISO settings
- Additional iso modes for sony devices
- JPEG quality settings
- Video bitrate settings
- Video exposure settings

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

Change-Id: I0d6a3cf864e618e3698baa42f8a11c0fa9a908a7