summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-06-04 14:18:16 +0800
committerWu-cheng Li <wuchengli@google.com>2010-06-11 14:57:07 +0800
commit186ff08e71d106e329171055accd4395760495ea (patch)
treeb5cbb1574e2ee36c0516fc16852dc6c7458ed651 /res/values
parent1c3631accb0068a0a96cfd338820e6a7a61426f9 (diff)
downloadLegacyCamera-186ff08e71d106e329171055accd4395760495ea.zip
LegacyCamera-186ff08e71d106e329171055accd4395760495ea.tar.gz
LegacyCamera-186ff08e71d106e329171055accd4395760495ea.tar.bz2
Add metering mode support.
Change-Id: I8b964df4534da0b393479baddabfc85ce1b09b2f
Diffstat (limited to 'res/values')
-rw-r--r--res/values/arrays.xml13
-rw-r--r--res/values/strings.xml13
2 files changed, 25 insertions, 1 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 2299935..473fb47 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -261,5 +261,18 @@
<string-array name="pref_camera_quickcapture_entryvalues" translatable="false">
<item>off</item>
<item>on</item>
+ </string-array>
+
+ <!-- Camera Preferences metering mode dialog box entries -->
+ <string-array name="pref_camera_meteringmode_entries" translatable="false">
+ <item>@string/pref_camera_meteringmode_entry_center_weighted</item>
+ <item>@string/pref_camera_meteringmode_entry_spot</item>
+ <item>@string/pref_camera_meteringmode_entry_frame_average</item>
+ </string-array>
+
+ <string-array name="pref_camera_meteringmode_entryvalues" translatable="false">
+ <item>center-weighted</item>
+ <item>frame-average</item>
+ <item>spot</item>
</string-array>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1bfe813..dea9ea5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -167,7 +167,7 @@
<!-- Settings screen, Flash mode title -->
<string name="pref_camera_flashmode_title">Flash mode</string>
- <!-- Settings screen, Focue mode dialog radio button choices -->
+ <!-- Settings screen, Flash mode dialog radio button choices -->
<string name="pref_camera_flashmode_entry_auto">Auto</string>
<string name="pref_camera_flashmode_entry_on">On</string>
<string name="pref_camera_flashmode_entry_off">Off</string>
@@ -254,6 +254,17 @@
<string name="pref_exposure_title">Exposure</string>
<string name="pref_exposure_default" translatable="false">0</string>
+ <!-- Default metering mode setting.-->
+ <string name="pref_camera_meteringmode_default" translatable="false">center-weighted</string>
+
+ <!-- Settings screen, Metering mode title -->
+ <string name="pref_camera_meteringmode_title">Metering mode</string>
+
+ <!-- Settings screen, Metering mode dialog radio button choices -->
+ <string name="pref_camera_meteringmode_entry_center_weighted">Center Weighted</string>
+ <string name="pref_camera_meteringmode_entry_frame_average">Frame Average</string>
+ <string name="pref_camera_meteringmode_entry_spot">Spot</string>
+
<!-- Framing grid settings in preference -->
<!-- Message to show when there's no lat/lng information in the image -->