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: 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: 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
camera: Add debug logging when setting parameters

Change-Id: Ida35e08e02f51b7ca2b89dfeeb7e550e6e562c25

Conflicts:
	src/com/android/camera/VideoModule.java
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
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
camera: add pref_switch array

needed for camera mods from cm

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>