Videocamera: Fix the settings panel freeze

The panel freezes after change time-lapse or quality settings

Change-Id: I06c0d15e0a6434a796e8f9b3c0e4e4d8622935f5
Camera: add Smart capture

add back smart capture feature. Recoded and addapt to the
new aosp camera. This time each camera and video can set it
seperatly.

drawables by kbeezie

Change-Id: I87a895c21c53d11cab573df4fd76f1628ca03b1a
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/cm_strings.xml
Camera: ensure that camera exists to fix possible NPE

on keyguard it can happen that the camera already is released
but GET_PARAMATERS is accidentaly called after that
check for mCamera != null to avoid this scenario

Change-Id: I663674b516d9b9bd916456f6341ec2eecc33b299
Camera: add True View back

like smart capture recoded partly and changed to new aosp camera

drawables by kbeezie

Change-Id: I2e0a29a34da09eabad281c8173e42533ac580bb8
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/cm_strings.xml
	res/values/slim_arrays.xml
The cropped picture can't be saved if it is in /extsd

Add WRITE_MEDIA_STORAGE to access the non-primary storage

Change-Id: Ie245171e9e1e60e84a3cd17ce06793918152044c
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
Camera: Add a GPS indicator

This will add a GPS indicator to the preview of the photo camera.
The indicator is placed as an overlay at the upper top corner
of the photo camera preview.

It shows one of three icons depending on the GPS state:
    - acquiring fix
    - GPS fix acquired
    - GPS disallowed in system settings

changes to 4.2.2 version
    - gps icon animates during getting a fix
    - show on video mode as well

Drawables by blunden.

Change-Id: I2f91d6aa12b2629f2c19c564cf646dcc385a7ab9
Camera: add color effects

drawables by kbeezie

Change-Id: I389d621e73bd14e6c85c62edc75c93b5282d4c3a
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/cm_strings.xml
	res/values/slim_arrays.xml
Camera: finish Settings in new google style

for whatever reason google missed to change the video camera
settings into the same conistent PIE style like camera. As well
with the comming features it is a bit complicated to add so much
icon in one PIE layer

This commit does:
- most common features are in first level
- second level more options are now in real more options which are less common
- settings is now a new 3rd PIE level where only real settings are included which
  the user normal just set one time
- Video settings completly overworked and have now same PIE style like
  Camera and no oldschool popup menu style.

Change-Id: I026099d3c530fe9a3d4dc877ff09e2896c0abdb3
Camera: add jpeg quality setting

Change-Id: I812203e6a020d31ac848fe8e5032fa53ac950239
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/cm_strings.xml
Camera: add gallery shortcut into cameraswitcher

Change-Id: I0c7c93250a81b7c5e4fe65eb9515bf9d1f08af8c
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/slim_strings.xml
Camera: seperate color effect for video and camera

more user friendly

Change-Id: I45443ac13b8ce7e6ca98f2c75e184579b2de9d9c
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/slim_strings.xml
Camera: add jpeg quality option for video snapshots

and keep them seprate to the camera option

Change-Id: I74ee9e796e6fadb875ebe2a7dea955e6af97b5b2
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/slim_strings.xml