Translated missing lines in Gallery/Camera

Change-Id: I8eb70a09a1ffddeb6a7a105baa2bd561e7fd38ce
Camera: set default focus and metering areas to null.

Earlier, default values were not null which
is not compatiable with our HAL.

Change-Id: I317836b3289b9976bf281c8c74308969cbab626c
Camera: Request for 2 snapshots in HDR Mode.

Request for 2 snapshots(1x exposure, HDR Processed) images to be
stored on the SD Card.

Change-Id: Ie7b553e7dd7bf8e03edcf9eb7c09c5e28bacc1ab
(cherry picked from commit 1eebfba9e64ce6800209933063bc50336102dfd8)
Gallery2: fix the size displayed error of livesnapshot exif

The exif size info of livesnapshot picture should be right, aka.,
the same as the actual picture.

Change-Id: I7415de4fb4b017f681048319ad2a849fa5b29fe9
Gallery2: Recycle the image when activity is about to close

By calling recycle() on fullImage object, the destructor of the
SkPNGImageIndex class (libskia) will get called which releases all
the memory resources related to that images.

Change-Id: Ic74d9469cabeb07018b76e183f28115c4a93775a
CRs-Fixed: 551617
Gallery2: Clear the undefined buffer for the first 15 frames

The view is undefined before the first frame of camera preview data
come up.
This makes the UI has random corruption when open camera
and exit quickly.
However, we have no way to know the timing of the first frame.

It will take about 700~800ms before first camera preview data comes up,
and the time of drawing one frame is about 50ms,
so need to clear 15 frames before first camera preview data comes up.

Change-Id: Ibc9a5662a15ad58919384ce00cb3a7557b17cae8
Camera: Add checker for null pointer exception during camera release

In current code, handler will still try to execute command even
camera is closed, so add null point checker to skip these commands

Change-Id: Idc407b31bedbf5e879673cb2ca4011dbb006587a
camera: Add parameter debugging support

Change-Id: Ifc1653f0046af169ba36d94796b4d9a3055c6798

Conflicts:
	src/com/android/camera/VideoModule.java
Merge "Camera: set default focus and metering areas to null." into jb4.3
Merge "Camera: Request for 2 snapshots in HDR Mode." into jb4.3
Merge "Gallery2: fix the size displayed error of livesnapshot exif" into jb4.3
Merge "Gallery2: Recycle the image when activity is about to close" into jb4.3
Merge "Gallery2: Clear the undefined buffer for the first 15 frames" into jb4.3
Merge "Camera: Add checker for null pointer exception during camera release" into jb4.3
Merge "camera: Add parameter debugging support" into jb4.3
Fixes Mako continues focus  problem

Change-Id: I25187998003d357ec5ed3b10329fb39941f47bea
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
camera: Clear any leftover scene modes when entering video mode

 * HDR scene mode might still be set when entering video mode, since
   we don't reset the hardware during the transition anymore. This
   can be incredibly bad on some devices such as JF, who get wildly
   confused when one tries to do a video snapshot while recording.
 * Fixes the crash on JF, possibly other issues as well.

Change-Id: I635f65742ab1f73cfeeec0890d31208502b146f5
Merge remote-tracking branch 'slim/jb4.3'; commit 'HEAD' into HEAD