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" |
Fan Zhang | 74c61d1 | 2017-11-17 16:49:54 -0800 | [diff] [blame] | 19 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Edgar Wang | 77de405 | 2020-02-14 17:58:38 +0800 | [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" |
Edgar Wang | 77de405 | 2020-02-14 17:58:38 +0800 | [diff] [blame] | 22 | settings:keywords="@string/keywords_display" |
Yi Jiang | ef851e8 | 2021-02-22 00:59:11 -0800 | [diff] [blame] | 23 | settings:initialExpandedChildrenCount="6"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 24 | |
yuemingw | 68b0320 | 2018-01-10 20:59:43 +0000 | [diff] [blame] | 25 | <com.android.settingslib.RestrictedPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 26 | android:key="brightness" |
| 27 | android:title="@string/brightness" |
yuemingw | 68b0320 | 2018-01-10 20:59:43 +0000 | [diff] [blame] | 28 | settings:keywords="@string/keywords_display_brightness_level" |
| 29 | settings:useAdminDisabledSummary="true" |
| 30 | settings:userRestriction="no_config_brightness"> |
| 31 | <intent android:action="com.android.intent.action.SHOW_BRIGHTNESS_DIALOG" /> |
| 32 | </com.android.settingslib.RestrictedPreference> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 33 | |
Jay Aliomer | a377b5c | 2019-10-24 13:42:38 -0400 | [diff] [blame] | 34 | <com.android.settings.display.darkmode.DarkModePreference |
| 35 | android:key="dark_ui_mode" |
| 36 | android:title="@string/dark_ui_mode" |
| 37 | android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment" |
| 38 | android:widgetLayout="@null" |
| 39 | settings:widgetLayout="@null" |
Tsung-Mao Fang | ae9dc54 | 2020-05-05 21:08:37 +0800 | [diff] [blame] | 40 | settings:controller="com.android.settings.display.DarkUIPreferenceController" |
| 41 | settings:keywords="@string/keywords_dark_ui_mode"/> |
Jay Aliomer | a377b5c | 2019-10-24 13:42:38 -0400 | [diff] [blame] | 42 | |
Tsung-Mao Fang | 010ab29 | 2021-01-05 17:49:56 +0800 | [diff] [blame] | 43 | <com.android.settings.widget.PrimarySwitchPreference |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 44 | android:key="night_display" |
| 45 | android:title="@string/night_display_title" |
| 46 | android:fragment="com.android.settings.display.NightDisplaySettings" |
Tsung-Mao Fang | 010ab29 | 2021-01-05 17:49:56 +0800 | [diff] [blame] | 47 | settings:controller="com.android.settings.display.NightDisplayPreferenceController" |
| 48 | settings:keywords="@string/keywords_display_night_display"/> |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 49 | |
Fan Zhang | 89f668c | 2018-04-10 13:08:22 -0700 | [diff] [blame] | 50 | <Preference |
| 51 | android:key="auto_brightness_entry" |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 52 | android:title="@string/auto_brightness_title" |
Fan Zhang | b0eab98 | 2018-07-10 11:25:18 -0700 | [diff] [blame] | 53 | android:summary="@string/summary_placeholder" |
Fan Zhang | 89f668c | 2018-04-10 13:08:22 -0700 | [diff] [blame] | 54 | android:fragment="com.android.settings.display.AutoBrightnessSettings" |
tmfang | e4753a3 | 2019-04-18 16:53:59 +0800 | [diff] [blame] | 55 | settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"/> |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 56 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 57 | <com.android.settingslib.RestrictedPreference |
| 58 | android:key="wallpaper" |
| 59 | android:title="@string/wallpaper_settings_title" |
| 60 | settings:keywords="@string/keywords_display_wallpaper" |
Fan Zhang | 9ce4a1f | 2018-08-15 12:55:56 -0700 | [diff] [blame] | 61 | settings:useAdminDisabledSummary="true" |
Fan Zhang | 0023558 | 2018-10-29 15:42:06 -0700 | [diff] [blame] | 62 | settings:controller="com.android.settings.display.WallpaperPreferenceController"> |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 63 | </com.android.settingslib.RestrictedPreference> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 64 | |
Andrew Sapperstein | fedae39 | 2017-07-07 11:02:00 -0700 | [diff] [blame] | 65 | <!-- Cross-listed item, if you change this, also change it in power_usage_summary.xml --> |
Yi Jiang | 1110049 | 2020-12-11 15:12:13 -0800 | [diff] [blame] | 66 | <com.android.settingslib.RestrictedPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 67 | android:key="screen_timeout" |
| 68 | android:title="@string/screen_timeout" |
Fan Zhang | cdca63c | 2017-05-05 10:19:52 -0700 | [diff] [blame] | 69 | android:summary="@string/summary_placeholder" |
Yi Jiang | f5d1841 | 2020-09-10 14:26:51 -0700 | [diff] [blame] | 70 | android:fragment="com.android.settings.display.ScreenTimeoutSettings" |
| 71 | settings:controller="com.android.settings.display.ScreenTimeoutPreferenceController" /> |
Alex Salo | bb4e9ce | 2019-01-17 13:54:03 -0800 | [diff] [blame] | 72 | |
Fan Zhang | 670410c | 2017-05-05 17:38:50 -0700 | [diff] [blame] | 73 | <SwitchPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 74 | android:key="auto_rotate" |
Matthew Fritze | 5c5a921 | 2018-03-21 13:46:11 -0700 | [diff] [blame] | 75 | android:title="@string/accelerometer_title" |
LexHuang | 78df73f | 2018-03-23 17:51:54 +0800 | [diff] [blame] | 76 | settings:keywords="@string/keywords_auto_rotate" |
Fan Zhang | 78ea7da | 2018-07-02 13:44:57 -0700 | [diff] [blame] | 77 | settings:controller="com.android.settings.display.AutoRotatePreferenceController" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 78 | |
Romain Guy | 05fa18f | 2017-10-24 21:59:40 +0100 | [diff] [blame] | 79 | <Preference |
Romain Guy | 305f900 | 2017-06-05 18:44:47 -0700 | [diff] [blame] | 80 | android:key="color_mode" |
Romain Guy | 05fa18f | 2017-10-24 21:59:40 +0100 | [diff] [blame] | 81 | android:title="@string/color_mode_title" |
| 82 | android:fragment="com.android.settings.display.ColorModePreferenceFragment" |
Fan Zhang | 7f5692b | 2018-06-08 14:32:04 -0700 | [diff] [blame] | 83 | settings:controller="com.android.settings.display.ColorModePreferenceController" |
Romain Guy | 05fa18f | 2017-10-24 21:59:40 +0100 | [diff] [blame] | 84 | settings:keywords="@string/keywords_color_mode" /> |
Romain Guy | 305f900 | 2017-06-05 18:44:47 -0700 | [diff] [blame] | 85 | |
Christine Franks | a226307 | 2018-12-05 15:35:42 -0800 | [diff] [blame] | 86 | <SwitchPreference |
| 87 | android:key="display_white_balance" |
| 88 | android:title="@string/display_white_balance_title" |
tmfang | 73ff438 | 2019-06-26 17:22:10 +0800 | [diff] [blame] | 89 | android:summary="@string/display_white_balance_summary" |
Christine Franks | a226307 | 2018-12-05 15:35:42 -0800 | [diff] [blame] | 90 | settings:controller="com.android.settings.display.DisplayWhiteBalancePreferenceController" /> |
| 91 | |
Amy Hsu | 7730d30 | 2020-05-11 13:07:33 +0800 | [diff] [blame] | 92 | <SwitchPreference |
| 93 | android:key="peak_refresh_rate" |
| 94 | android:title="@string/peak_refresh_rate_title" |
| 95 | android:summary="@string/peak_refresh_rate_summary" |
| 96 | settings:controller="com.android.settings.display.PeakRefreshRatePreferenceController" /> |
| 97 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 98 | <Preference |
| 99 | android:key="font_size" |
| 100 | android:title="@string/title_font_size" |
Fan Zhang | 9aca4cb | 2018-09-07 17:06:07 -0700 | [diff] [blame] | 101 | android:fragment="com.android.settings.display.ToggleFontSizePreferenceFragment" |
Stanley Wang | ddf547f | 2020-08-05 18:29:54 +0800 | [diff] [blame] | 102 | settings:controller="com.android.settings.display.FontSizePreferenceController" |
| 103 | settings:keywords="@string/keywords_font_size" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 104 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 105 | <com.android.settings.display.ScreenZoomPreference |
Fan Zhang | 57ef92a | 2017-10-27 13:33:48 -0700 | [diff] [blame] | 106 | android:key="display_settings_screen_zoom" |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 107 | android:title="@string/screen_zoom_title" |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 108 | android:fragment="com.android.settings.display.ScreenZoomSettings"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 109 | |
Yoshinori Hirano | 53cfd11 | 2017-10-10 13:57:07 +0900 | [diff] [blame] | 110 | <SwitchPreference |
| 111 | android:key="show_operator_name" |
| 112 | android:title="@string/show_operator_name_title" |
| 113 | android:summary="@string/show_operator_name_summary" /> |
| 114 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 115 | <Preference |
| 116 | android:key="screensaver" |
| 117 | android:title="@string/screensaver_settings_title" |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 118 | android:fragment="com.android.settings.dream.DreamSettings" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 119 | |
Jason Chiu | 32930db | 2019-07-25 16:23:12 +0800 | [diff] [blame] | 120 | <Preference |
Fan Zhang | 30d4d01 | 2018-05-11 17:49:39 -0700 | [diff] [blame] | 121 | android:key="lockscreen_from_display_settings" |
| 122 | android:title="@string/lockscreen_settings_title" |
| 123 | android:fragment="com.android.settings.security.LockscreenDashboardFragment" |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 124 | settings:keywords="@string/keywords_ambient_display_screen" |
Jason Chiu | 32930db | 2019-07-25 16:23:12 +0800 | [diff] [blame] | 125 | settings:controller="com.android.settings.security.screenlock.LockScreenPreferenceController" /> |
Adrian Roos | e349ec3 | 2017-05-25 15:49:35 -0700 | [diff] [blame] | 126 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 127 | <SwitchPreference |
| 128 | android:key="camera_gesture" |
| 129 | android:title="@string/camera_gesture_title" |
| 130 | android:summary="@string/camera_gesture_desc" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 131 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 132 | <SwitchPreference |
| 133 | android:key="lift_to_wake" |
| 134 | android:title="@string/lift_to_wake_title" /> |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame] | 135 | |
Adrian Roos | 95ff1f4 | 2017-05-10 13:26:25 -0700 | [diff] [blame] | 136 | <SwitchPreference |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 137 | android:key="tap_to_wake" |
| 138 | android:title="@string/tap_to_wake" |
| 139 | android:summary="@string/tap_to_wake_summary" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 140 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 141 | <ListPreference |
| 142 | android:key="theme" |
Lucas Dupin | 74fde3e | 2018-05-22 14:27:40 -0700 | [diff] [blame] | 143 | android:title="@string/device_theme" |
Lucas Dupin | c74969e | 2018-06-25 01:28:04 +0000 | [diff] [blame] | 144 | android:summary="@string/summary_placeholder" /> |
Lucas Dupin | 74fde3e | 2018-05-22 14:27:40 -0700 | [diff] [blame] | 145 | |
Fan Zhang | a0c2c11 | 2017-03-23 13:13:36 -0700 | [diff] [blame] | 146 | <Preference |
| 147 | android:key="vr_display_pref" |
| 148 | android:title="@string/display_vr_pref_title" |
| 149 | android:fragment="com.android.settings.display.VrDisplayPreferencePicker" /> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 150 | |
| 151 | </PreferenceScreen> |