Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 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:settings="http://schemas.android.com/apk/res/com.android.settings" |
| 19 | android:title="@string/display_settings" |
| 20 | settings:keywords="@string/keywords_display"> |
| 21 | |
Fan Zhang | be2ac27 | 2016-10-17 10:16:04 -0700 | [diff] [blame] | 22 | <Preference |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 23 | android:key="brightness" |
| 24 | android:title="@string/brightness" |
| 25 | settings:keywords="@string/keywords_display_brightness_level"> |
| 26 | <intent android:action="android.intent.action.SHOW_BRIGHTNESS_DIALOG" /> |
Fan Zhang | be2ac27 | 2016-10-17 10:16:04 -0700 | [diff] [blame] | 27 | </Preference> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 28 | |
| 29 | <com.android.settingslib.RestrictedPreference |
| 30 | android:key="wallpaper" |
| 31 | android:title="@string/wallpaper_settings_title" |
| 32 | settings:keywords="@string/keywords_display_wallpaper" |
| 33 | settings:useAdminDisabledSummary="true" > |
| 34 | <intent |
| 35 | android:targetPackage="@string/config_wallpaper_picker_package" |
| 36 | android:targetClass="@string/config_wallpaper_picker_class" /> |
| 37 | </com.android.settingslib.RestrictedPreference> |
| 38 | |
| 39 | <com.android.settings.display.NightDisplayPreference |
| 40 | android:key="night_display" |
| 41 | android:title="@string/night_display_title" |
| 42 | android:fragment="com.android.settings.display.NightDisplaySettings" |
Fan Zhang | 829faf6 | 2016-12-20 09:48:33 -0800 | [diff] [blame] | 43 | settings:widgetLayout="@null" |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 44 | settings:keywords="@string/keywords_display_night_display" /> |
| 45 | |
| 46 | <com.android.settings.TimeoutListPreference |
| 47 | android:key="screen_timeout" |
| 48 | android:title="@string/screen_timeout" |
| 49 | android:summary="@string/screen_timeout_summary" |
| 50 | android:entries="@array/screen_timeout_entries" |
| 51 | android:entryValues="@array/screen_timeout_values" /> |
| 52 | |
| 53 | <DropDownPreference |
| 54 | android:key="auto_rotate" |
| 55 | android:summary="%s" |
| 56 | android:title="@string/display_auto_rotate_title" /> |
| 57 | |
| 58 | <SwitchPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 59 | android:key="auto_brightness" |
| 60 | android:title="@string/auto_brightness_title" |
| 61 | settings:keywords="@string/keywords_display_auto_brightness" |
| 62 | android:summary="@string/auto_brightness_summary" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 63 | |
Fan Zhang | 1c118b5 | 2016-12-09 13:04:24 -0800 | [diff] [blame] | 64 | <Preference |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 65 | android:key="font_size" |
| 66 | android:title="@string/title_font_size" |
| 67 | android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment" |
| 68 | settings:keywords="@string/keywords_display_font_size" /> |
| 69 | |
| 70 | <com.android.settings.display.ScreenZoomPreference |
| 71 | android:key="screen_zoom" |
| 72 | android:title="@string/screen_zoom_title" |
| 73 | settings:keywords="@string/screen_zoom_keywords" /> |
| 74 | |
Fan Zhang | 1c118b5 | 2016-12-09 13:04:24 -0800 | [diff] [blame] | 75 | <Preference |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 76 | android:key="screensaver" |
| 77 | android:title="@string/screensaver_settings_title" |
| 78 | android:fragment="com.android.settings.DreamSettings" /> |
| 79 | |
| 80 | <!-- Hide night mode for now |
| 81 | <ListPreference |
| 82 | android:key="night_mode" |
| 83 | android:title="@string/night_mode_title" |
| 84 | settings:keywords="@string/keywords_display_night_mode" |
| 85 | android:summary="@string/night_mode_summary" |
| 86 | android:entries="@array/night_mode_entries" |
| 87 | android:entryValues="@array/night_mode_values" /> --> |
| 88 | |
| 89 | <SwitchPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 90 | android:key="camera_gesture" |
| 91 | android:title="@string/camera_gesture_title" |
| 92 | android:summary="@string/camera_gesture_desc" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 93 | |
| 94 | <SwitchPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 95 | android:key="lift_to_wake" |
| 96 | android:title="@string/lift_to_wake_title" /> |
| 97 | |
| 98 | <Preference |
| 99 | android:key="gesture_double_tap_screen" |
| 100 | android:title="@string/ambient_display_title" |
| 101 | android:fragment="com.android.settings.gestures.DoubleTapScreenSettings"/> |
| 102 | |
| 103 | <Preference |
| 104 | android:key="gesture_pick_up" |
| 105 | android:title="@string/ambient_display_pickup_title" |
| 106 | android:fragment="com.android.settings.gestures.PickupGestureSettings"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 107 | |
| 108 | <SwitchPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 109 | android:key="doze" |
| 110 | android:title="@string/doze_title" |
| 111 | android:summary="@string/doze_summary" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 112 | |
| 113 | <SwitchPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 114 | android:key="tap_to_wake" |
| 115 | android:title="@string/tap_to_wake" |
| 116 | android:summary="@string/tap_to_wake_summary" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 117 | |
Jason Monk | 6324cff | 2017-01-25 10:34:29 -0500 | [diff] [blame] | 118 | <ListPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 119 | android:key="theme" |
| 120 | android:title="@string/device_theme" |
| 121 | android:summary="%s" /> |
Jason Monk | 6324cff | 2017-01-25 10:34:29 -0500 | [diff] [blame] | 122 | |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 123 | <DropDownPreference |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame^] | 124 | android:key="vr_display_pref" |
| 125 | android:summary="%s" |
| 126 | android:title="@string/display_vr_pref_title" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 127 | |
| 128 | </PreferenceScreen> |