am fe1a86df: Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.
Merge commit 'fe1a86df8b1c23e3290f96dce69984bf979a462b' into eclair-plus-aosp * commit 'fe1a86df8b1c23e3290f96dce69984bf979a462b': Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.
This commit is contained in:
@@ -215,15 +215,17 @@ public:
|
|||||||
// Values for flash mode settings.
|
// Values for flash mode settings.
|
||||||
// Flash will not be fired.
|
// Flash will not be fired.
|
||||||
static const char FLASH_MODE_OFF[];
|
static const char FLASH_MODE_OFF[];
|
||||||
// Flash will be fired automatically when required. The timing is decided by
|
// Flash will be fired automatically when required. The flash may be fired
|
||||||
// camera driver.
|
// during preview, auto-focus, or snapshot depending on the driver.
|
||||||
static const char FLASH_MODE_AUTO[];
|
static const char FLASH_MODE_AUTO[];
|
||||||
// Flash will always be fired. The timing is decided by camera driver.
|
// Flash will always be fired during snapshot. The flash may also be
|
||||||
|
// fired during preview or auto-focus depending on the driver.
|
||||||
static const char FLASH_MODE_ON[];
|
static const char FLASH_MODE_ON[];
|
||||||
// Flash will be fired in red-eye reduction mode.
|
// Flash will be fired in red-eye reduction mode.
|
||||||
static const char FLASH_MODE_RED_EYE[];
|
static const char FLASH_MODE_RED_EYE[];
|
||||||
// Constant emission of light. This can be used for video recording.
|
// Constant emission of light during preview, auto-focus and snapshot.
|
||||||
static const char FLASH_MODE_VIDEO_LIGHT[];
|
// This can also be used for video recording.
|
||||||
|
static const char FLASH_MODE_TORCH[];
|
||||||
|
|
||||||
// Values for scene mode settings.
|
// Values for scene mode settings.
|
||||||
static const char SCENE_MODE_AUTO[];
|
static const char SCENE_MODE_AUTO[];
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ const char CameraParameters::FLASH_MODE_OFF[] = "off";
|
|||||||
const char CameraParameters::FLASH_MODE_AUTO[] = "auto";
|
const char CameraParameters::FLASH_MODE_AUTO[] = "auto";
|
||||||
const char CameraParameters::FLASH_MODE_ON[] = "on";
|
const char CameraParameters::FLASH_MODE_ON[] = "on";
|
||||||
const char CameraParameters::FLASH_MODE_RED_EYE[] = "red-eye";
|
const char CameraParameters::FLASH_MODE_RED_EYE[] = "red-eye";
|
||||||
const char CameraParameters::FLASH_MODE_VIDEO_LIGHT[] = "video-light";
|
const char CameraParameters::FLASH_MODE_TORCH[] = "torch";
|
||||||
|
|
||||||
// Values for scene mode settings.
|
// Values for scene mode settings.
|
||||||
const char CameraParameters::SCENE_MODE_AUTO[] = "auto";
|
const char CameraParameters::SCENE_MODE_AUTO[] = "auto";
|
||||||
|
|||||||
Reference in New Issue
Block a user