summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2009-12-08 12:47:21 +0800
committerWu-cheng Li <wuchengli@google.com>2009-12-08 14:49:06 +0800
commitda3e9964a4a82a942d7f450e7c89904f5c5aa03f (patch)
treea358de66e4bb5d0b8615caf6c4b949254d7b0c65 /res/values
parentff58fb6921ccb7398ad30c8cec604c38c76be4fc (diff)
downloadLegacyCamera-da3e9964a4a82a942d7f450e7c89904f5c5aa03f.zip
LegacyCamera-da3e9964a4a82a942d7f450e7c89904f5c5aa03f.tar.gz
LegacyCamera-da3e9964a4a82a942d7f450e7c89904f5c5aa03f.tar.bz2
Add flash light setting in video camera.
http://b/2118298
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml18
-rw-r--r--res/values/strings.xml3
2 files changed, 21 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index fe07fba..d8fcec4 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -126,6 +126,22 @@
<item>@drawable/ic_viewfinder_flash_off</item>
</array>
+ <!-- Videocamera Preferences flash mode dialog box entries -->
+ <string-array name="pref_camera_video_flashmode_entries" translatable="false">
+ <item>@string/pref_camera_flashmode_entry_on</item>
+ <item>@string/pref_camera_flashmode_entry_off</item>
+ </string-array>
+
+ <string-array name="pref_camera_video_flashmode_entryvalues" translatable="false">
+ <item>torch</item>
+ <item>off</item>
+ </string-array>
+
+ <array name="pref_camera_video_flashmode_icons">
+ <item>@drawable/ic_viewfinder_flash_on</item>
+ <item>@drawable/ic_viewfinder_flash_off</item>
+ </array>
+
<string-array name="pref_camera_recordlocation_entryvalues" translatable="false">
<item>off</item>
<item>on</item>
@@ -139,6 +155,7 @@
<string-array name="flash_modes" translatable="false">
<item>auto</item>
<item>on</item>
+ <item>torch</item>
<item>off</item>
<item>@string/pref_camera_flashmode_no_flash</item>
</string-array>
@@ -146,6 +163,7 @@
<array name="flash_icons">
<item>@drawable/ic_viewfinder_flash_auto</item>
<item>@drawable/ic_viewfinder_flash_on</item>
+ <item>@drawable/ic_viewfinder_flash_on</item>
<item>@drawable/ic_viewfinder_flash_off</item>
<item>@drawable/ic_viewfinder_empty</item>
</array>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index de74e1e..5cd38e7 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -229,6 +229,9 @@
<!-- Settings screen, flash mode dialog title -->
<string name="pref_camera_flashmode_dialogtitle">Flash mode</string>
+ <!-- Default videocamera flash mode setting.-->
+ <string name="pref_camera_video_flashmode_default" translatable="false">off</string>
+
<!-- Default white balance setting. -->
<string name="pref_camera_whitebalance_default" translatable="false">auto</string>