summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/qcomarrays.xml10
-rw-r--r--res/values/qcomstrings.xml10
-rw-r--r--res/xml/camera_preferences.xml8
3 files changed, 28 insertions, 0 deletions
diff --git a/res/values/qcomarrays.xml b/res/values/qcomarrays.xml
index e078477ba..c4c7be482 100644
--- a/res/values/qcomarrays.xml
+++ b/res/values/qcomarrays.xml
@@ -831,5 +831,15 @@
<item>@drawable/ic_settings_filter</item>
<item>@drawable/ic_settings_filter_on</item>
</string-array>
+
+ <string-array name="pref_camera_instant_capture_entries" translatable="true">
+ <item>@string/pref_camera_instant_capture_entry_enable</item>
+ <item>@string/pref_camera_instant_capture_entry_disable</item>
+ </string-array>
+
+ <string-array name="pref_camera_instant_capture_entry_values" translatable="false">
+ <item>@string/pref_camera_instant_capture_value_enable</item>
+ <item>@string/pref_camera_instant_capture_value_disable</item>
+ </string-array>
</resources>
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 94b89a010..e724dbb8c 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -200,6 +200,16 @@
<string name="pref_camera_manual_focus_value_diopter_mode">diopter-mode</string>
<string name="pref_camera_manual_focus_value_off">off</string>
+ <!-- Instant Capture entry -->
+ <string name="pref_camera_instant_capture_title" translatable="true">Instant Capture</string>
+ <string name="pref_camera_instant_capture_entry_enable" translatable="true">Enable</string>
+ <string name="pref_camera_instant_capture_entry_disable" translatable="true">Disable</string>
+
+ <!-- Instant Capture entry values -->
+ <string name="pref_camera_instant_capture_default" translatable="false">0</string>
+ <string name="pref_camera_instant_capture_value_enable" translatable="false">1</string>
+ <string name="pref_camera_instant_capture_value_disable" translatable="false">0</string>
+
<!-- Settings screen, ZSL location dialog choices -->
<string name="pref_camera_zsl_entry_off">Off</string>
<string name="pref_camera_zsl_entry_on">On</string>
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 8a0668fa0..a0d06f59f 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -358,4 +358,12 @@
camera:title="@string/pref_camera_manual_focus_title"
camera:entries="@array/pref_camera_manual_focus_entries"
camera:entryValues="@array/pref_camera_manual_focus_entry_values" />
+
+ <ListPreference
+ camera:key="pref_camera_instant_capture_key"
+ camera:defaultValue="@string/pref_camera_instant_capture_default"
+ camera:title="@string/pref_camera_instant_capture_title"
+ camera:entries="@array/pref_camera_instant_capture_entries"
+ camera:entryValues="@array/pref_camera_instant_capture_entry_values" />
+
</PreferenceGroup>