• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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
22        <PreferenceScreen
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" />
27        </PreferenceScreen>
28
29        <SwitchPreference
30                android:key="auto_brightness"
31                android:title="@string/auto_brightness_title"
32                settings:keywords="@string/keywords_display_auto_brightness"
33                android:summary="@string/auto_brightness_summary" />
34
35        <!-- Hide night mode for now
36        <ListPreference
37            android:key="night_mode"
38            android:title="@string/night_mode_title"
39            settings:keywords="@string/keywords_display_night_mode"
40            android:summary="@string/night_mode_summary"
41            android:entries="@array/night_mode_entries"
42            android:entryValues="@array/night_mode_values" /> -->
43
44        <com.android.settingslib.RestrictedPreference
45                android:key="wallpaper"
46                android:title="@string/wallpaper_settings_title"
47                settings:keywords="@string/keywords_display_wallpaper"
48                android:fragment="com.android.settings.WallpaperTypeSettings"
49                settings:useAdminDisabledSummary="true" />
50
51        <com.android.settings.TimeoutListPreference
52                android:key="screen_timeout"
53                android:title="@string/screen_timeout"
54                android:summary="@string/screen_timeout_summary"
55                android:entries="@array/screen_timeout_entries"
56                android:entryValues="@array/screen_timeout_values" />
57
58        <SwitchPreference
59                android:key="camera_gesture"
60                android:title="@string/camera_gesture_title"
61                android:summary="@string/camera_gesture_desc" />
62
63        <SwitchPreference
64                android:key="camera_double_tap_power_gesture"
65                android:title="@string/camera_double_tap_power_gesture_title"
66                android:summary="@string/camera_double_tap_power_gesture_desc" />
67
68        <PreferenceScreen
69                android:key="screensaver"
70                android:title="@string/screensaver_settings_title"
71                android:fragment="com.android.settings.DreamSettings" />
72
73        <SwitchPreference
74                android:key="lift_to_wake"
75                android:title="@string/lift_to_wake_title" />
76
77        <SwitchPreference
78                android:key="doze"
79                android:title="@string/doze_title"
80                android:summary="@string/doze_summary" />
81
82        <SwitchPreference
83                android:key="tap_to_wake"
84                android:title="@string/tap_to_wake"
85                android:summary="@string/tap_to_wake_summary" />
86
87        <PreferenceScreen
88                android:key="font_size"
89                android:title="@string/title_font_size"
90                android:fragment="com.android.settings.accessibility.ToggleFontSizePreferenceFragment"
91                settings:keywords="@string/keywords_display_font_size" />
92
93        <com.android.settings.display.ScreenZoomPreference
94                android:key="screen_zoom"
95                android:title="@string/screen_zoom_title"
96                settings:keywords="@string/screen_zoom_keywords" />
97
98        <DropDownPreference
99                android:key="auto_rotate"
100                android:summary="%s"
101                android:title="@string/display_auto_rotate_title" />
102
103        <PreferenceScreen
104                android:key="wifi_display"
105                android:title="@string/wifi_display_settings_title"
106                settings:keywords="@string/keywords_display_cast_screen"
107                android:fragment="com.android.settings.wfd.WifiDisplaySettings" />
108
109        <DropDownPreference
110                android:key="vr_display_pref"
111                android:summary="%s"
112                android:title="@string/display_vr_pref_title" />
113
114</PreferenceScreen>
115