1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright 2019 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:app="http://schemas.android.com/apk/res-auto"> 19 20 <ListPreference 21 android:id="@+id/list_single_test_type" 22 android:defaultValue="PHOTO" 23 android:entries="@array/array_single_test_types" 24 android:entryValues="@array/array_single_test_type_values" 25 android:key="@string/settings_single_test_type_key" 26 android:summary="%s" 27 android:title="@string/settings_single_test_type_title" 28 app:iconSpaceReserved="false" /> 29 30 <ListPreference 31 android:id="@+id/list_single_test_api" 32 android:defaultValue="Camera2" 33 android:entries="@array/array_settings_api" 34 android:entryValues="@array/array_settings_api" 35 android:key="@string/settings_single_test_api_key" 36 android:summary="%s" 37 android:title="@string/settings_single_test_api_title" 38 app:iconSpaceReserved="false" /> 39 40 <ListPreference 41 android:id="@+id/list_single_test_focus" 42 android:defaultValue="Auto" 43 android:entries="@array/array_settings_focus" 44 android:entryValues="@array/array_settings_focus" 45 android:key="@string/settings_single_test_focus_key" 46 android:summary="%s" 47 android:title="@string/settings_single_test_focus_title" 48 app:iconSpaceReserved="false" /> 49 50 <ListPreference 51 android:id="@+id/list_single_test_imagesize" 52 android:defaultValue="Max" 53 android:entries="@array/array_settings_imagesize" 54 android:entryValues="@array/array_settings_imagesize" 55 android:key="@string/settings_single_test_imagesize_key" 56 android:summary="%s" 57 android:title="@string/settings_single_test_imagesize_title" 58 app:iconSpaceReserved="false" /> 59 60 <ListPreference 61 android:id="@+id/list_single_test_camera" 62 android:key="@string/settings_single_test_camera_key" 63 android:summary="%s" 64 android:title="@string/settings_single_test_camera_title" 65 app:iconSpaceReserved="false" /> 66 67 <ListPreference 68 android:id="@+id/list_numtests" 69 android:defaultValue="30" 70 android:entries="@array/array_numtests" 71 android:entryValues="@array/array_numtests" 72 android:key="@string/settings_numtests_key" 73 android:summary="%s" 74 android:title="@string/settings_numtests_title" 75 app:iconSpaceReserved="false" /> 76 <!-- android:summary="@string/settings_numtests_summary" --> 77 <!-- android:summary="@string/settings_previewbuffer_summary" --> 78 79 <ListPreference 80 android:id="@+id/list_previewbuffer" 81 android:defaultValue="1500" 82 android:entries="@array/array_previewbuffer" 83 android:entryValues="@array/array_previewbuffer" 84 android:key="@string/settings_previewbuffer_key" 85 android:summary="%s" 86 android:title="@string/settings_previewbuffer_title" 87 app:iconSpaceReserved="false" /> 88 89 <CheckBoxPreference 90 android:id="@+id/checkbox_autodelete" 91 android:defaultValue="true" 92 android:key="@string/settings_autodelete_key" 93 android:summaryOff="@string/settings_autodelete_summary_off" 94 android:summaryOn="@string/settings_autodelete_summary" 95 android:title="@string/settings_autodelete_title" 96 app:iconSpaceReserved="false" /> 97 98</PreferenceScreen>