Gallery2: make panoramic focus mode configurable

 - This allows for device maintainers to switch between
   INFINITY and CONTINUOUS_VIDEO focus modes.  Some devices
   do not support INFINITY so the image and preview are both
   out of focus.

Change-Id: I81a69c7e9ce55037184ee7edd755f8c88507f781
Camera: revert CodeAurora's panorama angle handling

I'm not sure what the code is trying to fix, but break landscape
devices' panorama display

Change-Id: Ifa922b043f578353b778065e2123005a57185dfd
Gallery2: HU translation

PS2: Correcting

Change-Id: Ic7cea2b07f9d33402d8393520e0d0ad7fe27b6c5
Merge "Gallery2: HU 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
Camera: Add touch-to-focus timeout duration settings

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

Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
Camera: Add red-eye flash mode support

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

Change-Id: I3db982732d15fb4eb83d5e37bff1a123225d4e8e
camera: Enable scene detection when ASD is set

Change-Id: Ief4061dc326e5cfe7e40239c7c07ae39ad8544b9
camera: Additional scene modes

 * Scene modes for N1
 * Also remove HDR scene mode from list :)

Change-Id: Ifc8fc374d71192a84df42c0273f8aa0605c6e92c