Jason Monk | 295a337 | 2015-05-11 16:57:15 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 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" |
Jason Monk | caf3762 | 2015-08-18 12:33:50 -0400 | [diff] [blame] | 18 | xmlns:sysui="http://schemas.android.com/apk/res-auto" |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 19 | android:title="@string/system_ui_tuner"> |
Jason Monk | 295a337 | 2015-05-11 16:57:15 -0400 | [diff] [blame] | 20 | |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 21 | <PreferenceScreen |
Jason Monk | 87ccd55 | 2015-12-11 21:39:54 -0500 | [diff] [blame] | 22 | android:key="status_bar" |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 23 | android:title="@string/status_bar" > |
| 24 | |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 25 | <com.android.systemui.tuner.StatusBarSwitch |
| 26 | android:key="rotate" |
| 27 | android:title="@string/status_bar_settings_auto_rotation" /> |
| 28 | |
| 29 | <com.android.systemui.tuner.StatusBarSwitch |
| 30 | android:key="headset" |
| 31 | android:title="@string/headset" /> |
| 32 | |
| 33 | <com.android.systemui.tuner.StatusBarSwitch |
| 34 | android:key="managed_profile" |
| 35 | android:title="@string/status_bar_work" /> |
| 36 | |
| 37 | <!-- ime --> |
| 38 | <!-- sync_failing --> |
| 39 | <!-- sync_active --> |
| 40 | |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 41 | <com.android.systemui.tuner.StatusBarSwitch |
| 42 | android:key="cast" |
| 43 | android:title="@string/quick_settings_cast_title" /> |
| 44 | |
| 45 | <com.android.systemui.tuner.StatusBarSwitch |
| 46 | android:key="hotspot" |
| 47 | android:title="@string/quick_settings_hotspot_label" /> |
| 48 | |
| 49 | <com.android.systemui.tuner.StatusBarSwitch |
| 50 | android:key="bluetooth" |
| 51 | android:title="@string/quick_settings_bluetooth_label" /> |
| 52 | |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 53 | <!-- nfc --> |
| 54 | <!-- tty --> |
| 55 | <!-- speakerphone --> |
| 56 | |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 57 | <com.android.systemui.tuner.StatusBarSwitch |
| 58 | android:key="zen" |
| 59 | android:title="@string/quick_settings_dnd_label" /> |
| 60 | |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 61 | <!-- mute --> |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 62 | |
| 63 | <com.android.systemui.tuner.StatusBarSwitch |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 64 | android:key="volume" |
| 65 | android:title="@*android:string/volume_unknown" /> |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 66 | |
| 67 | <com.android.systemui.tuner.StatusBarSwitch |
| 68 | android:key="wifi" |
| 69 | android:title="@string/quick_settings_wifi_label" /> |
| 70 | |
| 71 | <com.android.systemui.tuner.StatusBarSwitch |
| 72 | android:key="ethernet" |
| 73 | android:title="@string/status_bar_ethernet" /> |
| 74 | |
| 75 | <com.android.systemui.tuner.StatusBarSwitch |
| 76 | android:key="mobile" |
| 77 | android:title="@string/quick_settings_cellular_detail_title" /> |
| 78 | |
| 79 | <com.android.systemui.tuner.StatusBarSwitch |
| 80 | android:key="airplane" |
| 81 | android:title="@string/status_bar_airplane" /> |
| 82 | |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 83 | <!-- other weird signal stuff --> |
| 84 | |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 85 | <com.android.systemui.tuner.BatteryPreference |
| 86 | android:title="@string/battery" |
| 87 | android:summary="%s" |
| 88 | android:entries="@array/battery_options" /> |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 89 | |
| 90 | <com.android.systemui.tuner.StatusBarSwitch |
| 91 | android:key="alarm_clock" |
| 92 | android:title="@string/status_bar_alarm" /> |
| 93 | |
| 94 | <!-- secure --> |
| 95 | |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 96 | <com.android.systemui.tuner.ClockPreference |
| 97 | android:title="@string/tuner_time" |
| 98 | android:summary="%s" |
| 99 | android:entries="@array/clock_options" /> |
Jason Monk | 3e18987 | 2016-01-12 09:10:34 -0500 | [diff] [blame] | 100 | |
Jason Monk | 3b23007 | 2015-05-29 11:11:29 -0400 | [diff] [blame] | 101 | </PreferenceScreen> |
| 102 | |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 103 | <PreferenceScreen |
| 104 | android:key="volume_and_do_not_disturb" |
| 105 | android:title="@string/volume_and_do_not_disturb"> |
| 106 | |
Jason Monk | 5732df4 | 2016-02-24 16:24:55 -0500 | [diff] [blame] | 107 | <!-- Action for this is |
| 108 | MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_PANEL --> |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 109 | <com.android.systemui.tuner.TunerSwitch |
| 110 | android:key="sysui_show_full_zen" |
Jason Monk | 5732df4 | 2016-02-24 16:24:55 -0500 | [diff] [blame] | 111 | android:title="@string/tuner_full_zen_title" |
| 112 | sysui:metricsAction="314" /> |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 113 | |
Jason Monk | 5732df4 | 2016-02-24 16:24:55 -0500 | [diff] [blame] | 114 | <!-- Action for this is |
| 115 | MetricsConstants.ACTION_TUNER_DO_NOT_DISTURB_VOLUME_SHORTCUT --> |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 116 | <com.android.systemui.tuner.TunerSwitch |
| 117 | android:key="sysui_volume_down_silent,sysui_volume_up_silent" |
| 118 | android:title="@string/volume_dnd_silent" |
Jason Monk | 5732df4 | 2016-02-24 16:24:55 -0500 | [diff] [blame] | 119 | sysui:defValue="true" |
| 120 | sysui:metricsAction="315" /> |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 121 | |
| 122 | </PreferenceScreen> |
| 123 | |
Winson Chung | 5cd26ff | 2016-10-24 11:50:44 -0700 | [diff] [blame] | 124 | <PreferenceScreen |
| 125 | android:key="picture_in_picture" |
| 126 | android:title="@string/picture_in_picture"> |
| 127 | |
| 128 | <com.android.systemui.tuner.TunerSwitch |
| 129 | android:key="pip_swipe_to_dismiss" |
| 130 | android:title="@string/pip_swipe_to_dismiss_title" |
| 131 | android:summary="@string/pip_swipe_to_dismiss_summary" |
| 132 | sysui:defValue="true" /> |
| 133 | |
| 134 | <com.android.systemui.tuner.TunerSwitch |
| 135 | android:key="pip_drag_to_dismiss" |
| 136 | android:title="@string/pip_drag_to_dismiss_title" |
| 137 | android:summary="@string/pip_drag_to_dismiss_summary" |
| 138 | sysui:defValue="true" /> |
| 139 | |
Winson Chung | 15504af | 2016-11-02 18:11:36 -0700 | [diff] [blame] | 140 | <com.android.systemui.tuner.TunerSwitch |
| 141 | android:key="pip_tap_through" |
| 142 | android:title="@string/pip_tap_through_title" |
| 143 | android:summary="@string/pip_tap_through_summary" |
| 144 | sysui:defValue="false" /> |
| 145 | |
Winson Chung | dff5c08 | 2016-11-02 17:28:03 -0700 | [diff] [blame] | 146 | <com.android.systemui.tuner.TunerSwitch |
| 147 | android:key="pip_snap_mode_edge" |
| 148 | android:title="@string/pip_snap_mode_edge_title" |
| 149 | android:summary="@string/pip_snap_mode_edge_summary" |
| 150 | sysui:defValue="false" /> |
| 151 | |
Winson Chung | fa705378 | 2016-11-08 15:45:10 -0800 | [diff] [blame] | 152 | <com.android.systemui.tuner.TunerSwitch |
| 153 | android:key="pip_allow_minimize" |
| 154 | android:title="@string/pip_allow_minimize_title" |
| 155 | android:summary="@string/pip_allow_minimize_summary" |
| 156 | sysui:defValue="false" /> |
| 157 | |
Winson Chung | 5cd26ff | 2016-10-24 11:50:44 -0700 | [diff] [blame] | 158 | </PreferenceScreen> |
| 159 | |
Adrian Roos | ebea7a7 | 2016-10-26 12:51:26 -0700 | [diff] [blame] | 160 | <PreferenceScreen |
| 161 | android:key="doze" |
| 162 | android:title="@string/tuner_doze"> |
| 163 | |
| 164 | <com.android.systemui.tuner.TunerSwitch |
| 165 | android:key="doze_always_on" |
| 166 | android:title="@string/tuner_doze_always_on" |
| 167 | sysui:defValue="false" /> |
| 168 | |
| 169 | </PreferenceScreen> |
| 170 | |
Jason Monk | 72195a0 | 2016-02-24 13:01:53 -0500 | [diff] [blame] | 171 | <!-- |
Jason Monk | 8816dff | 2016-02-09 21:50:36 -0500 | [diff] [blame] | 172 | <Preference |
| 173 | android:key="nav_bar" |
| 174 | android:title="@string/nav_bar" |
| 175 | android:fragment="com.android.systemui.tuner.NavBarTuner" /> |
Jason Monk | 72195a0 | 2016-02-24 13:01:53 -0500 | [diff] [blame] | 176 | --> |
Winson | c742f97 | 2015-11-12 11:32:21 -0800 | [diff] [blame] | 177 | |
Julia Reynolds | 4d920ff | 2016-04-06 20:31:05 -0400 | [diff] [blame] | 178 | <Preference |
| 179 | android:key="other" |
| 180 | android:title="@string/other" |
| 181 | android:fragment="com.android.systemui.tuner.OtherPrefs" /> |
Winson | c742f97 | 2015-11-12 11:32:21 -0800 | [diff] [blame] | 182 | |
Jason Monk | ef0d34d | 2016-08-23 14:41:05 -0400 | [diff] [blame] | 183 | <Preference |
| 184 | android:key="plugins" |
| 185 | android:title="@string/plugins" |
| 186 | android:fragment="com.android.systemui.tuner.PluginFragment" /> |
| 187 | |
Jason Monk | fe7c91b | 2015-08-13 15:42:28 -0400 | [diff] [blame] | 188 | <!-- Warning, this goes last. --> |
Jason Monk | 431ad73 | 2015-07-16 08:58:15 -0400 | [diff] [blame] | 189 | <Preference |
| 190 | android:summary="@string/tuner_persistent_warning" |
| 191 | android:selectable="false" /> |
| 192 | |
Jason Monk | 295a337 | 2015-05-11 16:57:15 -0400 | [diff] [blame] | 193 | </PreferenceScreen> |