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" |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 22 | settings:keywords="@string/keywords_display"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 23 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 24 | <PreferenceCategory |
| 25 | android:title="@string/category_name_brightness"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 26 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 27 | <com.android.settingslib.RestrictedPreference |
| 28 | android:key="brightness" |
| 29 | android:title="@string/brightness" |
| 30 | settings:keywords="@string/keywords_display_brightness_level" |
| 31 | settings:useAdminDisabledSummary="true" |
| 32 | settings:userRestriction="no_config_brightness"/> |
Jay Aliomer | a377b5c | 2019-10-24 13:42:38 -0400 | [diff] [blame] | 33 | |
Wilson Wu | 9edf797 | 2021-08-27 10:19:56 +0800 | [diff] [blame] | 34 | <com.android.settingslib.PrimarySwitchPreference |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 35 | android:key="auto_brightness_entry" |
| 36 | android:title="@string/auto_brightness_title" |
| 37 | android:fragment="com.android.settings.display.AutoBrightnessSettings" |
| 38 | settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"/> |
| 39 | </PreferenceCategory> |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 40 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 41 | <PreferenceCategory |
| 42 | android:title="@string/category_name_lock_display"> |
Doris Ling | 11b224e | 2017-03-31 13:14:03 -0700 | [diff] [blame] | 43 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 44 | <Preference |
| 45 | android:key="lockscreen_from_display_settings" |
| 46 | android:title="@string/lockscreen_settings_title" |
| 47 | android:fragment="com.android.settings.security.LockscreenDashboardFragment" |
| 48 | settings:keywords="@string/keywords_ambient_display_screen" |
| 49 | settings:controller="com.android.settings.security.screenlock.LockScreenPreferenceController"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 50 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 51 | <com.android.settingslib.RestrictedPreference |
| 52 | android:key="screen_timeout" |
| 53 | android:title="@string/screen_timeout" |
| 54 | android:summary="@string/summary_placeholder" |
| 55 | android:fragment="com.android.settings.display.ScreenTimeoutSettings" |
| 56 | settings:controller="com.android.settings.display.ScreenTimeoutPreferenceController"/> |
| 57 | </PreferenceCategory> |
Alex Salo | bb4e9ce | 2019-01-17 13:54:03 -0800 | [diff] [blame] | 58 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 59 | <PreferenceCategory |
| 60 | android:title="@string/category_name_appearance"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 61 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 62 | <com.android.settings.display.darkmode.DarkModePreference |
| 63 | android:key="dark_ui_mode" |
| 64 | android:title="@string/dark_ui_mode" |
| 65 | android:fragment="com.android.settings.display.darkmode.DarkModeSettingsFragment" |
| 66 | android:widgetLayout="@null" |
| 67 | settings:widgetLayout="@null" |
| 68 | settings:controller="com.android.settings.display.DarkUIPreferenceController" |
| 69 | settings:keywords="@string/keywords_dark_ui_mode"/> |
Romain Guy | 305f900 | 2017-06-05 18:44:47 -0700 | [diff] [blame] | 70 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 71 | <Preference |
Peter_Liang | 5c106ba | 2022-02-15 15:03:12 +0800 | [diff] [blame] | 72 | android:fragment="com.android.settings.accessibility.TextReadingPreferenceFragment" |
| 73 | android:key="text_reading_options" |
| 74 | android:persistent="false" |
| 75 | android:title="@string/accessibility_text_reading_options_title" /> |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 76 | </PreferenceCategory> |
Amy Hsu | 7730d30 | 2020-05-11 13:07:33 +0800 | [diff] [blame] | 77 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 78 | <PreferenceCategory |
| 79 | android:title="@string/category_name_color"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 80 | |
Wilson Wu | 9edf797 | 2021-08-27 10:19:56 +0800 | [diff] [blame] | 81 | <com.android.settingslib.PrimarySwitchPreference |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 82 | android:key="night_display" |
| 83 | android:title="@string/night_display_title" |
| 84 | android:fragment="com.android.settings.display.NightDisplaySettings" |
| 85 | settings:controller="com.android.settings.display.NightDisplayPreferenceController" |
| 86 | settings:keywords="@string/keywords_display_night_display"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 87 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 88 | <Preference |
| 89 | android:key="color_mode" |
| 90 | android:title="@string/color_mode_title" |
| 91 | android:fragment="com.android.settings.display.ColorModePreferenceFragment" |
| 92 | settings:controller="com.android.settings.display.ColorModePreferenceController" |
| 93 | settings:keywords="@string/keywords_color_mode"/> |
| 94 | </PreferenceCategory> |
Yoshinori Hirano | 53cfd11 | 2017-10-10 13:57:07 +0900 | [diff] [blame] | 95 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 96 | <PreferenceCategory |
| 97 | android:title="@string/category_name_display_controls"> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 98 | |
Christian Göllner | ff9065a | 2022-02-17 11:32:54 +0000 | [diff] [blame] | 99 | <!-- |
| 100 | Standard auto-rotation preference that will be shown when device state based |
| 101 | auto-rotation settings are NOT available. |
| 102 | --> |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 103 | <SwitchPreference |
| 104 | android:key="auto_rotate" |
| 105 | android:title="@string/accelerometer_title" |
| 106 | settings:keywords="@string/keywords_auto_rotate" |
| 107 | settings:controller="com.android.settings.display.AutoRotatePreferenceController"/> |
Adrian Roos | e349ec3 | 2017-05-25 15:49:35 -0700 | [diff] [blame] | 108 | |
Christian Göllner | ff9065a | 2022-02-17 11:32:54 +0000 | [diff] [blame] | 109 | <!-- |
| 110 | Auto-rotation preference that will be shown when device state based auto-rotation |
| 111 | settings are available. |
| 112 | --> |
| 113 | <Preference |
| 114 | android:key="device_state_auto_rotate" |
| 115 | android:title="@string/accelerometer_title" |
| 116 | android:fragment="com.android.settings.display.DeviceStateAutoRotateDetailsFragment" |
| 117 | settings:keywords="@string/keywords_auto_rotate" |
| 118 | settings:controller="com.android.settings.display.DeviceStateAutoRotateOverviewController"/> |
| 119 | |
Amy Hsu | 0dea418 | 2022-02-09 13:58:16 +0800 | [diff] [blame^] | 120 | <Preference |
| 121 | android:key="screen_resolution" |
| 122 | android:title="@string/screen_resolution_title" |
| 123 | android:fragment="com.android.settings.display.ScreenResolutionFragment" |
| 124 | settings:keywords="@string/keywords_screen_resolution" |
| 125 | settings:controller="com.android.settings.display.ScreenResolutionController"/> |
| 126 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 127 | <SwitchPreference |
| 128 | android:key="display_white_balance" |
| 129 | android:title="@string/display_white_balance_title" |
| 130 | android:summary="@string/display_white_balance_summary" |
| 131 | settings:controller="com.android.settings.display.DisplayWhiteBalancePreferenceController"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 132 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 133 | <SwitchPreference |
| 134 | android:key="peak_refresh_rate" |
| 135 | android:title="@string/peak_refresh_rate_title" |
| 136 | android:summary="@string/peak_refresh_rate_summary" |
| 137 | settings:controller="com.android.settings.display.PeakRefreshRatePreferenceController"/> |
Andrew Sapperstein | 6138f1a | 2017-03-22 18:00:47 -0700 | [diff] [blame] | 138 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 139 | <SwitchPreference |
| 140 | android:key="show_operator_name" |
| 141 | android:title="@string/show_operator_name_title" |
| 142 | android:summary="@string/show_operator_name_summary"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 143 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 144 | <Preference |
| 145 | android:key="screensaver" |
| 146 | android:title="@string/screensaver_settings_title" |
| 147 | android:fragment="com.android.settings.dream.DreamSettings"/> |
Lucas Dupin | 74fde3e | 2018-05-22 14:27:40 -0700 | [diff] [blame] | 148 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 149 | <SwitchPreference |
| 150 | android:key="camera_gesture" |
| 151 | android:title="@string/camera_gesture_title" |
| 152 | android:summary="@string/camera_gesture_desc"/> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 153 | |
Yanting Yang | c2ac66c | 2021-05-25 22:18:23 +0800 | [diff] [blame] | 154 | <SwitchPreference |
| 155 | android:key="lift_to_wake" |
| 156 | android:title="@string/lift_to_wake_title"/> |
| 157 | |
| 158 | <SwitchPreference |
| 159 | android:key="tap_to_wake" |
| 160 | android:title="@string/tap_to_wake" |
| 161 | android:summary="@string/tap_to_wake_summary"/> |
| 162 | |
| 163 | <ListPreference |
| 164 | android:key="theme" |
| 165 | android:title="@string/device_theme" |
| 166 | android:summary="@string/summary_placeholder"/> |
| 167 | |
| 168 | <Preference |
| 169 | android:key="vr_display_pref" |
| 170 | android:title="@string/display_vr_pref_title" |
| 171 | android:fragment="com.android.settings.display.VrDisplayPreferencePicker"/> |
| 172 | </PreferenceCategory> |
Fan Zhang | 99abc02 | 2016-10-11 14:23:13 -0700 | [diff] [blame] | 173 | </PreferenceScreen> |