summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2017-02-02 17:22:10 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-19 23:02:58 -0800
commitf9b1301938574ac8236cff60d668dff28ac3f01e (patch)
tree5f8d16bcf152fb725abab3cbedb143e361d28c43 /res/xml
parent3196565b3091f36a00428c0509c2bfd959c84b85 (diff)
downloadandroid_packages_apps_Snap-f9b1301938574ac8236cff60d668dff28ac3f01e.tar.gz
android_packages_apps_Snap-f9b1301938574ac8236cff60d668dff28ac3f01e.tar.bz2
android_packages_apps_Snap-f9b1301938574ac8236cff60d668dff28ac3f01e.zip
SnapdragonCamera: Add zoom option to developer option
For automation testing, we need a way to adjust the zoom without using the pinch gesture. Therefore, adding zoom option preference to the developer option. Change-Id: I37f8c1b4f51682cb398d0a5f779f45128bdc19ec
Diffstat (limited to 'res/xml')
-rwxr-xr-xres/xml/camera_preferences.xml8
-rw-r--r--res/xml/video_preferences.xml6
2 files changed, 14 insertions, 0 deletions
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index ac723f92f..dc73d10da 100755
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -408,4 +408,12 @@
camera:title="@string/pref_camera2_camera2_title"
camera:entries="@array/pref_camera2_camera2_entries"
camera:entryValues="@array/pref_camera2_camera2_entryvalues" />
+
+ <ListPreference
+ camera:key="pref_camera_zoom_key"
+ camera:defaultValue="@string/pref_camera_zoom_default"
+ camera:title="@string/pref_camera_zoom_title"
+ camera:entries="@array/pref_camera_zoom_entries"
+ camera:entryValues="@array/pref_camera_zoom_entryvalues" />
+
</PreferenceGroup>
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 2d9e2fbc8..3fafddda7 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -186,4 +186,10 @@
camera:title="@string/pref_camera_video_rotation_title"
camera:entries="@array/pref_camera_video_rotation_entries"
camera:entryValues="@array/pref_camera_video_rotation_entryvalues" />
+ <ListPreference
+ camera:key="pref_camera_zoom_key"
+ camera:defaultValue="@string/pref_camera_zoom_default"
+ camera:title="@string/pref_camera_zoom_title"
+ camera:entries="@array/pref_camera_zoom_entries"
+ camera:entryValues="@array/pref_camera_zoom_entryvalues" />
</PreferenceGroup>