Camera: NL translation

fix messy AOSP strings

Change-Id: I3ba1781007fc53450cf50eebec94efc9dd4a3086
Gallery2: fix labels for scene modes

Change-Id: I1736e94be00804787b1e183dd8287097d174c519
Merge "Gallery2: fix labels for scene modes" into cm-10.2
Gallery2: Fix detail dialog image count

This commit fixes the displayed image index which needs
to be count up by 1 to make sense for the user.

Before: http://goo.gl/BeRp8Z
After:  http://goo.gl/N3xvX6

Change-Id: Ib8d782188207d9ee7444316e8426b8215c67e594
Add GPS tags and timestamp to Exif when photo is saved

Patchset 2: Fix formatting
            Sync exif code of PhotoModule and PanoramaModule

Change-Id: I8b6f77687f01c537a2a3d5bb2b2d8b4ad21642c8
Gallery2: Fix filmstrip source index

Filmstrip has 1 item more (the camera itself). Do not count the Camera as an item

Change-Id: I2027d857c08477cb0303e74c15818be1fc979104
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Gallery2: Fix showOnMap method

If the context is ProxyLauncher, showOnMap will make crash the Gallery app if
GoogleMaps not exists, because the double call to startActivity.
Just query the intent before call the startActivity method.

Change-Id: I2e2637626d9f81780f48625bef52e861180e002c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Camera: fix gfx undefined buffer issue

clear the render target before drawing, fix the undefined buffer
mess up issue of preview layer

Change-Id: I093fc0bdaf292fed2bc7f1a6d2678a94f25c9d55
CRs-fixed: 503216 506709
Merge "Gallery2: Fix filmstrip source index" into cm-10.2
Merge "Gallery2: Fix showOnMap method" into cm-10.2
Merge "Camera: fix gfx undefined buffer issue" into cm-10.2
Gallery2: Fix show on map typo

Change-Id: I80cc825d3adf17fde9d245a71a4756f35bcd232f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
VideoModule: check for videosnapshot support in onSingleTapUp

onSingleTapUp is now triggered through PreviewGestures instead of
ActivityBase, so the check in initializeVideoSnapshot() is no
longer enough to prevent triggering video snapshot on unsupported
devices.

Change-Id: I5f6e14f1125a9d47e03bb35fdc4ff358c589b73e
Camera: don't display picture size unless supported

Otherwise the option will force close when selected

Change-Id: I2047c90ab08e7d7abcf11d817b5ddf106df2c732
Gallery2: zh-rTW translations

Change-Id: If376d3531f1507fa8463c2a4915367ef73cde790
Gallery2: CA translations

Change-Id: Iaec45b8ca425b13ebd7a2faacb7bd6fbe7bc4f7c
Camera: Update storage hint in full screen state change listener.

When user swipe from gallery to camera, storage hint was not updated
based on the latest storage space. This change will call update storage
hint in full screen state change listener callback.

Change-Id: I9950cb165ae49a7d062c012f24e63898045d0c6c
CRs-fixed: 522710
Gallery2: camera: disable all camera controls ASAP when swtich the camera

Camera switch button is a pieItem, there is a fadeInOut animation for these
kinds of menus. And the onClick event deliver to upper layer happens after
the end of the animation which lasts 600ms. We should add another event
callback before the animation to disalbe all camera controls as soon as
possible.

Change-Id: Iddcb9e9452aa0ff6ea8485c08c9c56b067995fb5
Gallery2: Clear undefined buffer before first draw

Clear undefined buffer before first draw.

Crs-fixed: 526603 523916
Change-Id: I1cfdb621bdcf08dc8994adddb0111a1aaf941f56
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
Change-Id: Idf6a8660378bf1a65af1f5194a35d30822f1dcf6