diff options
author | Ivan Evlogiev <ivanevlogiev@codeaurora.org> | 2014-08-14 11:47:07 +0300 |
---|---|---|
committer | Leena Winterrowd <lenhardw@codeaurora.org> | 2014-08-21 16:43:23 -0700 |
commit | 73c0fb77aed0286104503971020f44bdc672f6d0 (patch) | |
tree | 74154fa6f4cc40a57a5f3f53d1e33edd9b9d5374 /res | |
parent | de52966826fef4f602215295d8ed8fe60184eef7 (diff) | |
download | android_packages_apps_Snap-73c0fb77aed0286104503971020f44bdc672f6d0.tar.gz android_packages_apps_Snap-73c0fb77aed0286104503971020f44bdc672f6d0.tar.bz2 android_packages_apps_Snap-73c0fb77aed0286104503971020f44bdc672f6d0.zip |
SnapdragonCamera: Add HDR mode menu selection
- HDR mode can be sensor (default) or multi-frame
Change-Id: I4513c52e9050d66e25d70ed8f484637dc75c6196
Diffstat (limited to 'res')
-rw-r--r-- | res/values/qcomarrays.xml | 11 | ||||
-rw-r--r-- | res/values/qcomstrings.xml | 14 | ||||
-rw-r--r-- | res/xml/camera_preferences.xml | 7 |
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> |