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: Iab0b4b3d0cd9b0ea7278eceee3ae58419f5df100
camera: add support for samsung and htc camcorder modes

Change-Id: I68e6995a51dffa3b5851eb4b7a3a72e60d201d5b
camera: allow setting video-size before recording starts

Needed for some samsung cameras.

Change-Id: Ib87071bdd900aa1a42253bf6e2038b0af51f065b
camera: Add ZSL support for Samsung/Qualcomm cameras

 * Preview management for Samsung/Qualcomm cameras
 * Add workaround for broken face detection on front camera

Change-Id: Ib36bd21c9a76b45bced3eee2f25acc35b5d82b30
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: Iab0b4b3d0cd9b0ea7278eceee3ae58419f5df100
Camera: fix for non supported camera expoosure setting step from hal is basicily a negitive  value

Change-Id: Ieac03cced0c3312eaaa321964bc30a9c98326a29
Camera: Prevent double-stops on preview for some HALs

The OMAP3 HAL (at least) stops the preview while taking a snapshot,
without generating events to the upper layers, and telling it to
stop again leads to an inconsistent state.
Use "previewStopsDuringSnapshot" to avoid sending a stop while
it is already stopped

Change-Id: I4d4fe501c0dd6dd9aefb7d35f0e9dc6887e15162
Camera: Allow a device to request the focus modes at build time

By default, if a HAL supports touch-to-focus, mode selection is
disabled. Make that an option for devices where manual modes
work better without TTF (Macro, for instance)

Change-Id: Id47fba2a9d156b157440485a0fa516871076d9f9
Revert "Camera: fix for non supported camera expoosure setting step from hal is basicily a negitive  value"

This reverts commit 1c49180136c478295f6205401573a62e62945a75.

Negative min value is a valid exposure setting. The patch causes
exposure setting to be always detected as unsupported.
camera: Add debug logging when setting parameters

Change-Id: Ida35e08e02f51b7ca2b89dfeeb7e550e6e562c25

Conflicts:
	src/com/android/camera/VideoModule.java
Camera : Powerkey shutter (2/2)

    Allows user to take use power key to take pictures/videos

    Patchset 2 : Minor cleanup
    Patchset 3 : Keep string case inline with others

    Change-Id: I4dba67792d64f747174f5346a0a2a75ab632bb48

    Conflicts:

    	AndroidManifest.xml
    	src/com/android/camera/ActivityBase.java
    	src/com/android/camera/Camera.java
    	src/com/android/camera/VideoCamera.java

commit 3d8dca72ded986b51a202f24407593fff8fa52b2
Author: Danesh Mondegarian <daneshm90@gmail.com>
Date:   Sat Oct 27 23:10:07 2012 -0400

    Camera : PowerShutter fixes

    Ignore keyevents in video camera as well when in thumbnail mode
    Remove unecessary /repetitive flag modifications

    Change-Id: Ic0fe782387d2f331b80c68ab8067d8e2020c03ca

Camera : Ignore keyevents when in gallery

When in gallery view, ignore any keyevents.

http://goo.gl/9FEGw

Change-Id: I6d412327d603f204435302c1955b4dcd3bc942fc

Camera : Fix Ignore keyevents

Call super's onKeyUp/onKeyDown instead.

Change-Id: I054a58f1d0758edafdd4505d41401f3f8f53dda0

Change-Id: I7f14bfbba22b25322bf664e9901991ae26555674
Camera: fix for non supported camera expoosure setting step from hal is basicily a negitive  value

Change-Id: Ieac03cced0c3312eaaa321964bc30a9c98326a29
camera: add support for samsung and htc camcorder modes

Change-Id: I68e6995a51dffa3b5851eb4b7a3a72e60d201d5b
camera: allow setting video-size before recording starts

Needed for some samsung cameras.

Change-Id: Ib87071bdd900aa1a42253bf6e2038b0af51f065b
Camera: Allow a device to request the focus modes at build time

By default, if a HAL supports touch-to-focus, mode selection is
disabled. Make that an option for devices where manual modes
work better without TTF (Macro, for instance)

Change-Id: Id47fba2a9d156b157440485a0fa516871076d9f9
Add external storage capability

Change-Id: I600d82528de2ef8192967d3802cdab3012840c30
Camera : Powerkey shutter (2/2)

    Allows user to take use power key to take pictures/videos

    Patchset 2 : Minor cleanup
    Patchset 3 : Keep string case inline with others

    Change-Id: I4dba67792d64f747174f5346a0a2a75ab632bb48

    Conflicts:

    	AndroidManifest.xml
    	src/com/android/camera/ActivityBase.java
    	src/com/android/camera/Camera.java
    	src/com/android/camera/VideoCamera.java

commit 3d8dca72ded986b51a202f24407593fff8fa52b2
Author: Danesh Mondegarian <daneshm90@gmail.com>
Date:   Sat Oct 27 23:10:07 2012 -0400

    Camera : PowerShutter fixes

    Ignore keyevents in video camera as well when in thumbnail mode
    Remove unecessary /repetitive flag modifications

    Change-Id: Ic0fe782387d2f331b80c68ab8067d8e2020c03ca

Camera : Ignore keyevents when in gallery

When in gallery view, ignore any keyevents.

http://goo.gl/9FEGw

Change-Id: I6d412327d603f204435302c1955b4dcd3bc942fc

Camera : Fix Ignore keyevents

Call super's onKeyUp/onKeyDown instead.

Change-Id: I054a58f1d0758edafdd4505d41401f3f8f53dda0

Change-Id: I7f14bfbba22b25322bf664e9901991ae26555674
Camera: port additional settings from jellybean 4.1

- add burst mode
- add color effects for photo and video
- add ISO settings
- add JPEG quality settings

Change-Id: I0d6a3cf864e618e3698baa42f8a11c0fa9a908a7
camera: extend supported exposure compensation range

Change-Id: Iabebda0a27454eb3d90bff92498817c2e31752bb
camera: add support for various focus modes

Change-Id: I4d06a57292edaa28cae68154f32184178b15f2e7