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 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 17 | <PreferenceScreen |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" |
Fan Zhang | 823dde5 | 2017-10-26 15:56:41 -0700 | [diff] [blame] | 20 | android:key="display_settings_screen" |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 21 | android:title="@string/display_settings" |
Doris Ling | 8b14a1a | 2017-08-17 14:45:12 -0700 | [diff] [blame] | 22 | settings:keywords="@string/keywords_display" |
| 23 | settings:initialExpandedChildrenCount="4"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 24 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 25 | <Preference |
| 26 | android:key="brightness" |
| 27 | android:title="@string/brightness" |
| 28 | settings:keywords="@string/keywords_display_brightness_level"> |
Doris Ling | 7388f43 | 2017-03-27 13:22:19 -0700 | [diff] [blame] | 29 | <intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG" /> |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 30 | </Preference> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 31 | |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 32 | <com.android.settings.display.NightDisplayPreference |
| 33 | android:key="night_display" |
| 34 | android:title="@string/night_display_title" |
| 35 | android:fragment="com.android.settings.display.NightDisplaySettings" |
Christine Franks | ce6b462 | 2017-05-16 10:12:23 -0700 | [diff] [blame] | 36 | android:widgetLayout="@null" |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 37 | settings:widgetLayout="@null" |
| 38 | settings:keywords="@string/keywords_display_night_display" /> |
| 39 | |
Andrew Sapperstein | fedae39 | 2017-07-07 11:02:00 -0700 | [diff] [blame] | 40 | <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml --> |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 41 | <SwitchPreference |
| 42 | android:key="auto_brightness" |
| 43 | android:title="@string/auto_brightness_title" |
| 44 | settings:keywords="@string/keywords_display_auto_brightness" |
| 45 | android:summary="@string/auto_brightness_summary" /> |
| 46 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 47 | <com.android.settingslib.RestrictedPreference |
| 48 | android:key="wallpaper" |
| 49 | android:title="@string/wallpaper_settings_title" |
| 50 | settings:keywords="@string/keywords_display_wallpaper" |
| 51 | settings:useAdminDisabledSummary="true"> |
| 52 | <intent |
| 53 | android:targetPackage="@string/config_wallpaper_picker_package" |
| 54 | android:targetClass="@string/config_wallpaper_picker_class" /> |
| 55 | </com.android.settingslib.RestrictedPreference> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 56 | |
Andrew Sapperstein | fedae39 | 2017-07-07 11:02:00 -0700 | [diff] [blame] | 57 | <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml --> |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 58 | <com.android.settings.TimeoutListPreference |
| 59 | android:key="screen_timeout" |
| 60 | android:title="@string/screen_timeout" |
Fan Zhang | cdca63c | 2017-05-05 10:19:52 -0700 | [diff] [blame] | 61 | android:summary="@string/summary_placeholder" |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 62 | android:entries="@array/screen_timeout_entries" |
| 63 | android:entryValues="@array/screen_timeout_values" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 64 | |
Fan Zhang | 670410c | 2017-05-05 17:38:50 -0700 | [diff] [blame] | 65 | <SwitchPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 66 | android:key="auto_rotate" |
Fan Zhang | 670410c | 2017-05-05 17:38:50 -0700 | [diff] [blame] | 67 | android:title="@string/accelerometer_title" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 68 | |
Romain Guy | 05fa18f | 2017-10-24 21:59:40 +0100 | [diff] [blame] | 69 | <Preference |
Romain Guy | 305f900 | 2017-06-05 18:44:47 -0700 | [diff] [blame] | 70 | android:key="color_mode" |
Romain Guy | 05fa18f | 2017-10-24 21:59:40 +0100 | [diff] [blame] | 71 | android:title="@string/color_mode_title" |
| 72 | android:fragment="com.android.settings.display.ColorModePreferenceFragment" |
| 73 | settings:keywords="@string/keywords_color_mode" /> |
Romain Guy | 305f900 | 2017-06-05 18:44:47 -0700 | [diff] [blame] | 74 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 75 | <Preference |
| 76 | android:key="font_size" |
| 77 | android:title="@string/title_font_size" |
| 78 | android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment" |
| 79 | settings:keywords="@string/keywords_display_font_size" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 80 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 81 | <com.android.settings.display.ScreenZoomPreference |
Fan Zhang | 57ef92a | 2017-10-27 13:33:48 -0700 | [diff] [blame] | 82 | android:key="display_settings_screen_zoom" |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 83 | android:title="@string/screen_zoom_title" |
Fan Zhang | 57ef92a | 2017-10-27 13:33:48 -0700 | [diff] [blame] | 84 | android:fragment="com.android.settings.display.ScreenZoomSettings" |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 85 | settings:keywords="@string/screen_zoom_keywords" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 86 | |
Yoshinori Hirano | 53cfd11 | 2017-10-10 13:57:07 +0900 | [diff] [blame^] | 87 | <SwitchPreference |
| 88 | android:key="show_operator_name" |
| 89 | android:title="@string/show_operator_name_title" |
| 90 | android:summary="@string/show_operator_name_summary" /> |
| 91 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 92 | <Preference |
| 93 | android:key="screensaver" |
| 94 | android:title="@string/screensaver_settings_title" |
Evan Laird | 227affa | 2017-03-22 11:36:18 -0400 | [diff] [blame] | 95 | android:fragment="com.android.settings.dream.DreamSettings" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 96 | |
Andrew Sapperstein | fedae39 | 2017-07-07 11:02:00 -0700 | [diff] [blame] | 97 | <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml --> |
Adrian Roos | e349ec3 | 2017-05-25 15:49:35 -0700 | [diff] [blame] | 98 | <Preference |
| 99 | android:key="ambient_display" |
| 100 | android:title="@string/ambient_display_screen_title" |
| 101 | android:fragment="com.android.settings.display.AmbientDisplaySettings" /> |
| 102 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 103 | <!-- Hide night mode for now |
| 104 | <ListPreference |
| 105 | android:key="night_mode" |
| 106 | android:title="@string/night_mode_title" |
| 107 | settings:keywords="@string/keywords_display_night_mode" |
| 108 | android:summary="@string/night_mode_summary" |
| 109 | android:entries="@array/night_mode_entries" |
| 110 | android:entryValues="@array/night_mode_values" /> --> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 111 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 112 | <SwitchPreference |
| 113 | android:key="camera_gesture" |
| 114 | android:title="@string/camera_gesture_title" |
| 115 | android:summary="@string/camera_gesture_desc" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 116 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 117 | <SwitchPreference |
| 118 | android:key="lift_to_wake" |
| 119 | android:title="@string/lift_to_wake_title" /> |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame] | 120 | |
Adrian Roos | 95ff1f4 | 2017-05-10 13:26:25 -0700 | [diff] [blame] | 121 | <SwitchPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 122 | android:key="tap_to_wake" |
| 123 | android:title="@string/tap_to_wake" |
| 124 | android:summary="@string/tap_to_wake_summary" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 125 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 126 | <ListPreference |
| 127 | android:key="theme" |
| 128 | android:title="@string/device_theme" |
Fan Zhang | 86d4d51 | 2017-05-05 09:19:13 -0700 | [diff] [blame] | 129 | android:summary="@string/summary_placeholder" /> |
Jason Monk | 6324cff | 2017-01-25 10:34:29 -0500 | [diff] [blame] | 130 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 131 | <Preference |
| 132 | android:key="vr_display_pref" |
| 133 | android:title="@string/display_vr_pref_title" |
| 134 | android:fragment="com.android.settings.display.VrDisplayPreferencePicker" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 135 | |
| 136 | </PreferenceScreen> |