summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/qcomarrays.xml11
-rw-r--r--res/values/qcomstrings.xml14
-rw-r--r--res/xml/camera_preferences.xml7
3 files changed, 32 insertions, 0 deletions
diff --git a/res/values/qcomarrays.xml b/res/values/qcomarrays.xml
index 2b1fade1c..3a5387a22 100644
--- a/res/values/qcomarrays.xml
+++ b/res/values/qcomarrays.xml
@@ -607,5 +607,16 @@
<item>@string/pref_camera_auto_hdr_value_disable</item>
</string-array>
+ <!-- Camera Preferences Selectable HDR modes dialog box entries -->
+ <string-array name="pref_camera_hdr_mode_entries" translatable="false">
+ <item>@string/pref_camera_hdr_mode_entry_sensor</item>
+ <item>@string/pref_camera_hdr_mode_entry_multi_frame</item>
+ </string-array>
+
+ <string-array name="pref_camera_hdr_mode_entryvalues" translatable="false">
+ <item>@string/pref_hdr_mode_value_sensor</item>
+ <item>@string/pref_hdr_mode_value_multi_frame</item>
+ </string-array>
+
</resources>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 620b70e42..2c93a7352 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -687,5 +687,19 @@
<!-- toast message for storage location switch -->
<string name="on_switch_save_path_to_sdcard">Internal storage space is not enough - switched save path to SD card</string>
+
+ <string name="pref_camera_hdr_mode_default">hdr-mode-sensor</string>
+
+ <!-- Settings screen, Selectable HDR mode title -->
+ <string name="pref_camera_hdr_mode_title">HDR Mode</string>
+
+ <!-- Settings screen, Selectable HDR mode radio button choices -->
+ <string name="pref_camera_hdr_mode_entry_sensor">Sensor HDR</string>
+ <string name="pref_camera_hdr_mode_entry_multi_frame">Multi-frame HDR</string>
+
+ <!-- HDR mode entry values. Do not translate. -->
+ <string name="pref_hdr_mode_value_sensor">hdr-mode-sensor</string>
+ <string name="pref_hdr_mode_value_multi_frame">hdr-mode-multiframe</string>
+
</resources>
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 02512ef7d..ab1e340f8 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -256,4 +256,11 @@
camera:title="@string/pref_camera_auto_hdr_title"
camera:entries="@array/pref_camera_auto_hdr_entries"
camera:entryValues="@array/pref_camera_auto_hdr_entryvalues" />
+
+ <ListPreference
+ camera:key="pref_camera_hdr_mode_key"
+ camera:defaultValue="@string/pref_camera_hdr_mode_default"
+ camera:title="@string/pref_camera_hdr_mode_title"
+ camera:entries="@array/pref_camera_hdr_mode_entries"
+ camera:entryValues="@array/pref_camera_hdr_mode_entryvalues" />
</PreferenceGroup>