diff options
author | weijiew <weijiew@codeaurora.org> | 2017-02-20 14:25:22 +0800 |
---|---|---|
committer | weijiew <weijiew@codeaurora.org> | 2017-03-01 18:00:13 +0800 |
commit | 0160260eb1991093e6961c63c7a72bd4b80c7589 (patch) | |
tree | f05b0c886a9271a18b369f08c2061962230d9e26 /res/xml/setting_menu_preferences.xml | |
parent | 727fdda2c1d3db4cc107825f8e6ab114f60b7064 (diff) | |
download | android_packages_apps_Snap-0160260eb1991093e6961c63c7a72bd4b80c7589.tar.gz android_packages_apps_Snap-0160260eb1991093e6961c63c7a72bd4b80c7589.tar.bz2 android_packages_apps_Snap-0160260eb1991093e6961c63c7a72bd4b80c7589.zip |
SnapdragonCamera: Add zoom option to developer option for camera2
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.
CRs-Fixed: 2008116
Change-Id: Ie459dbbb28051d49f8e4951d6adb112d03cf22f6
Diffstat (limited to 'res/xml/setting_menu_preferences.xml')
-rw-r--r-- | res/xml/setting_menu_preferences.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml index d7813102a..3c311245b 100644 --- a/res/xml/setting_menu_preferences.xml +++ b/res/xml/setting_menu_preferences.xml @@ -338,5 +338,14 @@ android:layout="@layout/preference" android:summary="%s" android:title="@string/pref_camera2_saveraw_title" /> + + <ListPreference + android:key="pref_camera2_zoom_key" + android:defaultValue="@string/pref_camera_zoom_default" + android:title="@string/pref_camera_zoom_title" + android:summary="%s" + android:entries="@array/pref_camera_zoom_entries" + android:entryValues="@array/pref_camera_zoom_entryvalues" /> + </PreferenceCategory> </PreferenceScreen> |