diff options
author | 2009-09-28 13:51:12 -0700 | |
---|---|---|
committer | 2009-09-28 13:51:59 -0700 | |
commit | eb16a09f59022f9fd3f1d633204049bc4e96b0f9 (patch) | |
tree | e81eb6ee9161d1c81a862e5bf1cc893d1a3887ae | |
parent | b2eccea36eaf3b0ab75d8cac80250ddbe332e001 (diff) |
Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH.
-rw-r--r-- | include/ui/CameraParameters.h | 12 | ||||
-rw-r--r-- | libs/ui/CameraParameters.cpp | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/include/ui/CameraParameters.h b/include/ui/CameraParameters.h index 9c3d4f0ab1..9e4e140667 100644 --- a/include/ui/CameraParameters.h +++ b/include/ui/CameraParameters.h @@ -215,15 +215,17 @@ public: // Values for flash mode settings. // Flash will not be fired. static const char FLASH_MODE_OFF[]; - // Flash will be fired automatically when required. The timing is decided by - // camera driver. + // Flash will be fired automatically when required. The flash may be fired + // during preview, auto-focus, or snapshot depending on the driver. 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[]; // Flash will be fired in red-eye reduction mode. static const char FLASH_MODE_RED_EYE[]; - // Constant emission of light. This can be used for video recording. - static const char FLASH_MODE_VIDEO_LIGHT[]; + // Constant emission of light during preview, auto-focus and snapshot. + // This can also be used for video recording. + static const char FLASH_MODE_TORCH[]; // Values for scene mode settings. static const char SCENE_MODE_AUTO[]; diff --git a/libs/ui/CameraParameters.cpp b/libs/ui/CameraParameters.cpp index 9200a975f8..8f1749d9e2 100644 --- a/libs/ui/CameraParameters.cpp +++ b/libs/ui/CameraParameters.cpp @@ -89,7 +89,7 @@ const char CameraParameters::FLASH_MODE_OFF[] = "off"; const char CameraParameters::FLASH_MODE_AUTO[] = "auto"; const char CameraParameters::FLASH_MODE_ON[] = "on"; 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. const char CameraParameters::SCENE_MODE_AUTO[] = "auto"; |