Camera: Smart capture

Readded smart capture feature. Recoded and adapted to the
new AOSP camera. This time camera and video can set it
seperatly.

Drawables by kbeezie.

Change-Id: I87a895c21c53d11cab573df4fd76f1628ca03b1a
Gallery2: fix Smart Capture in some devices

Change-Id: I03f913f5f71a794ffd0c2f22cf10daf390960311
Camera: True View

Like smart capture, recoded partly and changed to new AOSP camera

Drawables by kbeezie

Change-Id: I2e0a29a34da09eabad281c8173e42533ac580bb8
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 color effects

Drawables by kbeezie

Change-Id: I389d621e73bd14e6c85c62edc75c93b5282d4c3a
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
Camera: seperate color effect for video and camera

more user friendly

Change-Id: I45443ac13b8ce7e6ca98f2c75e184579b2de9d9c
Camera: add jpeg quality option for video snapshots

and keep them seprate to the camera option

Change-Id: I74ee9e796e6fadb875ebe2a7dea955e6af97b5b2
Camera: Fix camcorder crash during pause and resume

When camcorder is suspended in background, if it receives resume
and pause event in very short interval, crash will happen.
After receiving resume event, the onresume method will be called,
and it will start another thread for starting preview. And soon,
the main thread receives pause event, the onpause method which will
close camera is called.
There will be a racing between the main thread and start preview
thread. If close camera get done first, crash will be observed.
To avoid the racing, the close camera operation should wait for the
start preview operation, and the join method is used here for
synchronization.

CRs-Fixed: 526007

Thanks to Team CAF
Change-Id: Idf6a8660378bf1a65af1f5194a35d30822f1dcf6
Gallery2: Simplified Chinese Translations

Change-Id: I93693fbc7a6ebb49284f6e1bb064993ae9b8bc7d