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
Merge branch 'cm-10.2' of https://github.com/CyanogenMod/android_packages_apps_Gallery2 into DJL10.2