Joe Onorato | 798ac4c | 2010-05-27 16:39:00 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | ** Copyright 2009, The Android Open Source Project |
| 5 | ** |
Jim Miller | 64fffad | 2012-05-17 17:01:15 -0700 | [diff] [blame] | 6 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ** you may not use this file except in compliance with the License. |
| 8 | ** You may obtain a copy of the License at |
Joe Onorato | 798ac4c | 2010-05-27 16:39:00 -0400 | [diff] [blame] | 9 | ** |
Jim Miller | 64fffad | 2012-05-17 17:01:15 -0700 | [diff] [blame] | 10 | ** http://www.apache.org/licenses/LICENSE-2.0 |
Joe Onorato | 798ac4c | 2010-05-27 16:39:00 -0400 | [diff] [blame] | 11 | ** |
Jim Miller | 64fffad | 2012-05-17 17:01:15 -0700 | [diff] [blame] | 12 | ** Unless required by applicable law or agreed to in writing, software |
| 13 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ** See the License for the specific language governing permissions and |
Joe Onorato | 798ac4c | 2010-05-27 16:39:00 -0400 | [diff] [blame] | 16 | ** limitations under the License. |
| 17 | */ |
| 18 | --> |
| 19 | |
| 20 | <!-- These resources are around just to allow their values to be customized |
| 21 | for different hardware and product builds. --> |
| 22 | <resources> |
Winson Chung | 2dbcf09 | 2018-10-24 13:00:41 -0700 | [diff] [blame] | 23 | <!-- Component to be used as the recents implementation. Must implement the |
| 24 | RecentsImplementation interface. This name is in the ComponentName flattened format |
| 25 | (package/class) --> |
| 26 | <string name="config_recentsComponent" translatable="false">com.android.systemui.recents.OverviewProxyRecentsImpl</string> |
| 27 | |
Joe Onorato | 8595a3d | 2010-11-19 18:12:07 -0800 | [diff] [blame] | 28 | <!-- Whether or not we show the number in the bar. --> |
Daniel Sandler | af08480 | 2011-07-22 13:02:07 -0400 | [diff] [blame] | 29 | <bool name="config_statusBarShowNumber">false</bool> |
Joe Onorato | 8595a3d | 2010-11-19 18:12:07 -0800 | [diff] [blame] | 30 | |
Lucas Dupin | e90fead | 2019-06-12 16:22:41 -0700 | [diff] [blame] | 31 | <!-- For how long the lock screen can be on before the display turns off. --> |
| 32 | <integer name="config_lockScreenDisplayTimeout">10000</integer> |
| 33 | |
Oleksiy Avramchenko | f9fc128 | 2016-10-03 13:11:08 +0200 | [diff] [blame] | 34 | <!-- Vibrator pattern for camera gesture launch. --> |
| 35 | <integer-array translatable="false" name="config_cameraLaunchGestureVibePattern"> |
| 36 | <item>0</item> |
| 37 | <item>400</item> |
| 38 | </integer-array> |
| 39 | |
Daniel Sandler | c26185b | 2012-08-29 15:49:53 -0400 | [diff] [blame] | 40 | <!-- decay duration (from size_max -> size), in ms --> |
| 41 | <integer name="navigation_bar_deadzone_hold">333</integer> |
| 42 | <integer name="navigation_bar_deadzone_decay">333</integer> |
Ji-Hwan Lee | 25eb3d0 | 2014-04-22 12:39:26 +0900 | [diff] [blame] | 43 | |
Matthew Ng | 603b329 | 2018-03-30 17:15:39 -0700 | [diff] [blame] | 44 | <!-- orientation of the dead zone when touches have recently occurred elsewhere on screen --> |
| 45 | <integer name="navigation_bar_deadzone_orientation">0</integer> |
| 46 | |
Brad Hinegardner | 5fbc899 | 2023-05-11 20:59:45 +0000 | [diff] [blame] | 47 | <!-- Whether or not lockscreen shortcuts can be customized --> |
| 48 | <bool name="custom_lockscreen_shortcuts_enabled">false</bool> |
| 49 | |
| 50 | <!-- Whether or not long-pressing on keyguard will display to customize lockscreen --> |
| 51 | <bool name="long_press_keyguard_customize_lockscreen_enabled">false</bool> |
| 52 | |
Daniel Sandler | 25bb8ee | 2012-08-30 17:10:50 -0400 | [diff] [blame] | 53 | <bool name="config_dead_zone_flash">false</bool> |
Michael Jurka | adf0b21 | 2012-09-04 05:15:26 -0700 | [diff] [blame] | 54 | |
Matthew Ng | 3107d99 | 2017-11-21 15:56:19 -0800 | [diff] [blame] | 55 | <!-- Whether to enable dimming navigation buttons when wallpaper is not visible, should be |
| 56 | enabled for OLED devices to reduce/prevent burn in on the navigation bar (because of the |
| 57 | black background and static button placements) and disabled for all other devices to |
| 58 | prevent wasting cpu cycles on the dimming animation --> |
| 59 | <bool name="config_navigation_bar_enable_auto_dim_no_visible_wallpaper">true</bool> |
| 60 | |
Bill Lin | ad15fe33 | 2018-06-13 19:26:15 +0800 | [diff] [blame] | 61 | <!-- The maximum number of tiles in the QuickQSPanel --> |
Michal Brzezinski | 7d5d995 | 2021-07-14 16:10:59 +0100 | [diff] [blame] | 62 | <integer name="quick_qs_panel_max_tiles">4</integer> |
| 63 | |
| 64 | <!-- The maximum number of rows in the QuickQSPanel --> |
| 65 | <integer name="quick_qs_panel_max_rows">2</integer> |
Bill Lin | ad15fe33 | 2018-06-13 19:26:15 +0800 | [diff] [blame] | 66 | |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 67 | <!-- The number of columns in the QuickSettings --> |
Fabian Kozynski | cd41fcd | 2021-04-13 15:31:19 -0400 | [diff] [blame] | 68 | <integer name="quick_settings_num_columns">2</integer> |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 69 | |
Jason Monk | 6573ef2 | 2016-04-06 12:37:18 -0400 | [diff] [blame] | 70 | <!-- The number of rows in the QuickSettings --> |
Fabian Kozynski | cd41fcd | 2021-04-13 15:31:19 -0400 | [diff] [blame] | 71 | <integer name="quick_settings_max_rows">4</integer> |
John Spurlock | 73203eb | 2014-04-15 16:14:46 -0400 | [diff] [blame] | 72 | |
axfordjc | 65fc77cc | 2023-09-11 09:25:51 +0000 | [diff] [blame] | 73 | <!-- Override column number for quick settings. |
| 74 | For now, this value has effect only when flag lockscreen.enable_landscape is enabled. |
| 75 | TODO (b/293252410) - change this comment/resource when flag is enabled --> |
| 76 | <integer name="small_land_lockscreen_quick_settings_num_columns">2</integer> |
| 77 | |
| 78 | <!-- Override row number for quick settings. |
| 79 | For now, this value has effect only when flag lockscreen.enable_landscape is enabled. |
| 80 | TODO (b/293252410) - change this comment/resource when flag is enabled --> |
| 81 | <integer name="small_land_lockscreen_quick_settings_max_rows">2</integer> |
| 82 | |
Michael Mikhail | 65c7966 | 2023-03-02 23:54:07 +0000 | [diff] [blame] | 83 | <!-- If the dp width of the available space is <= this value, potentially adjust the number |
| 84 | of media recommendation items--> |
| 85 | <integer name="default_qs_media_rec_width_dp">380</integer> |
| 86 | |
Winson Chung | d63c5978 | 2012-09-05 17:34:41 -0700 | [diff] [blame] | 87 | <!-- The number of columns that the top level tiles span in the QuickSettings --> |
Winson Chung | d4726d0 | 2012-09-14 12:27:29 -0700 | [diff] [blame] | 88 | |
John Spurlock | bceed06 | 2014-08-10 18:04:16 -0400 | [diff] [blame] | 89 | <!-- The default tiles to display in QuickSettings --> |
| 90 | <string name="quick_settings_tiles_default" translatable="false"> |
Nate Myren | 044edf1 | 2023-09-28 11:31:37 -0700 | [diff] [blame] | 91 | internet,bt,flashlight,dnd,alarm,airplane,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,custom(com.android.permissioncontroller/.permission.service.v33.SafetyCenterQsTileService) |
Nate Myren | 259e73d | 2022-02-15 16:25:41 -0800 | [diff] [blame] | 92 | </string> |
| 93 | |
Nate Myren | f56ea2b | 2022-05-19 15:23:23 -0700 | [diff] [blame] | 94 | <!-- The class path of the Safety Quick Settings Tile --> |
| 95 | <string name="safety_quick_settings_tile_class" translatable="false"> |
| 96 | com.android.permissioncontroller.permission.service.v33.SafetyCenterQsTileService |
John Spurlock | bceed06 | 2014-08-10 18:04:16 -0400 | [diff] [blame] | 97 | </string> |
| 98 | |
Zhen Zhang | ea2d226 | 2019-05-13 18:15:50 -0700 | [diff] [blame] | 99 | <!-- The minimum number of tiles to display in QuickSettings --> |
| 100 | <integer name="quick_settings_min_num_tiles">6</integer> |
| 101 | |
Will Harmon | beb1f17 | 2016-06-06 14:52:40 -0700 | [diff] [blame] | 102 | <!-- Tiles native to System UI. Order should match "quick_settings_tiles_default" --> |
| 103 | <string name="quick_settings_tiles_stock" translatable="false"> |
Stefan Andonian | 5327b11 | 2024-02-14 23:28:27 +0000 | [diff] [blame] | 104 | internet,bt,flashlight,dnd,alarm,airplane,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,location,hotspot,inversion,saver,dark,work,night,reverse,reduce_brightness,qr_code_scanner,onehanded,color_correction,dream,font_scaling,record_issue |
Will Harmon | beb1f17 | 2016-06-06 14:52:40 -0700 | [diff] [blame] | 105 | </string> |
| 106 | |
John Spurlock | bceed06 | 2014-08-10 18:04:16 -0400 | [diff] [blame] | 107 | <!-- The tiles to display in QuickSettings --> |
| 108 | <string name="quick_settings_tiles" translatable="false">default</string> |
| 109 | |
Sudheer Shanka | ad79049 | 2016-06-03 10:48:27 -0700 | [diff] [blame] | 110 | <!-- The tiles to display in QuickSettings in retail mode --> |
| 111 | <string name="quick_settings_tiles_retail_mode" translatable="false"> |
Christine Franks | 2e28a9a | 2019-09-10 14:02:44 -0700 | [diff] [blame] | 112 | night,dark,dnd,flashlight,rotation,location |
Sudheer Shanka | ad79049 | 2016-06-03 10:48:27 -0700 | [diff] [blame] | 113 | </string> |
| 114 | |
Fabian Kozynski | a8d3df4 | 2020-04-29 13:58:38 -0400 | [diff] [blame] | 115 | <!-- Tiles to auto add to Quick Settings upon first change of a given secure setting. |
| 116 | The syntax is setting-name:spec. If the tile is a TileService, the spec should be specified |
| 117 | as custom(package/class). Relative class name is supported. --> |
| 118 | <string-array name="config_quickSettingsAutoAdd" translatable="false"> |
menghanli | aad4eac | 2021-12-23 17:38:19 +0800 | [diff] [blame] | 119 | <item>accessibility_display_daltonizer_enabled:color_correction</item> |
Fabian Kozynski | a8d3df4 | 2020-04-29 13:58:38 -0400 | [diff] [blame] | 120 | <item>accessibility_display_inversion_enabled:inversion</item> |
Jason Chang | b46dece | 2021-12-02 14:49:41 +0800 | [diff] [blame] | 121 | <item>one_handed_mode_enabled:onehanded</item> |
Candice Lo | 4392052 | 2023-03-15 11:06:48 +0000 | [diff] [blame] | 122 | <item>accessibility_font_scaling_has_been_changed:font_scaling</item> |
Fabian Kozynski | a8d3df4 | 2020-04-29 13:58:38 -0400 | [diff] [blame] | 123 | </string-array> |
| 124 | |
Beth Thibodeau | 50b665e | 2022-02-02 22:15:13 -0500 | [diff] [blame] | 125 | <!-- Use collapsed layout for media player in landscape QQS --> |
| 126 | <bool name="config_quickSettingsMediaLandscapeCollapsed">true</bool> |
| 127 | |
Minming Qi | e2d48ca | 2017-03-10 13:56:44 +0800 | [diff] [blame] | 128 | <!-- Show indicator for Wifi on but not connected. --> |
| 129 | <bool name="config_showWifiIndicatorWhenEnabled">false</bool> |
| 130 | |
Kevin | a97ea05 | 2018-09-11 13:53:18 -0700 | [diff] [blame] | 131 | <!-- The number of milliseconds before the heads up notification auto-dismisses. --> |
Selim Cinek | 2c97e5c | 2015-05-29 17:07:44 +0200 | [diff] [blame] | 132 | <integer name="heads_up_notification_decay">5000</integer> |
Chris Wren | 51c7510 | 2013-07-16 20:49:17 -0400 | [diff] [blame] | 133 | |
Selim Cinek | e3c6e46 | 2019-06-24 19:37:06 -0700 | [diff] [blame] | 134 | <!-- The number of milliseconds before the heads up notification sent automatically by the system auto-dismisses. --> |
| 135 | <integer name="auto_heads_up_notification_decay">3000</integer> |
| 136 | |
Kevin | a97ea05 | 2018-09-11 13:53:18 -0700 | [diff] [blame] | 137 | <!-- The number of milliseconds after a heads up notification is pushed back |
Chris Wren | a6d4fb6 | 2014-11-20 14:46:23 -0500 | [diff] [blame] | 138 | before the app can interrupt again. --> |
| 139 | <integer name="heads_up_default_snooze_length_ms">60000</integer> |
| 140 | |
Chris Wren | 930ecca | 2014-11-12 17:43:41 -0500 | [diff] [blame] | 141 | <!-- Minimum display time for a heads up notification, in milliseconds. --> |
Selim Cinek | b8f09cf | 2015-03-16 17:09:28 -0700 | [diff] [blame] | 142 | <integer name="heads_up_notification_minimum_time">2000</integer> |
Chris Wren | 930ecca | 2014-11-12 17:43:41 -0500 | [diff] [blame] | 143 | |
Lyn | c62846d | 2023-02-13 20:47:10 +0000 | [diff] [blame] | 144 | <!-- Display time for a sticky heads up notification, in milliseconds. --> |
| 145 | <integer name="sticky_heads_up_notification_time">60000</integer> |
| 146 | |
Jeff DeCew | b3727dc | 2021-05-07 14:27:44 -0400 | [diff] [blame] | 147 | <!-- Whether to hide the notification header when the HUN is expanded. --> |
| 148 | <bool name="heads_up_notification_hides_header">false</bool> |
| 149 | |
Kevin | a97ea05 | 2018-09-11 13:53:18 -0700 | [diff] [blame] | 150 | <!-- The number of milliseconds before the heads up notification accepts touches. --> |
Selim Cinek | 684a442 | 2015-04-15 16:18:39 -0700 | [diff] [blame] | 151 | <integer name="touch_acceptance_delay">700</integer> |
Winson Chung | 2f2ca08 | 2014-04-03 18:05:29 -0700 | [diff] [blame] | 152 | |
Kevin | a97ea05 | 2018-09-11 13:53:18 -0700 | [diff] [blame] | 153 | <!-- The number of milliseconds to extend ambient pulse by when prompted (e.g. on touch) --> |
Lucas Dupin | d534c12 | 2019-07-16 18:48:59 -0700 | [diff] [blame] | 154 | <integer name="ambient_notification_extension_time">10000</integer> |
Kevin | a97ea05 | 2018-09-11 13:53:18 -0700 | [diff] [blame] | 155 | |
Jorim Jaggi | d4a5744 | 2014-04-10 02:45:55 +0200 | [diff] [blame] | 156 | <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow |
| 157 | card. --> |
Jeff DeCew | 43603d9 | 2021-06-08 22:53:18 -0400 | [diff] [blame] | 158 | <integer name="keyguard_max_notification_count">-1</integer> |
Jorim Jaggi | b7b61dd | 2014-05-21 15:45:07 +0200 | [diff] [blame] | 159 | |
Adrian Roos | a1e6b31 | 2017-03-28 16:20:34 -0700 | [diff] [blame] | 160 | <!-- Doze: does this device support STATE_DOZE? --> |
John Spurlock | ed69bd6 | 2014-07-23 11:09:02 -0400 | [diff] [blame] | 161 | <bool name="doze_display_state_supported">false</bool> |
| 162 | |
Adrian Roos | a1e6b31 | 2017-03-28 16:20:34 -0700 | [diff] [blame] | 163 | <!-- Doze: does this device support STATE_DOZE_SUSPEND? --> |
| 164 | <bool name="doze_suspend_display_state_supported">false</bool> |
| 165 | |
John Spurlock | cb566aa | 2014-08-03 22:58:28 -0400 | [diff] [blame] | 166 | <!-- Doze: should the significant motion sensor be used as a pulse signal? --> |
| 167 | <bool name="doze_pulse_on_significant_motion">false</bool> |
John Spurlock | ed69bd6 | 2014-07-23 11:09:02 -0400 | [diff] [blame] | 168 | |
John Spurlock | 686e4d5 | 2014-11-20 21:48:09 -0500 | [diff] [blame] | 169 | <!-- Doze: check proximity sensor before pulsing? --> |
| 170 | <bool name="doze_proximity_check_before_pulse">true</bool> |
| 171 | |
Beverly | 78386ab | 2021-03-29 17:42:42 -0400 | [diff] [blame] | 172 | <!-- Doze: only register sensors that use prox when device is in certain Display states. This |
| 173 | delays registering sensors when device first shows dozing UI but the |
| 174 | Display & Power state hasn't changed to low-power mode yet. --> |
| 175 | <bool name="doze_selectively_register_prox">false</bool> |
| 176 | |
| 177 | <!-- Doze: whether the single tap sensor uses the proximity sensor. |
| 178 | If both this parameter and doze_selectively_register_prox are true, registration for the |
| 179 | sensor will be delayed when the device first enters dozing but the device has not entered its |
| 180 | low powered state yet. --> |
| 181 | <bool name="doze_single_tap_uses_prox">true</bool> |
| 182 | |
Beverly | c8d3d1a | 2021-09-27 13:15:54 -0400 | [diff] [blame] | 183 | <!-- Doze: whether the single tap sensor uses the proximity sensor in the given posture. |
| 184 | See doze_single_tap_uses_prox for usage. --> |
| 185 | <integer-array name="doze_single_tap_uses_prox_posture_mapping"> |
| 186 | <item>1</item> <!-- UNKNOWN --> |
| 187 | <item>1</item> <!-- CLOSED --> |
| 188 | <item>1</item> <!-- HALF_OPENED --> |
| 189 | <item>1</item> <!-- OPENED --> |
| 190 | </integer-array> |
| 191 | |
Beverly | 78386ab | 2021-03-29 17:42:42 -0400 | [diff] [blame] | 192 | <!-- Doze: whether the long press sensor uses the proximity sensor. |
| 193 | If both this parameter and doze_selectively_register_prox are true, registration for the |
| 194 | sensor will be delayed when the device first enters dozing but the device has not entered its |
| 195 | low powered state yet. --> |
| 196 | <bool name="doze_long_press_uses_prox">true</bool> |
| 197 | |
John Spurlock | 50a8ea6 | 2014-09-16 09:12:03 -0400 | [diff] [blame] | 198 | <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations --> |
| 199 | <integer name="doze_pickup_vibration_threshold">2000</integer> |
| 200 | |
Beverly | c0ddb20 | 2021-02-25 10:21:30 -0500 | [diff] [blame] | 201 | <!-- Doze: quick pickup duration to stay in AOD until the next gesture is triggered --> |
| 202 | <integer name="doze_quick_pickup_aod_duration">5000</integer> |
| 203 | |
Adrian Roos | 2981eb0 | 2017-05-26 18:40:09 -0700 | [diff] [blame] | 204 | <!-- Type of a sensor that provides a low-power estimate of the desired display |
| 205 | brightness, suitable to listen to while the device is asleep (e.g. during |
| 206 | always-on display) --> |
| 207 | <string name="doze_brightness_sensor_type" translatable="false"></string> |
| 208 | |
Beverly | 541b6f8 | 2021-09-28 11:31:40 -0400 | [diff] [blame] | 209 | <!-- Name of a sensor per posture state that provides a low-power estimate of the desired |
| 210 | display brightness, suitable to listen to while the device is asleep (e.g. during |
| 211 | always-on display) --> |
| 212 | <string-array name="doze_brightness_sensor_name_posture_mapping" translatable="false"> |
Beverly | e4a1d0e | 2021-09-28 14:09:32 -0400 | [diff] [blame] | 213 | <!-- UNKNOWN --> |
| 214 | <!-- CLOSED --> |
| 215 | <!-- HALF_OPENED --> |
| 216 | <!-- OPENED --> |
Beverly | 541b6f8 | 2021-09-28 11:31:40 -0400 | [diff] [blame] | 217 | </string-array> |
| 218 | |
Dave Mankoff | 55d5d8c7 | 2020-02-13 16:15:39 -0500 | [diff] [blame] | 219 | <!-- Override value to use for proximity sensor. --> |
| 220 | <string name="proximity_sensor_type" translatable="false"></string> |
| 221 | |
Beverly | e4a1d0e | 2021-09-28 14:09:32 -0400 | [diff] [blame] | 222 | <!-- Sensor type per posture state to use for proximity sensor --> |
| 223 | <string-array name="proximity_sensor_posture_mapping" translatable="false"> |
| 224 | <!-- UNKNOWN --> |
| 225 | <!-- CLOSED --> |
| 226 | <!-- HALF_OPENED --> |
| 227 | <!-- OPENED --> |
| 228 | </string-array> |
| 229 | |
Dave Mankoff | 55d5d8c7 | 2020-02-13 16:15:39 -0500 | [diff] [blame] | 230 | <!-- If using proximity_sensor_type, specifies a threshold value to distinguish near and |
| 231 | far break points. A sensor value less than this is considered "near". --> |
| 232 | <item name="proximity_sensor_threshold" translatable="false" format="float" type="dimen"></item> |
| 233 | |
Dave Mankoff | 1d7a50c | 2020-04-28 13:51:40 -0400 | [diff] [blame] | 234 | <!-- If using proximity_sensor_type, specifies a threshold value to distinguish near and |
| 235 | far break points. A sensor value more than this is considered "far". If not set, |
| 236 | proximity_sensor_threshold is used. This allows one to implement a latching mechanism for |
| 237 | noisy sensors. --> |
| 238 | <item name="proximity_sensor_threshold_latch" translatable="false" format="float" type="dimen"></item> |
| 239 | |
Dave Mankoff | 311fb19 | 2020-04-23 14:01:46 -0400 | [diff] [blame] | 240 | <!-- Override value to use for proximity sensor as confirmation for proximity_sensor_type. --> |
| 241 | <string name="proximity_sensor_secondary_type" translatable="false"></string> |
| 242 | |
Beverly | e4a1d0e | 2021-09-28 14:09:32 -0400 | [diff] [blame] | 243 | <!-- Sensor type per posture state to use for proximity sensor as a confirmation for |
| 244 | proximity_sensor_type. --> |
| 245 | <string-array name="proximity_sensor_secondary_posture_mapping" translatable="false"> |
| 246 | <!-- UNKNOWN --> |
| 247 | <!-- CLOSED --> |
| 248 | <!-- HALF_OPENED --> |
| 249 | <!-- OPENED --> |
| 250 | </string-array> |
| 251 | |
Dave Mankoff | 1d7a50c | 2020-04-28 13:51:40 -0400 | [diff] [blame] | 252 | <!-- If using proximity_sensor_secondary_type, specifies a threshold value to distinguish |
Dave Mankoff | 311fb19 | 2020-04-23 14:01:46 -0400 | [diff] [blame] | 253 | near and far break points. A sensor value less than this is considered "near". --> |
| 254 | <item name="proximity_sensor_secondary_threshold" translatable="false" format="float" |
| 255 | type="dimen"></item> |
| 256 | |
Dave Mankoff | 1d7a50c | 2020-04-28 13:51:40 -0400 | [diff] [blame] | 257 | <!-- If using proximity_sensor_secondary_type, specifies a threshold value to distinguish near and |
| 258 | far break points. A sensor value more than this is considered "far". If not set, |
| 259 | proximity_sensor_secondary_threshold is used. This allows one to implement a latching |
| 260 | mechanism for noisy sensors. --> |
| 261 | <item name="proximity_sensor_secondary_threshold_latch" translatable="false" format="float" type="dimen"></item> |
| 262 | |
John Spurlock | d06aa57 | 2014-09-10 10:40:49 -0400 | [diff] [blame] | 263 | <!-- Doze: pulse parameter - how long does it take to fade in? --> |
Lucas Dupin | 9e3fa10 | 2017-11-08 17:16:55 -0800 | [diff] [blame] | 264 | <integer name="doze_pulse_duration_in">130</integer> |
John Spurlock | f5d250d | 2014-12-02 10:41:25 -0500 | [diff] [blame] | 265 | |
John Spurlock | d06aa57 | 2014-09-10 10:40:49 -0400 | [diff] [blame] | 266 | <!-- Doze: pulse parameter - once faded in, how long does it stay visible? --> |
Adrian Roos | d13602f | 2016-08-22 15:31:38 +0200 | [diff] [blame] | 267 | <integer name="doze_pulse_duration_visible">6000</integer> |
John Spurlock | d06aa57 | 2014-09-10 10:40:49 -0400 | [diff] [blame] | 268 | |
| 269 | <!-- Doze: pulse parameter - how long does it take to fade out? --> |
Jorim Jaggi | 16423aa | 2014-10-28 11:42:58 +0100 | [diff] [blame] | 270 | <integer name="doze_pulse_duration_out">600</integer> |
John Spurlock | d06aa57 | 2014-09-10 10:40:49 -0400 | [diff] [blame] | 271 | |
John Spurlock | e15452b | 2014-08-21 09:44:39 -0400 | [diff] [blame] | 272 | <!-- Doze: alpha to apply to small icons when dozing --> |
| 273 | <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff --> |
| 274 | |
Adrian Roos | 4d4aaba | 2017-07-26 19:17:51 +0200 | [diff] [blame] | 275 | <!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor |
| 276 | to brightness values; -1 means keeping the current brightness. --> |
| 277 | <integer-array name="config_doze_brightness_sensor_to_brightness"> |
| 278 | <item>-1</item> <!-- 0: OFF --> |
| 279 | <item>2</item> <!-- 1: NIGHT --> |
| 280 | <item>5</item> <!-- 2: LOW --> |
| 281 | <item>27</item> <!-- 3: HIGH --> |
| 282 | <item>28</item> <!-- 4: SUN --> |
| 283 | </integer-array> |
Michael Wright | 648ea2d | 2017-07-20 18:27:17 +0100 | [diff] [blame] | 284 | |
Adrian Roos | c8e29e7 | 2017-08-03 18:25:42 +0200 | [diff] [blame] | 285 | <!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor |
| 286 | to an opacity value for a black scrim that is overlayed in AOD1. |
| 287 | Valid range is from 0 (transparent) to 255 (opaque). |
| 288 | -1 means keeping the current opacity. --> |
| 289 | <integer-array name="config_doze_brightness_sensor_to_scrim_opacity"> |
| 290 | <item>-1</item> <!-- 0: OFF --> |
| 291 | <item>0</item> <!-- 1: NIGHT --> |
| 292 | <item>0</item> <!-- 2: LOW --> |
| 293 | <item>0</item> <!-- 3: HIGH --> |
| 294 | <item>0</item> <!-- 4: SUN --> |
| 295 | </integer-array> |
| 296 | |
Adrian Roos | 25c7a58 | 2017-06-02 12:50:38 -0700 | [diff] [blame] | 297 | <!-- Doze: whether the double tap sensor reports 2D touch coordinates --> |
| 298 | <bool name="doze_double_tap_reports_touch_coordinates">false</bool> |
| 299 | |
John Spurlock | 8f8ecd6 | 2014-08-27 17:46:03 -0400 | [diff] [blame] | 300 | <!-- Number of times to show the strong alarm warning text in the volume dialog --> |
| 301 | <integer name="zen_mode_alarm_warning_threshold">5</integer> |
John Spurlock | 27c7b92 | 2014-09-23 14:59:51 -0400 | [diff] [blame] | 302 | |
John Spurlock | f2565a8 | 2014-10-23 20:16:22 -0400 | [diff] [blame] | 303 | <!-- Enable the default volume dialog --> |
| 304 | <bool name="enable_volume_ui">true</bool> |
Andrew Flynn | a478d70 | 2015-04-14 23:33:45 -0400 | [diff] [blame] | 305 | |
Luke Song | e003666 | 2017-12-12 12:27:08 -0800 | [diff] [blame] | 306 | <!-- Enable the default volume level warning dialog --> |
| 307 | <bool name="enable_safety_warning">true</bool> |
| 308 | |
Xiyuan Xia | cc3a74f6 | 2015-07-22 14:16:34 -0700 | [diff] [blame] | 309 | <!-- Whether to show the full screen user switcher. --> |
Xiyuan Xia | 40f9dab | 2015-08-17 13:19:30 -0700 | [diff] [blame] | 310 | <bool name="config_enableFullscreenUserSwitcher">false</bool> |
Xiyuan Xia | cc3a74f6 | 2015-07-22 14:16:34 -0700 | [diff] [blame] | 311 | |
Evan Rosky | c544f57 | 2022-11-17 14:05:51 -0800 | [diff] [blame] | 312 | <!-- Determines whether the shell features all run on another thread. --> |
| 313 | <bool name="config_enableShellMainThread">true</bool> |
| 314 | |
Jay Aliomer | 6da7e06 | 2020-04-22 15:15:49 -0400 | [diff] [blame] | 315 | <!-- QS tile shape store width. negative implies fill configuration instead of stroke--> |
| 316 | <dimen name="config_qsTileStrokeWidthActive">-1dp</dimen> |
| 317 | <dimen name="config_qsTileStrokeWidthInactive">-1dp</dimen> |
| 318 | |
yoshiki iguchi | 61b3708 | 2017-11-29 16:46:32 +0900 | [diff] [blame] | 319 | <!-- SystemUI vender service, used in config_systemUIServiceComponents. --> |
| 320 | <string name="config_systemUIVendorServiceComponent" translatable="false">com.android.systemui.VendorServices</string> |
| 321 | |
| 322 | <!-- SystemUI Services (per user): The classes of the stuff to start for each user. This is a subset of the config_systemUIServiceComponents --> |
| 323 | <string-array name="config_systemUIServiceComponentsPerUser" translatable="false"> |
yoshiki iguchi | 61b3708 | 2017-11-29 16:46:32 +0900 | [diff] [blame] | 324 | <item>com.android.systemui.util.NotificationChannels</item> |
yoshiki iguchi | 61b3708 | 2017-11-29 16:46:32 +0900 | [diff] [blame] | 325 | </string-array> |
| 326 | |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 327 | <!-- Nav bar button default ordering/layout --> |
Jason Monk | 7f6a2ab | 2017-04-21 13:48:19 -0400 | [diff] [blame] | 328 | <string name="config_navBarLayout" translatable="false">left[.5W],back[1WC];home;recent[1WC],right[.5W]</string> |
Mike Digman | f77fb91 | 2018-05-21 11:21:30 -0700 | [diff] [blame] | 329 | <string name="config_navBarLayoutQuickstep" translatable="false">back[1.7WC];home;contextual[1.7WC]</string> |
Winson Chung | c6312b4 | 2021-05-10 17:05:58 -0700 | [diff] [blame] | 330 | <string name="config_navBarLayoutHandle" translatable="false">back[70AC];home_handle;ime_switcher[70AC]</string> |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 331 | |
Sherry Huang | ce02ed3 | 2019-01-17 20:37:29 +0800 | [diff] [blame] | 332 | <!-- Whether to show a warning notification when device's skin temperature is high. --> |
Andrew Sapperstein | e335256 | 2017-01-20 15:41:03 -0800 | [diff] [blame] | 333 | <integer name="config_showTemperatureWarning">0</integer> |
Andrew Sapperstein | b7caf1d | 2016-12-14 15:39:20 -0800 | [diff] [blame] | 334 | |
Sherry Huang | ce02ed3 | 2019-01-17 20:37:29 +0800 | [diff] [blame] | 335 | <!-- Whether to show a alarm dialog when device's usb port is overheating. --> |
| 336 | <integer name="config_showUsbPortAlarm">0</integer> |
Jason Monk | d819c31 | 2017-08-11 12:53:36 -0400 | [diff] [blame] | 337 | |
Matthew Ng | 44b1450 | 2018-05-04 11:10:14 -0700 | [diff] [blame] | 338 | <item type="id" name="action_toggle_overview"/> |
| 339 | |
Ned Burns | 46597ba | 2020-01-30 13:58:46 -0500 | [diff] [blame] | 340 | <!-- Whether or not to show notifications to the user. If disabled, SystemUI will still be |
| 341 | registered as a notification listener, but will ignore all notification events. --> |
| 342 | <bool name="config_renderNotifications">true</bool> |
| 343 | |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 344 | <!-- Whether or not the gear icon on notifications should be shown. The gear is shown when the |
| 345 | the notification is not swiped enough to dismiss it. --> |
| 346 | <bool name="config_showNotificationGear">true</bool> |
| 347 | |
Lyn Han | 53f5af9 | 2020-12-02 21:12:56 +0000 | [diff] [blame] | 348 | <!-- Whether or not a background should be drawn behind a notification. --> |
Jeff DeCew | 9bb01fd | 2021-04-27 13:45:19 -0400 | [diff] [blame] | 349 | <bool name="config_drawNotificationBackground">false</bool> |
Lyn Han | 53f5af9 | 2020-12-02 21:12:56 +0000 | [diff] [blame] | 350 | |
Anthony Chen | 3cb3ad9 | 2016-12-01 10:58:47 -0800 | [diff] [blame] | 351 | <!-- Whether or the notifications can be shown and dismissed with a drag. --> |
| 352 | <bool name="config_enableNotificationShadeDrag">true</bool> |
| 353 | |
Jason Monk | ad71ae1 | 2017-04-11 14:55:25 -0400 | [diff] [blame] | 354 | <!-- Whether to show activity indicators in the status bar --> |
| 355 | <bool name="config_showActivity">false</bool> |
| 356 | |
Anthony Chen | 9e05d46 | 2017-04-07 10:10:21 -0700 | [diff] [blame] | 357 | <!-- Whether or not to show the notification shelf that houses the icons of notifications that |
| 358 | have been scrolled off-screen. --> |
| 359 | <bool name="config_showNotificationShelf">true</bool> |
| 360 | |
Anthony Chen | 7acbb77 | 2017-04-07 16:45:25 -0700 | [diff] [blame] | 361 | <!-- Whether or not the fade on the notification is based on the amount that it has been swiped |
| 362 | off-screen. --> |
| 363 | <bool name="config_fadeDependingOnAmountSwiped">false</bool> |
| 364 | |
Anthony Chen | 9fe1ee7 | 2017-04-07 13:53:37 -0700 | [diff] [blame] | 365 | <!-- Whether or the notifications should be clipped to be reduced in height if it has been |
| 366 | scrolled to the top of the screen. --> |
| 367 | <bool name="config_clipNotificationScrollToTop">true</bool> |
| 368 | |
| 369 | <!-- Whether or not the notification contents should be clipped to any background that is |
| 370 | set on the notification container. For example, if this value is true and the background |
| 371 | has rounded corners, then the contents will be clipped to those corners. --> |
| 372 | <bool name="config_clipNotificationsToOutline">false</bool> |
| 373 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 374 | <!-- Whether or not notifications that can be expanded will always be in their expanded state. |
| 375 | This value only affects notifications that are not a group of notifications from the same |
Shuming Hao | 400e381 | 2023-07-14 19:44:27 -0700 | [diff] [blame] | 376 | applications. If this value is false, then only the first notification will be expanded |
| 377 | when config_autoExpandFirstNotification is true; the other notifications need to be |
| 378 | manually expanded by the user. --> |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 379 | <bool name="config_alwaysExpandNonGroupedNotifications">false</bool> |
| 380 | |
Shuming Hao | 400e381 | 2023-07-14 19:44:27 -0700 | [diff] [blame] | 381 | <!-- Whether or not the first expandable notification will be expanded automatically by the |
| 382 | system. This value only affects notifications that are not a group of notifications from |
| 383 | the same applications and when config_alwaysExpandNonGroupedNotifications is false. --> |
| 384 | <bool name="config_autoExpandFirstNotification">true</bool> |
| 385 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 386 | <!-- Whether or not an expandable notification can be manually expanded or collapsed by the |
| 387 | user. Grouped notifications are still expandable even if this value is false. --> |
| 388 | <bool name="config_enableNonGroupedNotificationExpand">true</bool> |
| 389 | |
| 390 | <!-- Whether or not there should be dividing lines between child notifications when the |
| 391 | group has been expanded. --> |
| 392 | <bool name="config_showDividersWhenGroupNotificationExpanded">false</bool> |
| 393 | |
| 394 | <!-- Whether or not the dividing lines should be shown when the container is expanding and |
| 395 | collapsing. If this value is true, then the lines will only show when the container has |
| 396 | been completely expanded. --> |
Jeff DeCew | a2f705e | 2021-06-17 12:04:08 -0400 | [diff] [blame] | 397 | <bool name="config_hideDividersDuringExpand">true</bool> |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 398 | |
| 399 | <!-- Whether or not child notifications that are part of a group will have shadows. --> |
| 400 | <bool name="config_enableShadowOnChildNotifications">true</bool> |
| 401 | |
Jeff DeCew | 138403a | 2021-03-03 13:27:06 -0500 | [diff] [blame] | 402 | <!-- If true, group numbers are shown in the expander instead of via "+N" overflow number --> |
| 403 | <bool name="config_showNotificationGroupCountInExpander">true</bool> |
| 404 | |
Anthony Chen | 6bf88a0 | 2017-04-10 14:41:44 -0700 | [diff] [blame] | 405 | <!-- Whether or not a view containing child notifications will have a custom background when |
| 406 | it has been expanded to reveal its children. --> |
| 407 | <bool name="config_showGroupNotificationBgWhenExpanded">false</bool> |
| 408 | |
Selim Cinek | d95ca7c | 2017-07-26 12:20:38 -0700 | [diff] [blame] | 409 | <!-- Should we vibrate on an icon animation of the shelf. This should only be active if the |
| 410 | vibrator is capable of subtle vibrations --> |
| 411 | <bool name="config_vibrateOnIconAnimation">false</bool> |
| 412 | |
Jeff DeCew | a0e9961 | 2021-06-11 10:05:10 -0400 | [diff] [blame] | 413 | <!-- Notifications are sized to match the width of two (of 4) qs tiles in landscape. --> |
| 414 | <bool name="config_skinnyNotifsInLandscape">true</bool> |
| 415 | |
Chris Wren | e901a7e | 2017-10-02 17:29:46 -0400 | [diff] [blame] | 416 | <!-- Snooze: default notificaiton snooze time. --> |
| 417 | <integer name="config_notification_snooze_time_default">60</integer> |
| 418 | |
| 419 | <!-- Snooze: List of snooze values in integer minutes. --> |
| 420 | <integer-array name="config_notification_snooze_times"> |
| 421 | <item>15</item> |
| 422 | <item>30</item> |
| 423 | <item>60</item> |
| 424 | <item>120</item> |
| 425 | </integer-array> |
Petr Cermak | 10011fa | 2018-02-05 19:00:54 +0000 | [diff] [blame] | 426 | |
| 427 | <!-- Smart replies in notifications: Whether smart replies in notifications are enabled. --> |
| 428 | <bool name="config_smart_replies_in_notifications_enabled">true</bool> |
| 429 | |
Richard Ledley | 4069f7a | 2018-02-26 10:36:00 +0000 | [diff] [blame] | 430 | <!-- Smart replies in notifications: Whether we disable the feature unless the app targets P --> |
| 431 | <bool name="config_smart_replies_in_notifications_requires_targeting_p">true</bool> |
| 432 | |
Petr Cermak | 10011fa | 2018-02-05 19:00:54 +0000 | [diff] [blame] | 433 | <!-- Smart replies in notifications: Maximum number of times SmartReplyView will try to find a |
| 434 | better (narrower) line-break for a double-line smart reply button. --> |
| 435 | <integer name="config_smart_replies_in_notifications_max_squeeze_remeasure_attempts">3</integer> |
Alison Cichowlas | f280653 | 2018-03-06 19:08:18 -0500 | [diff] [blame] | 436 | |
Milo Sredkov | 41dc4ba | 2018-12-27 12:03:45 +0000 | [diff] [blame] | 437 | <!-- Smart replies in notifications: Whether by default tapping on a choice should let the user |
| 438 | edit the input before it is sent to the app. Developers can override this via |
| 439 | RemoteInput.Builder.setEditChoicesBeforeSending. --> |
| 440 | <bool name="config_smart_replies_in_notifications_edit_choices_before_sending">false</bool> |
| 441 | |
Gustav Sennton | 3f3eaff | 2019-01-08 09:39:51 +0000 | [diff] [blame] | 442 | <!-- Smart replies in notifications: Whether smart suggestions in notifications are enabled in |
| 443 | heads-up notifications. --> |
| 444 | <bool name="config_smart_replies_in_notifications_show_in_heads_up">true</bool> |
| 445 | |
Gustav Sennton | a31f6ae | 2019-01-08 11:20:49 +0000 | [diff] [blame] | 446 | <!-- Smart replies in notifications: Minimum number of system generated smart replies that |
| 447 | should be shown in a notification. If we cannot show at least this many replies we instead |
| 448 | show none. --> |
| 449 | <integer name="config_smart_replies_in_notifications_min_num_system_generated_replies">0</integer> |
| 450 | |
Gustav Sennton | 4bf5ff5 | 2019-01-16 14:27:25 +0000 | [diff] [blame] | 451 | <!-- Smart replies in notifications: Maximum number of smart actions to show in notifications. |
| 452 | --> |
| 453 | <integer name="config_smart_replies_in_notifications_max_num_actions">-1</integer> |
| 454 | |
Gustav Sennton | 8a52dc3 | 2019-04-15 12:48:23 +0100 | [diff] [blame] | 455 | <!-- Smart replies in notifications: Delay (ms) before smart suggestions are clickable, since |
| 456 | they were added. --> |
| 457 | <integer name="config_smart_replies_in_notifications_onclick_init_delay">200</integer> |
| 458 | |
Darrell Shi | 52c638b | 2022-04-12 01:21:12 +0000 | [diff] [blame] | 459 | <!-- Smartspace trampoline activity that is used when the user taps smartspace. --> |
| 460 | <string name="config_smartspaceTrampolineActivityComponent" translatable="false">com.google.android.apps.gsa.staticplugins.opa.smartspace.ExportedSmartspaceTrampolineActivity</string> |
| 461 | |
Alison Cichowlas | f280653 | 2018-03-06 19:08:18 -0500 | [diff] [blame] | 462 | <!-- Screenshot editing default activity. Must handle ACTION_EDIT image/png intents. |
| 463 | Blank sends the user to the Chooser first. |
| 464 | This name is in the ComponentName flattened format (package/class) --> |
| 465 | <string name="config_screenshotEditor" translatable="false"></string> |
| 466 | |
Matt Casey | af21168 | 2022-12-28 20:21:55 +0000 | [diff] [blame] | 467 | <!-- ComponentName for the file browsing app that the system would expect to be used in work |
| 468 | profile. The icon for this app will be shown to the user when informing them that a |
| 469 | screenshot has been saved to work profile. If blank, a default icon will be shown. --> |
| 470 | <string name="config_sceenshotWorkProfileFilesApp" translatable="false"></string> |
| 471 | |
Ajinkya Chalke | 618e46f | 2023-01-25 01:01:10 +0000 | [diff] [blame] | 472 | <!-- The component name of the screenshot editing activity that provides the App Clips flow. |
| 473 | The App Clips flow includes taking a screenshot, showing user screenshot cropping activity |
| 474 | and finally letting user send the screenshot to the calling notes app. This activity |
| 475 | should not send the screenshot to the calling activity without user consent. --> |
| 476 | <string name="config_screenshotAppClipsActivityComponent" translatable="false" |
Ajinkya Chalke | 6ee4093 | 2023-03-10 14:15:37 +0000 | [diff] [blame] | 477 | >com.android.systemui/com.android.systemui.screenshot.appclips.AppClipsActivity</string> |
Ajinkya Chalke | 618e46f | 2023-01-25 01:01:10 +0000 | [diff] [blame] | 478 | |
Miranda Kephart | daa7263 | 2022-03-25 13:15:52 -0400 | [diff] [blame] | 479 | <!-- Remote copy default activity. Must handle REMOTE_COPY_ACTION intents. |
| 480 | This name is in the ComponentName flattened format (package/class) --> |
| 481 | <string name="config_remoteCopyPackage" translatable="false"></string> |
| 482 | |
Lucas Dupin | c293d8f | 2018-09-13 16:23:41 -0700 | [diff] [blame] | 483 | <!-- SystemUI Plugins that can be loaded on user builds. --> |
Hawkwood Glazier | cbf072c | 2023-02-13 22:38:51 +0000 | [diff] [blame] | 484 | <string-array name="config_pluginAllowlist" translatable="false"> |
Jason Monk | da08f54 | 2018-11-02 13:04:39 -0400 | [diff] [blame] | 485 | <item>com.android.systemui</item> |
| 486 | </string-array> |
Fabian Kozynski | bb68be0 | 2018-11-19 12:58:01 -0500 | [diff] [blame] | 487 | |
Amin Shaikh | fd6402e | 2019-03-28 16:23:49 -0400 | [diff] [blame] | 488 | <!-- Launcher package name for overlaying icons. --> |
| 489 | <string name="launcher_overlayable_package" translatable="false">com.android.launcher3</string> |
| 490 | |
Amin Shaikh | 0974b88 | 2019-04-23 17:14:56 -0400 | [diff] [blame] | 491 | <!-- ThemePicker package name for overlaying icons. --> |
| 492 | <string name="themepicker_overlayable_package" translatable="false">com.android.wallpaper</string> |
| 493 | |
Miranda Kephart | 5393915 | 2019-06-28 15:32:29 -0400 | [diff] [blame] | 494 | <!-- Default rounded corner curve (a Bezier). Must match (the curved path in) rounded.xml. |
| 495 | Note that while rounded.xml includes the entire path (including the horizontal and vertical |
| 496 | corner edges), this pulls out just the curve. |
| 497 | --> |
| 498 | <string name="config_rounded_mask" translatable="false">"M8,0C3.6,0,0,3.6,0,8"</string> |
| 499 | |
Beverly | a65cb90 | 2021-05-26 11:36:52 -0400 | [diff] [blame] | 500 | <!-- Preferred refresh rate at keyguard, if supported by the display. Overrides |
| 501 | keyguardMaxRefreshRate. --> |
Lucas Dupin | e25c487 | 2019-07-29 13:51:35 -0700 | [diff] [blame] | 502 | <integer name="config_keyguardRefreshRate">-1</integer> |
| 503 | |
Beverly | a65cb90 | 2021-05-26 11:36:52 -0400 | [diff] [blame] | 504 | <!-- Preferred max refresh rate at keyguard, if supported by the display. --> |
| 505 | <integer name="config_keyguardMaxRefreshRate">-1</integer> |
| 506 | |
kwaky | 06c1f52 | 2020-08-03 22:54:52 -0700 | [diff] [blame] | 507 | <!-- Defines system icons to be excluded from the display. That is to say, the icons in the |
| 508 | status bar that are part of this list are never displayed. Each item in the list must be a |
| 509 | string defined in core/res/res/config.xml to properly exclude the icon. |
JianYang Liu | e8df04c | 2020-01-13 10:45:12 -0800 | [diff] [blame] | 510 | --> |
kwaky | 06c1f52 | 2020-08-03 22:54:52 -0700 | [diff] [blame] | 511 | <string-array name="config_statusBarIconsToExclude" translatable="false"> |
JianYang Liu | e8df04c | 2020-01-13 10:45:12 -0800 | [diff] [blame] | 512 | <item>@*android:string/status_bar_rotate</item> |
| 513 | <item>@*android:string/status_bar_headset</item> |
| 514 | </string-array> |
| 515 | |
Fabian Kozynski | 5042345 | 2021-07-23 16:24:27 -0400 | [diff] [blame] | 516 | |
| 517 | <!-- Whether to show estimate in QS header. Default to false in case there's not enough |
| 518 | space --> |
| 519 | <bool name="config_showBatteryEstimateQSBH">false</bool> |
| 520 | |
Wesley Wang | 5013f4f | 2023-03-01 18:24:47 +0800 | [diff] [blame] | 521 | <!-- Whether to show extra battery saver confirmation dialog. --> |
| 522 | <bool name="config_extra_battery_saver_confirmation">false</bool> |
Wesley Wang | 0ab99c3 | 2022-02-25 00:24:55 +0800 | [diff] [blame] | 523 | |
Caitlin Shkuratov | 1b65e52 | 2022-10-31 20:01:52 +0000 | [diff] [blame] | 524 | <!-- A path representing a shield. Will sometimes be displayed with the battery icon when |
| 525 | needed. This path is a 10px wide and 13px tall. --> |
| 526 | <string name="config_batterymeterShieldPath" translatable="false"> |
| 527 | M5 0L0 1.88V6.19C0 9.35 2.13 12.29 5 13.01C7.87 12.29 10 9.35 10 6.19V1.88L5 0Z |
| 528 | </string> |
| 529 | |
Evan Laird | 1698145 | 2020-02-21 14:33:42 -0500 | [diff] [blame] | 530 | <!-- A path similar to frameworks/base/core/res/res/values/config.xml |
Shawn Lin | 12acedf | 2023-09-14 15:48:19 +0800 | [diff] [blame] | 531 | config_mainBuiltInDisplayCutout that describes a path larger than the exact path of a outer |
| 532 | display cutout. If present as well as config_enableDisplayCutoutProtection is set to true, |
| 533 | then SystemUI will draw this "protection path" instead of the display cutout path that is |
| 534 | normally used for anti-aliasing. |
Evan Laird | 1698145 | 2020-02-21 14:33:42 -0500 | [diff] [blame] | 535 | |
| 536 | This path will only be drawn when the front-facing camera turns on, otherwise the main |
| 537 | DisplayCutout path will be rendered |
| 538 | --> |
| 539 | <string translatable="false" name="config_frontBuiltInDisplayCutoutProtection"></string> |
| 540 | |
Shawn Lin | 9f0a677 | 2023-12-19 07:27:16 +0000 | [diff] [blame] | 541 | <!-- ID for the camera of outer display that needs extra protection --> |
Evan Laird | 1698145 | 2020-02-21 14:33:42 -0500 | [diff] [blame] | 542 | <string translatable="false" name="config_protectedCameraId"></string> |
Shawn Lin | 9f0a677 | 2023-12-19 07:27:16 +0000 | [diff] [blame] | 543 | <!-- Physical ID for the camera of outer display that needs extra protection --> |
Chris Göllner | 50844ee | 2023-12-14 11:37:06 +0000 | [diff] [blame] | 544 | <string translatable="false" name="config_protectedPhysicalCameraId"></string> |
Chris Göllner | e2fe085 | 2024-01-30 12:01:51 +0000 | [diff] [blame] | 545 | <!-- Unique ID of the outer display that contains the camera that needs protection. --> |
| 546 | <string translatable="false" name="config_protectedScreenUniqueId"></string> |
| 547 | |
Evan Laird | 1698145 | 2020-02-21 14:33:42 -0500 | [diff] [blame] | 548 | |
Shawn Lin | 12acedf | 2023-09-14 15:48:19 +0800 | [diff] [blame] | 549 | <!-- Similar to config_frontBuiltInDisplayCutoutProtection but for inner display. --> |
| 550 | <string translatable="false" name="config_innerBuiltInDisplayCutoutProtection"></string> |
| 551 | |
Shawn Lin | 9f0a677 | 2023-12-19 07:27:16 +0000 | [diff] [blame] | 552 | <!-- ID for the camera of inner display that needs extra protection. --> |
Shawn Lin | 12acedf | 2023-09-14 15:48:19 +0800 | [diff] [blame] | 553 | <string translatable="false" name="config_protectedInnerCameraId"></string> |
Chris Göllner | 50844ee | 2023-12-14 11:37:06 +0000 | [diff] [blame] | 554 | <!-- Physical ID for the camera of inner display that needs extra protection --> |
| 555 | <string translatable="false" name="config_protectedInnerPhysicalCameraId"></string> |
Chris Göllner | e2fe085 | 2024-01-30 12:01:51 +0000 | [diff] [blame] | 556 | <!-- Unique ID of the inner display that contains the camera that needs protection. --> |
| 557 | <string translatable="false" name="config_protectedInnerScreenUniqueId"></string> |
Shawn Lin | 12acedf | 2023-09-14 15:48:19 +0800 | [diff] [blame] | 558 | |
Evan Laird | b38dbfb | 2020-03-17 15:31:21 -0400 | [diff] [blame] | 559 | <!-- Comma-separated list of packages to exclude from camera protection e.g. |
| 560 | "com.android.systemui,com.android.xyz" --> |
| 561 | <string translatable="false" name="config_cameraProtectionExcludedPackages"></string> |
| 562 | |
Evan Laird | 1698145 | 2020-02-21 14:33:42 -0500 | [diff] [blame] | 563 | <!-- Flag to turn on the rendering of the above path or not --> |
| 564 | <bool name="config_enableDisplayCutoutProtection">false</bool> |
| 565 | |
Matt Pietal | 5459e77 | 2020-05-28 17:18:26 -0400 | [diff] [blame] | 566 | <!-- Controls can query 2 preferred applications for limited number of suggested controls. |
| 567 | This config value should contain a list of package names of thoses preferred applications. |
Matt Pietal | 6126644 | 2020-03-17 12:53:44 -0400 | [diff] [blame] | 568 | --> |
Matt Pietal | 5459e77 | 2020-05-28 17:18:26 -0400 | [diff] [blame] | 569 | <string-array translatable="false" name="config_controlsPreferredPackages" /> |
Matt Pietal | 5f478c7 | 2020-04-01 15:53:54 -0400 | [diff] [blame] | 570 | |
| 571 | <!-- Max number of columns for quick controls area --> |
| 572 | <integer name="controls_max_columns">2</integer> |
Aran Ink | cf03827 | 2020-03-31 17:48:37 -0400 | [diff] [blame] | 573 | |
Beth Thibodeau | 65c210b | 2021-03-17 13:36:11 -0400 | [diff] [blame] | 574 | <!-- Max number of columns for power menu lite --> |
| 575 | <integer name="power_menu_lite_max_columns">2</integer> |
| 576 | <!-- Max number of rows for power menu lite --> |
| 577 | <integer name="power_menu_lite_max_rows">4</integer> |
Aran Ink | cf03827 | 2020-03-31 17:48:37 -0400 | [diff] [blame] | 578 | |
Matt Pietal | 5f478c7 | 2020-04-01 15:53:54 -0400 | [diff] [blame] | 579 | <!-- If the dp width of the available space is <= this value, potentially adjust the number |
| 580 | of columns--> |
| 581 | <integer name="controls_max_columns_adjust_below_width_dp">320</integer> |
| 582 | <!-- If the config font scale is >= this value, potentially adjust the number of columns--> |
| 583 | <item name="controls_max_columns_adjust_above_font_scale" translatable="false" format="float" type="dimen">1.25</item> |
Bill Lin | 1045477 | 2020-04-24 16:48:42 +0800 | [diff] [blame] | 584 | |
Galia Peycheva | f538f0d | 2020-08-05 15:52:35 +0200 | [diff] [blame] | 585 | <!-- Show a separate icon for low and high volume on the volume dialog --> |
| 586 | <bool name="config_showLowMediaVolumeIcon">false</bool> |
Galia Peycheva | b1af5d9 | 2020-09-22 16:36:35 +0200 | [diff] [blame] | 587 | |
| 588 | <!-- Change the volume row tint when it is inactive, i.e. when it is being dismissed --> |
| 589 | <bool name="config_changeVolumeRowTintWhenInactive">true</bool> |
Galia Peycheva | ab1b941 | 2020-09-22 17:01:14 +0200 | [diff] [blame] | 590 | |
| 591 | <!-- The duraction of the show animation for the volume dialog in milliseconds --> |
| 592 | <integer name="config_dialogShowAnimationDurationMs">300</integer> |
| 593 | |
| 594 | <!-- The duraction of the hide animation for the volume dialog in milliseconds --> |
| 595 | <integer name="config_dialogHideAnimationDurationMs">250</integer> |
Evan Laird | ab6df3a | 2020-09-30 15:04:37 -0400 | [diff] [blame] | 596 | |
| 597 | <!-- Whether or not to show a notification for an unknown battery state --> |
| 598 | <bool name="config_showNotificationForUnknownBatteryState">false</bool> |
| 599 | <!-- content URL in a notification when ACTION_BATTERY_CHANGED.EXTRA_PRESENT field is false --> |
| 600 | <string translatable="false" name="config_batteryStateUnknownUrl"></string> |
Himanshu Jaju | 4f3f64f | 2020-10-28 09:10:16 +0000 | [diff] [blame] | 601 | |
Matthew Fritze | cc0f89b | 2021-03-11 08:43:17 -0800 | [diff] [blame] | 602 | <!-- Package name of the preferred system app to perform eSOS action --> |
| 603 | <string name="config_preferredEmergencySosPackage" translatable="false"></string> |
| 604 | |
Nicolo' Mazzucato | ac82db4 | 2022-07-27 14:19:25 +0000 | [diff] [blame] | 605 | <!-- Whether to show the side fps hint while on bouncer --> |
Nicolo' Mazzucato | a799f10 | 2022-12-02 17:42:24 +0000 | [diff] [blame] | 606 | <bool name="config_show_sidefps_hint_on_bouncer">true</bool> |
Nicolo' Mazzucato | ac82db4 | 2022-07-27 14:19:25 +0000 | [diff] [blame] | 607 | |
Chandru S | cd933eed | 2023-04-25 12:11:27 -0700 | [diff] [blame] | 608 | <!-- Max number of lines we want to show for the bouncer secondary message --> |
| 609 | <integer name="bouncer_secondary_message_lines">2</integer> |
| 610 | |
Alex Florescu | f9d5abc | 2021-01-27 16:26:17 +0000 | [diff] [blame] | 611 | <!-- Whether to use the split 2-column notification shade --> |
| 612 | <bool name="config_use_split_notification_shade">false</bool> |
Winson Chung | 1485f80 | 2021-02-17 14:53:22 -0800 | [diff] [blame] | 613 | |
axfordjc | 2a9dd99 | 2023-09-06 16:09:44 +0000 | [diff] [blame] | 614 | <!-- Whether to force split shade. |
| 615 | For now, this value has effect only when flag lockscreen.enable_landscape is enabled. |
axfordjc | f312504 | 2023-09-28 12:58:33 +0000 | [diff] [blame] | 616 | TODO (b/293252410) - change this comment/resource when flag is enabled --> |
axfordjc | 2a9dd99 | 2023-09-06 16:09:44 +0000 | [diff] [blame] | 617 | <bool name="force_config_use_split_notification_shade">false</bool> |
| 618 | |
Michal Brzezinski | 5ad1ec1 | 2022-03-21 15:48:59 +0000 | [diff] [blame] | 619 | <!-- Whether we use large screen shade header which takes only one row compared to QS header --> |
| 620 | <bool name="config_use_large_screen_shade_header">false</bool> |
| 621 | |
Ben Lin | 182787a | 2022-01-21 18:51:59 -0800 | [diff] [blame] | 622 | <!-- Whether notification header should never show section headers. --> |
| 623 | <bool name="config_notification_never_show_section_headers">false</bool> |
| 624 | |
Beverly | 1c38e6d | 2021-03-31 16:10:33 -0400 | [diff] [blame] | 625 | <!-- Default udfps icon. Same path as ic_fingerprint.xml --> |
| 626 | <string name="config_udfpsIcon" translatable="false"> |
| 627 | M25.5,16.3283C28.47,14.8433 31.9167,14 35.5834,14C39.2501,14 42.6968,14.8433 45.6668,16.3283 |
| 628 | M20,28.6669C22.7683,24.3402 28.7084,21.3335 35.5834,21.3335C42.4585,21.3335 48.3985, |
| 629 | 24.3402 51.1669,28.6669 |
| 630 | M22.8607,47.0002C21.834,44.3235 21.834,41.5002 21.834,41.5002C21.834, |
| 631 | 34.4051 27.7374,28.6667 35.5841,28.6667C43.4308,28.6667 49.3341,34.4051 49.3341,41.5002 |
| 632 | M49.3344,41.5003V42.0319C49.3344,44.7636 47.1161,47.0003 44.3661,47.0003C41.9461, |
| 633 | 47.0003 39.8744,45.2403 39.471,42.857L38.9577, |
| 634 | 39.7769C38.591,37.5953 36.7027,36.0002 34.5027, |
| 635 | 36.0002C26.5826,36.0002 29.846,49.1087 35.291,50.6487 |
| 636 | M44.9713,54.6267C42.5513,56.7167 39.2879,58.0001 35.5846,58.0001C32.2296, |
| 637 | 58.0001 29.2229,56.9551 26.8945,55.195 |
| 638 | </string> |
| 639 | |
Beverly | 7e5d0d5 | 2022-06-06 16:08:11 +0000 | [diff] [blame] | 640 | <!-- The time (in ms) needed to trigger the lock icon view's long-press affordance --> |
| 641 | <integer name="config_lockIconLongPress" translatable="false">200</integer> |
| 642 | |
Dan Sandler | f22cf3d | 2021-03-23 23:38:00 -0400 | [diff] [blame] | 643 | <!-- package name of a built-in camera app to use to restrict implicit intent resolution |
| 644 | when the double-press power gesture is used. Ignored if empty. --> |
| 645 | <string translatable="false" name="config_cameraGesturePackage"></string> |
| 646 | |
Philip Junker | f3c1ab4 | 2021-02-10 18:47:07 +0100 | [diff] [blame] | 647 | <!-- Whether a transition of ACTIVITY_TYPE_DREAM to the home app should play a home sound |
| 648 | effect --> |
| 649 | <bool name="config_playHomeSoundAfterDream">false</bool> |
| 650 | |
| 651 | <!-- Whether a transition of ACTIVITY_TYPE_ASSISTANT to the home app should play a home sound |
| 652 | effect --> |
| 653 | <bool name="config_playHomeSoundAfterAssistant">false</bool> |
Galia Peycheva | 6aa3a8f | 2021-03-19 14:25:23 +0100 | [diff] [blame] | 654 | |
| 655 | <!-- Whether to use window background blur for the volume dialog. --> |
| 656 | <bool name="config_volumeDialogUseBackgroundBlur">false</bool> |
Beverly | 764d281 | 2021-03-23 14:02:27 -0400 | [diff] [blame] | 657 | |
Shawn Lin | 9f0a677 | 2023-12-19 07:27:16 +0000 | [diff] [blame] | 658 | <!-- The properties of the face auth front camera for outer display in pixels --> |
Beverly | 764d281 | 2021-03-23 14:02:27 -0400 | [diff] [blame] | 659 | <integer-array name="config_face_auth_props"> |
| 660 | <!-- sensorLocationX --> |
| 661 | <!-- sensorLocationY --> |
| 662 | <!--sensorRadius --> |
| 663 | </integer-array> |
Beverly | 25be657 | 2021-04-07 15:04:15 -0400 | [diff] [blame] | 664 | |
Shawn Lin | 9f0a677 | 2023-12-19 07:27:16 +0000 | [diff] [blame] | 665 | <!-- The properties of the face auth front camera for inner display in pixels --> |
| 666 | <integer-array name="config_inner_face_auth_props"> |
| 667 | <!-- sensorLocationX --> |
| 668 | <!-- sensorLocationY --> |
| 669 | <!--sensorRadius --> |
| 670 | </integer-array> |
| 671 | |
Curtis Belmonte | a209400 | 2021-04-12 18:15:10 -0700 | [diff] [blame] | 672 | <!-- Overrides the behavior of the face unlock keyguard bypass setting: |
| 673 | 0 - Don't override the setting (default) |
| 674 | 1 - Override the setting to always bypass keyguard |
| 675 | 2 - Override the setting to never bypass keyguard --> |
| 676 | <integer name="config_face_unlock_bypass_override">0</integer> |
Bryce Lee | 4ffc67d | 2021-07-21 12:51:50 -0700 | [diff] [blame] | 677 | |
Beverly | 41cee29 | 2022-09-12 20:29:27 +0000 | [diff] [blame] | 678 | <!-- Messages that should NOT be shown to the user during face authentication on keyguard. |
| 679 | This includes both lockscreen and bouncer. This should be used to hide messages that may be |
| 680 | too chatty or messages that the user can't do much about. Entries are defined in |
| 681 | android.hardware.biometrics.face@1.0 types.hal. |
| 682 | |
| 683 | Although not visibly shown to the user, these acquired messages (sent per face auth frame) |
| 684 | are still counted towards the total frames to determine whether a deferred message |
| 685 | (see config_face_help_msgs_defer_until_timeout) meets the threshold % of frames to show on |
| 686 | face timeout. --> |
| 687 | <integer-array name="config_face_acquire_device_entry_ignorelist" translatable="false" > |
| 688 | </integer-array> |
| 689 | |
| 690 | <!-- Which face help messages to defer until face auth times out. If face auth is cancelled |
| 691 | or ends on another error, then the message is never surfaced. May also never surface |
| 692 | if it doesn't meet a threshold % of authentication frames specified by. |
| 693 | config_face_help_msgs_defer_until_timeout_threshold. --> |
| 694 | <integer-array name="config_face_help_msgs_defer_until_timeout"> |
| 695 | </integer-array> |
| 696 | |
Beverly | 7efc6d8 | 2023-08-22 21:38:34 +0000 | [diff] [blame] | 697 | <!-- Which face help messages to ignore when determining the % of frames that meet |
| 698 | config_face_help_msgs_defer_until_timeout_threshold --> |
| 699 | <integer-array name="config_face_help_msgs_ignore"> |
| 700 | <item>20</item> <!-- FACE_ACQUIRED_START --> |
| 701 | <item>23</item> <!-- FACE_ACQUIRED_UNKNOWN --> |
| 702 | <item>24</item> <!-- FACE_ACQUIRED_FIRST_FRAME_RECEIVED --> |
| 703 | </integer-array> |
| 704 | |
Beverly | 41cee29 | 2022-09-12 20:29:27 +0000 | [diff] [blame] | 705 | <!-- Percentage of face auth frames received required to show a deferred message at |
| 706 | FACE_ERROR_TIMEOUT. See config_face_help_msgs_defer_until_timeout for messages |
| 707 | that are deferred.--> |
| 708 | <item name="config_face_help_msgs_defer_until_timeout_threshold" |
| 709 | translatable="false" format="float" type="dimen"> |
| 710 | .75 |
| 711 | </item> |
| 712 | |
Beverly | 8548493 | 2022-05-16 18:43:53 +0000 | [diff] [blame] | 713 | <!-- Which face help messages to surface when fingerprint is also enrolled. |
| 714 | Message ids correspond with the acquired ids in BiometricFaceConstants --> |
| 715 | <integer-array name="config_face_help_msgs_when_fingerprint_enrolled"> |
Beverly | cb17519 | 2022-08-22 20:09:19 +0000 | [diff] [blame] | 716 | <item>3</item> <!-- TOO_DARK --> |
| 717 | <item>25</item> <!-- DARK_GLASSES --> |
| 718 | <item>26</item> <!-- MOUTH_COVERING_DETECTED --> |
Beverly | 8548493 | 2022-05-16 18:43:53 +0000 | [diff] [blame] | 719 | </integer-array> |
| 720 | |
Beverly | ccc0f1d | 2023-02-10 20:10:05 +0000 | [diff] [blame] | 721 | <!-- Which device wake-ups will trigger passive auth. These values correspond with |
Beverly | 897dcdb | 2022-10-19 19:17:34 +0000 | [diff] [blame] | 722 | PowerManager#WakeReason. --> |
| 723 | <integer-array name="config_face_auth_wake_up_triggers"> |
| 724 | <item>1</item> <!-- WAKE_REASON_POWER_BUTTON --> |
| 725 | <item>4</item> <!-- WAKE_REASON_GESTURE --> |
| 726 | <item>6</item> <!-- WAKE_REASON_WAKE_KEY --> |
| 727 | <item>7</item> <!-- WAKE_REASON_WAKE_MOTION --> |
| 728 | <item>9</item> <!-- WAKE_REASON_LID --> |
Beverly | ccc0f1d | 2023-02-10 20:10:05 +0000 | [diff] [blame] | 729 | <item>12</item> <!-- WAKE_REASON_UNFOLD_DEVICE --> |
Beverly | 632fee0 | 2023-01-03 18:13:01 +0000 | [diff] [blame] | 730 | <item>15</item> <!-- WAKE_REASON_TAP --> |
| 731 | <item>16</item> <!-- WAKE_REASON_LIFT --> |
| 732 | <item>17</item> <!-- WAKE_REASON_BIOMETRIC --> |
Beverly | 897dcdb | 2022-10-19 19:17:34 +0000 | [diff] [blame] | 733 | </integer-array> |
| 734 | |
lbill | b727c48 | 2022-12-06 20:34:20 +0000 | [diff] [blame] | 735 | <!-- Whether to support posture listening for face auth, default is 0(DEVICE_POSTURE_UNKNOWN) |
| 736 | means systemui will try listening on all postures. |
| 737 | 0 : DEVICE_POSTURE_UNKNOWN |
| 738 | 1 : DEVICE_POSTURE_CLOSED |
| 739 | 2 : DEVICE_POSTURE_HALF_OPENED |
| 740 | 3 : DEVICE_POSTURE_OPENED |
| 741 | 4 : DEVICE_POSTURE_FLIPPED |
| 742 | --> |
| 743 | <integer name="config_face_auth_supported_posture">0</integer> |
| 744 | |
Beverly | de61860 | 2023-06-22 18:31:45 +0000 | [diff] [blame] | 745 | <!-- Components to allow running fingerprint listening if their activity is occluding the lock screen. --> |
| 746 | <string-array name="config_fingerprint_listen_on_occluding_activity_packages" translatable="false"> |
| 747 | </string-array> |
| 748 | |
Bryce Lee | 4ffc67d | 2021-07-21 12:51:50 -0700 | [diff] [blame] | 749 | <!-- Whether the communal service should be enabled --> |
| 750 | <bool name="config_communalServiceEnabled">false</bool> |
Bryce Lee | bb34329 | 2021-07-22 22:31:04 -0700 | [diff] [blame] | 751 | |
Coco Duan | d8ef181 | 2023-10-19 21:35:01 +0000 | [diff] [blame] | 752 | <!-- Name of the database that stores info of widgets shown on glanceable hub --> |
| 753 | <string name="config_communalDatabase" translatable="false">communal_db</string> |
Coco Duan | 42d848a | 2023-10-13 05:11:02 +0000 | [diff] [blame] | 754 | <!-- Component names of allowed communal widgets --> |
| 755 | <string-array name="config_communalWidgetAllowlist" translatable="false" /> |
| 756 | |
Bryce Lee | bb34329 | 2021-07-22 22:31:04 -0700 | [diff] [blame] | 757 | <!-- Component name of communal source service --> |
| 758 | <string name="config_communalSourceComponent" translatable="false">@null</string> |
Bryce Lee | a47fea5 | 2021-07-28 14:07:52 -0700 | [diff] [blame] | 759 | |
Darrell Shi | eaf6c02 | 2021-10-14 21:57:41 +0000 | [diff] [blame] | 760 | <!-- This value is used when calculating whether the device is in ambient light mode. It is |
| 761 | light mode when the light sensor sample value exceeds above this value. --> |
Darrell Shi | 7581623 | 2022-08-31 18:02:33 +0000 | [diff] [blame] | 762 | <item name="config_ambientLightModeThreshold" translatable="false" format="float" type="dimen"> |
| 763 | 0.8 |
| 764 | </item> |
Darrell Shi | eaf6c02 | 2021-10-14 21:57:41 +0000 | [diff] [blame] | 765 | |
| 766 | <!-- This value is used when calculating whether the device is in ambient dark mode. It is |
| 767 | dark mode when the light sensor sample value drops below this value. --> |
Darrell Shi | 7581623 | 2022-08-31 18:02:33 +0000 | [diff] [blame] | 768 | <item name="config_ambientDarkModeThreshold" translatable="false" format="float" type="dimen"> |
| 769 | 0.4 |
| 770 | </item> |
Darrell Shi | eaf6c02 | 2021-10-14 21:57:41 +0000 | [diff] [blame] | 771 | |
| 772 | <!-- This value is used when calculating whether the device is in ambient light mode. Each |
| 773 | sample contains light sensor events from this span of time duration. --> |
| 774 | <integer name="config_ambientLightModeSamplingSpanMillis">10000</integer> |
| 775 | |
| 776 | <!-- This value is used when calculating whether the device is in ambient dark mode. Each |
| 777 | sample contains light sensor events from this span of time duration. --> |
| 778 | <integer name="config_ambientDarkModeSamplingSpanMillis">2000</integer> |
| 779 | |
| 780 | <!-- This value is used when calculating whether the device is in ambient light mode. The |
| 781 | samples are collected at this frequency. --> |
| 782 | <integer name="config_ambientLightModeSamplingFrequencyMillis">1000</integer> |
| 783 | |
| 784 | <!-- This value is used when calculating whether the device is in ambient dark mode. The |
| 785 | samples are collected at this frequency. --> |
| 786 | <integer name="config_ambientDarkModeSamplingFrequencyMillis">500</integer> |
| 787 | |
Bryce Lee | 8600c8e | 2021-07-30 18:39:28 -0700 | [diff] [blame] | 788 | <!-- The maximum number of attempts to reconnect to the communal source target after failing |
| 789 | to connect --> |
| 790 | <integer name="config_communalSourceMaxReconnectAttempts">10</integer> |
| 791 | |
| 792 | <!-- The initial amount of time (in milliseconds) before attempting to reconnect to a communal |
| 793 | source. This value is used as the base value in an exponential backoff in subsequent |
| 794 | attempts. --> |
| 795 | <integer name="config_communalSourceReconnectBaseDelay">1000</integer> |
e.min | b93ec15 | 2021-05-04 12:52:36 +0900 | [diff] [blame] | 796 | |
Bryce Lee | f437806 | 2021-11-19 20:02:10 -0800 | [diff] [blame] | 797 | <!-- The minimum time in milliseconds for a connection to be considered connected. Any time --> |
| 798 | <integer name="config_connectionMinDuration">1000</integer> |
| 799 | |
e.min | b93ec15 | 2021-05-04 12:52:36 +0900 | [diff] [blame] | 800 | <!-- Flag to activate notification to contents feature --> |
Alejandro Nijamkin | 90873be | 2022-05-27 13:18:50 -0700 | [diff] [blame] | 801 | <bool name="config_notificationToContents">false</bool> |
shawnlin | 6ec70a4 | 2021-08-16 16:39:27 +0800 | [diff] [blame] | 802 | |
shawnlin | 6ec70a4 | 2021-08-16 16:39:27 +0800 | [diff] [blame] | 803 | <!-- The rounded corner drawable for each display in a multi-display device. |
| 804 | {@see com.android.internal.R.array#config_displayUniqueIdArray} --> |
| 805 | <array name="config_roundedCornerDrawableArray"> |
| 806 | <item>@drawable/rounded</item> |
| 807 | <item>@drawable/rounded_secondary</item> |
| 808 | </array> |
| 809 | |
| 810 | <!-- The top rounded corner drawable for each display in a multi-display device. |
| 811 | {@see com.android.internal.R.array#config_displayUniqueIdArray} --> |
| 812 | <array name="config_roundedCornerTopDrawableArray"> |
| 813 | <item>@drawable/rounded_corner_top</item> |
| 814 | <item>@drawable/rounded_corner_top_secondary</item> |
| 815 | </array> |
| 816 | |
| 817 | <!-- The bottom rounded corner drawable for each display in a multi-display device. |
| 818 | {@see com.android.internal.R.array#config_displayUniqueIdArray} --> |
| 819 | <array name="config_roundedCornerBottomDrawableArray"> |
| 820 | <item>@drawable/rounded_corner_bottom</item> |
| 821 | <item>@drawable/rounded_corner_bottom_secondary</item> |
| 822 | </array> |
Milton Wu | 0f3e6b7 | 2021-09-11 12:24:49 +0000 | [diff] [blame] | 823 | |
| 824 | <!-- Flag to enable privacy dot views, it shall be true for normal case --> |
| 825 | <bool name="config_enablePrivacyDot">true</bool> |
| 826 | |
Alex Stetson | 461f055 | 2023-08-01 10:52:15 -0700 | [diff] [blame] | 827 | <!-- Flag to enable privacy chip animation, it shall be true for normal case --> |
| 828 | <bool name="config_enablePrivacyChipAnimation">true</bool> |
| 829 | |
Bryce Lee | 0106a9f | 2021-11-08 17:04:10 -0800 | [diff] [blame] | 830 | <!-- Class for the communal source connector to be used --> |
| 831 | <string name="config_communalSourceConnector" translatable="false"></string> |
| 832 | |
Will | 8624015 | 2022-01-12 16:54:35 -0800 | [diff] [blame] | 833 | <!-- How often in milliseconds to jitter the dream overlay in order to avoid burn-in. --> |
Will | 20c34f3 | 2022-04-20 15:50:48 -0700 | [diff] [blame] | 834 | <integer name="config_dreamOverlayBurnInProtectionUpdateIntervalMillis">1000</integer> |
Will | 8692fcd | 2022-02-17 17:09:16 -0800 | [diff] [blame] | 835 | |
| 836 | <!-- How long in milliseconds before full burn-in protection is achieved. --> |
| 837 | <integer name="config_dreamOverlayMillisUntilFullJitter">240000</integer> |
Bryce Lee | d3237af | 2022-02-04 13:03:39 -0800 | [diff] [blame] | 838 | |
| 839 | <integer name="complicationFadeOutMs">500</integer> |
| 840 | |
| 841 | <integer name="complicationFadeInMs">500</integer> |
| 842 | |
| 843 | <integer name="complicationRestoreMs">1000</integer> |
Timi Rautamäki | 1ae9c8d | 2021-11-05 13:10:22 +0000 | [diff] [blame] | 844 | |
Lucas Silva | 0912054 | 2022-11-03 15:04:56 -0400 | [diff] [blame] | 845 | <integer name="complicationFadeOutDelayMs">200</integer> |
| 846 | |
Darrell Shi | 9ecc627 | 2022-10-27 00:45:55 +0000 | [diff] [blame] | 847 | <!-- Duration in milliseconds of the dream in un-blur animation. --> |
Darrell Shi | c9dd637 | 2022-12-13 22:34:08 +0000 | [diff] [blame] | 848 | <integer name="config_dreamOverlayInBlurDurationMs">250</integer> |
Darrell Shi | 9ecc627 | 2022-10-27 00:45:55 +0000 | [diff] [blame] | 849 | <!-- Duration in milliseconds of the dream in complications fade-in animation. --> |
Darrell Shi | c9dd637 | 2022-12-13 22:34:08 +0000 | [diff] [blame] | 850 | <integer name="config_dreamOverlayInComplicationsDurationMs">250</integer> |
| 851 | <!-- Duration in milliseconds of the y-translation animation when entering a dream --> |
William Xiao | eba5951 | 2023-02-23 15:02:02 -0800 | [diff] [blame] | 852 | <integer name="config_dreamOverlayInTranslationYDurationMs">1167</integer> |
Darrell Shi | 9ecc627 | 2022-10-27 00:45:55 +0000 | [diff] [blame] | 853 | |
William Xiao | b6b5286f | 2022-12-08 18:49:38 -0800 | [diff] [blame] | 854 | <!-- Delay in milliseconds before switching to the dock user and dreaming if a secondary user is |
| 855 | active when the device is locked and docked. 0 indicates disabled. Default is 1 minute. --> |
| 856 | <integer name="config_defaultDockUserTimeoutMs">60000</integer> |
| 857 | |
Timi Rautamäki | 1ae9c8d | 2021-11-05 13:10:22 +0000 | [diff] [blame] | 858 | <!-- Icons that don't show in a collapsed non-keyguard statusbar --> |
| 859 | <string-array name="config_collapsed_statusbar_icon_blocklist" translatable="false"> |
| 860 | <item>@*android:string/status_bar_volume</item> |
| 861 | <item>@*android:string/status_bar_alarm_clock</item> |
| 862 | <item>@*android:string/status_bar_call_strength</item> |
| 863 | </string-array> |
| 864 | |
| 865 | <!-- Icons that don't show in a collapsed statusbar on keyguard --> |
| 866 | <string-array name="config_keyguard_statusbar_icon_blocklist" translatable="false"> |
| 867 | <item>@*android:string/status_bar_volume</item> |
| 868 | <item>@*android:string/status_bar_alarm_clock</item> |
| 869 | <item>@*android:string/status_bar_call_strength</item> |
| 870 | </string-array> |
Aaron Liu | 628fc53 | 2022-04-19 16:45:35 +0000 | [diff] [blame] | 871 | |
| 872 | <!-- Packages of SystemUI --> |
| 873 | <string-array name="system_ui_packages" translatable="false"> |
| 874 | <item>com.android.keyguard</item> |
| 875 | <item>com.android.systemui</item> |
| 876 | </string-array> |
Lucas Silva | ee76de8 | 2022-06-13 11:16:36 -0400 | [diff] [blame] | 877 | |
Fabian Kozynski | 17bb521 | 2022-10-18 14:42:19 -0400 | [diff] [blame] | 878 | <!-- Whether the device should display hotspot UI. If true, UI will display only when tethering |
| 879 | is available. If false, UI will never show regardless of tethering availability" --> |
| 880 | <bool name="config_show_wifi_tethering">true</bool> |
Alejandro Nijamkin | 2719171 | 2022-11-01 13:35:24 -0700 | [diff] [blame] | 881 | |
| 882 | <!-- A collection of "slots" for placing quick affordance actions on the lock screen when the |
| 883 | device is locked. Each item is a string consisting of two parts, separated by the ':' character. |
| 884 | The first part is the unique ID for the slot, it is not a human-visible name, but should still |
| 885 | be unique across all slots specified. The second part is the capacity and must be a positive |
| 886 | integer; this is how many quick affordance actions that user is allowed to add to the slot. --> |
| 887 | <string-array name="config_keyguardQuickAffordanceSlots" translatable="false"> |
| 888 | <item>bottom_start:1</item> |
| 889 | <item>bottom_end:1</item> |
| 890 | </string-array> |
| 891 | |
Alejandro Nijamkin | 694e0ab | 2022-11-04 15:35:25 -0700 | [diff] [blame] | 892 | <!-- A collection of defaults for the quick affordances on the lock screen. Each item must be a |
| 893 | string with two parts: the ID of the slot and the comma-delimited list of affordance IDs, |
| 894 | separated by a colon ':' character. For example: <item>bottom_end:home,wallet</item>. The |
| 895 | default is displayed by System UI as long as the user hasn't made a different choice for that |
| 896 | slot. If the user did make a choice, even if the choice is the "None" option, the default is |
| 897 | ignored. --> |
| 898 | <string-array name="config_keyguardQuickAffordanceDefaults" translatable="false"> |
Alejandro Nijamkin | 20e55ef | 2022-12-11 16:17:56 -0800 | [diff] [blame] | 899 | <item>bottom_start:home</item> |
| 900 | <item>bottom_end:wallet</item> |
Alejandro Nijamkin | 694e0ab | 2022-11-04 15:35:25 -0700 | [diff] [blame] | 901 | </string-array> |
| 902 | |
Alejandro Nijamkin | 73260bd | 2023-01-20 16:40:42 -0800 | [diff] [blame] | 903 | <!-- Package name for the app that implements the wallpaper picker. --> |
| 904 | <string name="config_wallpaperPickerPackage" translatable="false"> |
| 905 | com.android.wallpaper |
| 906 | </string> |
Hawkwood Glazier | cbf072c | 2023-02-13 22:38:51 +0000 | [diff] [blame] | 907 | |
Winson Chung | 0d0a677 | 2023-01-24 21:20:06 +0000 | [diff] [blame] | 908 | <!-- Whether the floating rotation button should be on the left/right in the device's natural |
| 909 | orientation --> |
| 910 | <bool name="floating_rotation_button_position_left">true</bool> |
Eun-Jeong Shin | ec42c2a | 2023-01-20 13:32:35 -0800 | [diff] [blame] | 911 | |
| 912 | <!-- Configuration to set Learn more in device logs as URL link --> |
| 913 | <bool name="log_access_confirmation_learn_more_as_link">true</bool> |
Alejandro Nijamkin | 00b49c0 | 2023-03-07 17:32:58 -0800 | [diff] [blame] | 914 | |
| 915 | <!-- [START] MULTI SHADE --> |
| 916 | <!-- Whether the device should use dual shade. If false, the device uses single shade. --> |
| 917 | <bool name="dual_shade_enabled">true</bool> |
| 918 | <!-- |
| 919 | When in dual shade, where should the horizontal split be on the screen to help determine whether |
| 920 | the user is pulling down the left shade or the right shade. Must be between 0.0 and 1.0, |
| 921 | inclusive. In other words: how much of the left-hand side of the screen, when pulled down on, |
| 922 | would reveal the left-hand side shade. |
| 923 | |
| 924 | More concretely: |
| 925 | A value of 0.67 means that the left two-thirds of the screen are dedicated to the left-hand side |
| 926 | shade and the remaining one-third of the screen on the right is dedicated to the right-hand side |
| 927 | shade. |
| 928 | --> |
| 929 | <dimen name="dual_shade_split_fraction">0.67</dimen> |
| 930 | <!-- Width of the left-hand side shade. --> |
| 931 | <dimen name="left_shade_width">436dp</dimen> |
| 932 | <!-- Width of the right-hand side shade. --> |
| 933 | <dimen name="right_shade_width">436dp</dimen> |
| 934 | <!-- |
| 935 | Opaque version of the scrim that shows up behind dual shades. The alpha channel is driven |
| 936 | programmatically. |
| 937 | --> |
| 938 | <color name="opaque_scrim">#D9D9D9</color> |
| 939 | <!-- Maximum opacity when the scrim that shows up behind the dual shades is fully visible. --> |
| 940 | <dimen name="dual_shade_scrim_alpha">0.1</dimen> |
| 941 | <!-- |
| 942 | The amount that the user must swipe down when the shade is fully collapsed to automatically |
| 943 | expand once the user lets go of the shade. If the user swipes less than this amount, the shade |
| 944 | will automatically revert back to fully collapsed once the user stops swiping. |
| 945 | --> |
| 946 | <dimen name="shade_swipe_expand_threshold">0.5</dimen> |
| 947 | <!-- |
| 948 | The amount that the user must swipe up when the shade is fully expanded to automatically |
| 949 | collapse once the user lets go of the shade. If the user swipes less than this amount, the shade |
| 950 | will automatically revert back to fully expanded once the user stops swiping. |
| 951 | --> |
| 952 | <dimen name="shade_swipe_collapse_threshold">0.5</dimen> |
| 953 | <!-- [END] MULTI SHADE --> |
Beverly | b585614 | 2023-04-27 18:20:13 +0000 | [diff] [blame] | 954 | |
| 955 | <!-- Time (in ms) to delay the bouncer views from showing when passive auth may be used for |
| 956 | device entry. --> |
Beverly | f9294b1 | 2023-05-08 18:21:54 +0000 | [diff] [blame] | 957 | <integer name="primary_bouncer_passive_auth_delay">500</integer> |
Alejandro Nijamkin | a7fab11 | 2023-06-05 11:05:52 -0700 | [diff] [blame] | 958 | |
| 959 | <!-- |
| 960 | The package name of the app store app. If empty, features using this should be gracefully |
| 961 | disabled. |
| 962 | --> |
| 963 | <string name="config_appStorePackageName" translatable="false"></string> |
| 964 | |
| 965 | <!-- Template for a link that leads to an app page in the relevant app store. If empty, |
| 966 | features using this should be gracefully disabled. If not empty, it must include a |
| 967 | "$packageName" part that will be replaced by the code with the package name of the target app. |
| 968 | --> |
| 969 | <string name="config_appStoreAppLinkTemplate" translatable="false"></string> |
Will Leshner | 8bbce682 | 2023-08-09 15:23:52 -0700 | [diff] [blame] | 970 | |
| 971 | <!-- Flag controlling whether visual query attention detection has been enabled. --> |
| 972 | <bool name="config_enableVisualQueryAttentionDetection">false</bool> |
Alejandro Nijamkin | c460990 | 2023-09-01 14:07:31 -0700 | [diff] [blame] | 973 | |
Nicolò Mazzucato | 2f6c2a3 | 2023-10-12 18:33:31 +0200 | [diff] [blame] | 974 | <!-- Whether to show bottom sheets edge to edge --> |
| 975 | <bool name="config_edgeToEdgeBottomSheetDialog">true</bool> |
| 976 | |
Chandru S | 359e30f | 2024-01-03 17:38:33 -0800 | [diff] [blame] | 977 | <!-- Device specific config that controls whether rest to unlock feature is supported. --> |
| 978 | <bool name="config_restToUnlockSupported">false</bool> |
| 979 | |
Alejandro Nijamkin | c460990 | 2023-09-01 14:07:31 -0700 | [diff] [blame] | 980 | <!-- |
Chandru S | 865a368 | 2023-11-21 10:41:09 +0530 | [diff] [blame] | 981 | Time in milliseconds the user has to touch the side FPS sensor to successfully authenticate when |
| 982 | the screen is turned off with AOD not enabled. |
| 983 | TODO(b/302332976) Get this value from the HAL if they can provide an API for it. |
| 984 | --> |
| 985 | <integer name="config_restToUnlockDurationScreenOff">500</integer> |
| 986 | <!-- |
Chandru S | 60f9c51 | 2023-10-06 11:39:34 -0700 | [diff] [blame] | 987 | Time in milliseconds the user has to touch the side FPS sensor to successfully authenticate |
| 988 | TODO(b/302332976) Get this value from the HAL if they can provide an API for it. |
| 989 | --> |
Chandru S | 865a368 | 2023-11-21 10:41:09 +0530 | [diff] [blame] | 990 | <integer name="config_restToUnlockDurationDefault">300</integer> |
Chandru S | 60f9c51 | 2023-10-06 11:39:34 -0700 | [diff] [blame] | 991 | |
| 992 | <!-- |
| 993 | Width in pixels of the Side FPS sensor. |
| 994 | --> |
| 995 | <integer name="config_sfpsSensorWidth">200</integer> |
Isaac Chai | a9474bb | 2023-10-12 16:57:33 +0000 | [diff] [blame] | 996 | |
Prince | 9515687 | 2023-11-21 20:51:21 +0000 | [diff] [blame] | 997 | <!-- Component name for Home Panel Dream --> |
| 998 | <string name="config_homePanelDreamComponent" translatable="false"> |
Prince | dd77019 | 2024-01-03 17:08:30 +0000 | [diff] [blame] | 999 | com.android.systemui/com.android.systemui.dreams.homecontrols.HomeControlsDreamService |
Prince | 9515687 | 2023-11-21 20:51:21 +0000 | [diff] [blame] | 1000 | </string> |
| 1001 | |
Isaac Chai | a9474bb | 2023-10-12 16:57:33 +0000 | [diff] [blame] | 1002 | <!-- |
| 1003 | They are service names that, if enabled, will cause the magnification settings button |
| 1004 | to never hide after timeout. |
| 1005 | --> |
| 1006 | <string-array name="services_always_show_magnification_settings" translatable="false"> |
| 1007 | <item>com.android.switchaccess.SwitchAccessService</item> |
| 1008 | <item>com.google.android.apps.accessibility.voiceaccess.JustSpeakService</item> |
| 1009 | </string-array> |
Cutter Coryell | ea9181e | 2023-12-20 14:39:24 -0800 | [diff] [blame] | 1010 | |
| 1011 | <!-- Whether to use a machine learning model for back gesture falsing. --> |
| 1012 | <bool name="config_useBackGestureML">true</bool> |
Anton Potapov | f10d9b3 | 2024-02-23 12:40:57 +0000 | [diff] [blame] | 1013 | |
| 1014 | <!-- Whether volume panel should use the large screen layout or not --> |
| 1015 | <bool name="volume_panel_is_large_screen">false</bool> |
Joe Onorato | 798ac4c | 2010-05-27 16:39:00 -0400 | [diff] [blame] | 1016 | </resources> |