blob: e181d079fc6db7fab1b21fcc706f5135087a29d3 [file] [log] [blame]
Joe Onorato798ac4c2010-05-27 16:39:00 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2009, The Android Open Source Project
5**
Jim Miller64fffad2012-05-17 17:01:15 -07006** 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 Onorato798ac4c2010-05-27 16:39:00 -04009**
Jim Miller64fffad2012-05-17 17:01:15 -070010** http://www.apache.org/licenses/LICENSE-2.0
Joe Onorato798ac4c2010-05-27 16:39:00 -040011**
Jim Miller64fffad2012-05-17 17:01:15 -070012** 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 Onorato798ac4c2010-05-27 16:39:00 -040016** 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 Chung2dbcf092018-10-24 13:00:41 -070023 <!-- 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 Onorato8595a3d2010-11-19 18:12:07 -080028 <!-- Whether or not we show the number in the bar. -->
Daniel Sandleraf084802011-07-22 13:02:07 -040029 <bool name="config_statusBarShowNumber">false</bool>
Joe Onorato8595a3d2010-11-19 18:12:07 -080030
Lucas Dupine90fead2019-06-12 16:22:41 -070031 <!-- For how long the lock screen can be on before the display turns off. -->
32 <integer name="config_lockScreenDisplayTimeout">10000</integer>
33
Oleksiy Avramchenkof9fc1282016-10-03 13:11:08 +020034 <!-- 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 Sandlerc26185b2012-08-29 15:49:53 -040040 <!-- 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 Lee25eb3d02014-04-22 12:39:26 +090043
Matthew Ng603b3292018-03-30 17:15:39 -070044 <!-- orientation of the dead zone when touches have recently occurred elsewhere on screen -->
45 <integer name="navigation_bar_deadzone_orientation">0</integer>
46
Brad Hinegardner5fbc8992023-05-11 20:59:45 +000047 <!-- 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 Sandler25bb8ee2012-08-30 17:10:50 -040053 <bool name="config_dead_zone_flash">false</bool>
Michael Jurkaadf0b212012-09-04 05:15:26 -070054
Matthew Ng3107d992017-11-21 15:56:19 -080055 <!-- 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 Linad15fe332018-06-13 19:26:15 +080061 <!-- The maximum number of tiles in the QuickQSPanel -->
Michal Brzezinski7d5d9952021-07-14 16:10:59 +010062 <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 Linad15fe332018-06-13 19:26:15 +080066
Winson Chungd63c59782012-09-05 17:34:41 -070067 <!-- The number of columns in the QuickSettings -->
Fabian Kozynskicd41fcd2021-04-13 15:31:19 -040068 <integer name="quick_settings_num_columns">2</integer>
Winson Chungd63c59782012-09-05 17:34:41 -070069
Jason Monk6573ef22016-04-06 12:37:18 -040070 <!-- The number of rows in the QuickSettings -->
Fabian Kozynskicd41fcd2021-04-13 15:31:19 -040071 <integer name="quick_settings_max_rows">4</integer>
John Spurlock73203eb2014-04-15 16:14:46 -040072
axfordjc65fc77cc2023-09-11 09:25:51 +000073 <!-- 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 Mikhail65c79662023-03-02 23:54:07 +000083 <!-- 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 Chungd63c59782012-09-05 17:34:41 -070087 <!-- The number of columns that the top level tiles span in the QuickSettings -->
Winson Chungd4726d02012-09-14 12:27:29 -070088
John Spurlockbceed062014-08-10 18:04:16 -040089 <!-- The default tiles to display in QuickSettings -->
90 <string name="quick_settings_tiles_default" translatable="false">
Nate Myren044edf12023-09-28 11:31:37 -070091 internet,bt,flashlight,dnd,alarm,airplane,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,custom(com.android.permissioncontroller/.permission.service.v33.SafetyCenterQsTileService)
Nate Myren259e73d2022-02-15 16:25:41 -080092 </string>
93
Nate Myrenf56ea2b2022-05-19 15:23:23 -070094 <!-- 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 Spurlockbceed062014-08-10 18:04:16 -040097 </string>
98
Zhen Zhangea2d2262019-05-13 18:15:50 -070099 <!-- The minimum number of tiles to display in QuickSettings -->
100 <integer name="quick_settings_min_num_tiles">6</integer>
101
Will Harmonbeb1f172016-06-06 14:52:40 -0700102 <!-- Tiles native to System UI. Order should match "quick_settings_tiles_default" -->
103 <string name="quick_settings_tiles_stock" translatable="false">
Stefan Andonian5327b112024-02-14 23:28:27 +0000104 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 Harmonbeb1f172016-06-06 14:52:40 -0700105 </string>
106
John Spurlockbceed062014-08-10 18:04:16 -0400107 <!-- The tiles to display in QuickSettings -->
108 <string name="quick_settings_tiles" translatable="false">default</string>
109
Sudheer Shankaad790492016-06-03 10:48:27 -0700110 <!-- The tiles to display in QuickSettings in retail mode -->
111 <string name="quick_settings_tiles_retail_mode" translatable="false">
Christine Franks2e28a9a2019-09-10 14:02:44 -0700112 night,dark,dnd,flashlight,rotation,location
Sudheer Shankaad790492016-06-03 10:48:27 -0700113 </string>
114
Fabian Kozynskia8d3df42020-04-29 13:58:38 -0400115 <!-- 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">
menghanliaad4eac2021-12-23 17:38:19 +0800119 <item>accessibility_display_daltonizer_enabled:color_correction</item>
Fabian Kozynskia8d3df42020-04-29 13:58:38 -0400120 <item>accessibility_display_inversion_enabled:inversion</item>
Jason Changb46dece2021-12-02 14:49:41 +0800121 <item>one_handed_mode_enabled:onehanded</item>
Candice Lo43920522023-03-15 11:06:48 +0000122 <item>accessibility_font_scaling_has_been_changed:font_scaling</item>
Fabian Kozynskia8d3df42020-04-29 13:58:38 -0400123 </string-array>
124
Beth Thibodeau50b665e2022-02-02 22:15:13 -0500125 <!-- Use collapsed layout for media player in landscape QQS -->
126 <bool name="config_quickSettingsMediaLandscapeCollapsed">true</bool>
127
Minming Qie2d48ca2017-03-10 13:56:44 +0800128 <!-- Show indicator for Wifi on but not connected. -->
129 <bool name="config_showWifiIndicatorWhenEnabled">false</bool>
130
Kevina97ea052018-09-11 13:53:18 -0700131 <!-- The number of milliseconds before the heads up notification auto-dismisses. -->
Selim Cinek2c97e5c2015-05-29 17:07:44 +0200132 <integer name="heads_up_notification_decay">5000</integer>
Chris Wren51c75102013-07-16 20:49:17 -0400133
Selim Cineke3c6e462019-06-24 19:37:06 -0700134 <!-- 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
Kevina97ea052018-09-11 13:53:18 -0700137 <!-- The number of milliseconds after a heads up notification is pushed back
Chris Wrena6d4fb62014-11-20 14:46:23 -0500138 before the app can interrupt again. -->
139 <integer name="heads_up_default_snooze_length_ms">60000</integer>
140
Chris Wren930ecca2014-11-12 17:43:41 -0500141 <!-- Minimum display time for a heads up notification, in milliseconds. -->
Selim Cinekb8f09cf2015-03-16 17:09:28 -0700142 <integer name="heads_up_notification_minimum_time">2000</integer>
Chris Wren930ecca2014-11-12 17:43:41 -0500143
Lync62846d2023-02-13 20:47:10 +0000144 <!-- Display time for a sticky heads up notification, in milliseconds. -->
145 <integer name="sticky_heads_up_notification_time">60000</integer>
146
Jeff DeCewb3727dc2021-05-07 14:27:44 -0400147 <!-- Whether to hide the notification header when the HUN is expanded. -->
148 <bool name="heads_up_notification_hides_header">false</bool>
149
Kevina97ea052018-09-11 13:53:18 -0700150 <!-- The number of milliseconds before the heads up notification accepts touches. -->
Selim Cinek684a4422015-04-15 16:18:39 -0700151 <integer name="touch_acceptance_delay">700</integer>
Winson Chung2f2ca082014-04-03 18:05:29 -0700152
Kevina97ea052018-09-11 13:53:18 -0700153 <!-- The number of milliseconds to extend ambient pulse by when prompted (e.g. on touch) -->
Lucas Dupind534c122019-07-16 18:48:59 -0700154 <integer name="ambient_notification_extension_time">10000</integer>
Kevina97ea052018-09-11 13:53:18 -0700155
Jorim Jaggid4a57442014-04-10 02:45:55 +0200156 <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
157 card. -->
Jeff DeCew43603d92021-06-08 22:53:18 -0400158 <integer name="keyguard_max_notification_count">-1</integer>
Jorim Jaggib7b61dd2014-05-21 15:45:07 +0200159
Adrian Roosa1e6b312017-03-28 16:20:34 -0700160 <!-- Doze: does this device support STATE_DOZE? -->
John Spurlocked69bd62014-07-23 11:09:02 -0400161 <bool name="doze_display_state_supported">false</bool>
162
Adrian Roosa1e6b312017-03-28 16:20:34 -0700163 <!-- Doze: does this device support STATE_DOZE_SUSPEND? -->
164 <bool name="doze_suspend_display_state_supported">false</bool>
165
John Spurlockcb566aa2014-08-03 22:58:28 -0400166 <!-- Doze: should the significant motion sensor be used as a pulse signal? -->
167 <bool name="doze_pulse_on_significant_motion">false</bool>
John Spurlocked69bd62014-07-23 11:09:02 -0400168
John Spurlock686e4d52014-11-20 21:48:09 -0500169 <!-- Doze: check proximity sensor before pulsing? -->
170 <bool name="doze_proximity_check_before_pulse">true</bool>
171
Beverly78386ab2021-03-29 17:42:42 -0400172 <!-- 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
Beverlyc8d3d1a2021-09-27 13:15:54 -0400183 <!-- 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
Beverly78386ab2021-03-29 17:42:42 -0400192 <!-- 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 Spurlock50a8ea62014-09-16 09:12:03 -0400198 <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
199 <integer name="doze_pickup_vibration_threshold">2000</integer>
200
Beverlyc0ddb202021-02-25 10:21:30 -0500201 <!-- 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 Roos2981eb02017-05-26 18:40:09 -0700204 <!-- 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
Beverly541b6f82021-09-28 11:31:40 -0400209 <!-- 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">
Beverlye4a1d0e2021-09-28 14:09:32 -0400213 <!-- UNKNOWN -->
214 <!-- CLOSED -->
215 <!-- HALF_OPENED -->
216 <!-- OPENED -->
Beverly541b6f82021-09-28 11:31:40 -0400217 </string-array>
218
Dave Mankoff55d5d8c72020-02-13 16:15:39 -0500219 <!-- Override value to use for proximity sensor. -->
220 <string name="proximity_sensor_type" translatable="false"></string>
221
Beverlye4a1d0e2021-09-28 14:09:32 -0400222 <!-- 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 Mankoff55d5d8c72020-02-13 16:15:39 -0500230 <!-- 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 Mankoff1d7a50c2020-04-28 13:51:40 -0400234 <!-- 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 Mankoff311fb192020-04-23 14:01:46 -0400240 <!-- Override value to use for proximity sensor as confirmation for proximity_sensor_type. -->
241 <string name="proximity_sensor_secondary_type" translatable="false"></string>
242
Beverlye4a1d0e2021-09-28 14:09:32 -0400243 <!-- 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 Mankoff1d7a50c2020-04-28 13:51:40 -0400252 <!-- If using proximity_sensor_secondary_type, specifies a threshold value to distinguish
Dave Mankoff311fb192020-04-23 14:01:46 -0400253 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 Mankoff1d7a50c2020-04-28 13:51:40 -0400257 <!-- 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 Spurlockd06aa572014-09-10 10:40:49 -0400263 <!-- Doze: pulse parameter - how long does it take to fade in? -->
Lucas Dupin9e3fa102017-11-08 17:16:55 -0800264 <integer name="doze_pulse_duration_in">130</integer>
John Spurlockf5d250d2014-12-02 10:41:25 -0500265
John Spurlockd06aa572014-09-10 10:40:49 -0400266 <!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
Adrian Roosd13602f2016-08-22 15:31:38 +0200267 <integer name="doze_pulse_duration_visible">6000</integer>
John Spurlockd06aa572014-09-10 10:40:49 -0400268
269 <!-- Doze: pulse parameter - how long does it take to fade out? -->
Jorim Jaggi16423aa2014-10-28 11:42:58 +0100270 <integer name="doze_pulse_duration_out">600</integer>
John Spurlockd06aa572014-09-10 10:40:49 -0400271
John Spurlocke15452b2014-08-21 09:44:39 -0400272 <!-- Doze: alpha to apply to small icons when dozing -->
273 <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
274
Adrian Roos4d4aaba2017-07-26 19:17:51 +0200275 <!-- 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 Wright648ea2d2017-07-20 18:27:17 +0100284
Adrian Roosc8e29e72017-08-03 18:25:42 +0200285 <!-- 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 Roos25c7a582017-06-02 12:50:38 -0700297 <!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
298 <bool name="doze_double_tap_reports_touch_coordinates">false</bool>
299
John Spurlock8f8ecd62014-08-27 17:46:03 -0400300 <!-- 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 Spurlock27c7b922014-09-23 14:59:51 -0400302
John Spurlockf2565a82014-10-23 20:16:22 -0400303 <!-- Enable the default volume dialog -->
304 <bool name="enable_volume_ui">true</bool>
Andrew Flynna478d702015-04-14 23:33:45 -0400305
Luke Songe0036662017-12-12 12:27:08 -0800306 <!-- Enable the default volume level warning dialog -->
307 <bool name="enable_safety_warning">true</bool>
308
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -0700309 <!-- Whether to show the full screen user switcher. -->
Xiyuan Xia40f9dab2015-08-17 13:19:30 -0700310 <bool name="config_enableFullscreenUserSwitcher">false</bool>
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -0700311
Evan Roskyc544f572022-11-17 14:05:51 -0800312 <!-- Determines whether the shell features all run on another thread. -->
313 <bool name="config_enableShellMainThread">true</bool>
314
Jay Aliomer6da7e062020-04-22 15:15:49 -0400315 <!-- 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 iguchi61b37082017-11-29 16:46:32 +0900319 <!-- 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 iguchi61b37082017-11-29 16:46:32 +0900324 <item>com.android.systemui.util.NotificationChannels</item>
yoshiki iguchi61b37082017-11-29 16:46:32 +0900325 </string-array>
326
Jason Monka2081822016-01-18 14:41:03 -0500327 <!-- Nav bar button default ordering/layout -->
Jason Monk7f6a2ab2017-04-21 13:48:19 -0400328 <string name="config_navBarLayout" translatable="false">left[.5W],back[1WC];home;recent[1WC],right[.5W]</string>
Mike Digmanf77fb912018-05-21 11:21:30 -0700329 <string name="config_navBarLayoutQuickstep" translatable="false">back[1.7WC];home;contextual[1.7WC]</string>
Winson Chungc6312b42021-05-10 17:05:58 -0700330 <string name="config_navBarLayoutHandle" translatable="false">back[70AC];home_handle;ime_switcher[70AC]</string>
Jason Monka2081822016-01-18 14:41:03 -0500331
Sherry Huangce02ed32019-01-17 20:37:29 +0800332 <!-- Whether to show a warning notification when device's skin temperature is high. -->
Andrew Sappersteine3352562017-01-20 15:41:03 -0800333 <integer name="config_showTemperatureWarning">0</integer>
Andrew Sappersteinb7caf1d2016-12-14 15:39:20 -0800334
Sherry Huangce02ed32019-01-17 20:37:29 +0800335 <!-- Whether to show a alarm dialog when device's usb port is overheating. -->
336 <integer name="config_showUsbPortAlarm">0</integer>
Jason Monkd819c312017-08-11 12:53:36 -0400337
Matthew Ng44b14502018-05-04 11:10:14 -0700338 <item type="id" name="action_toggle_overview"/>
339
Ned Burns46597ba2020-01-30 13:58:46 -0500340 <!-- 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 Chen3cb3ad92016-12-01 10:58:47 -0800344 <!-- 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 Han53f5af92020-12-02 21:12:56 +0000348 <!-- Whether or not a background should be drawn behind a notification. -->
Jeff DeCew9bb01fd2021-04-27 13:45:19 -0400349 <bool name="config_drawNotificationBackground">false</bool>
Lyn Han53f5af92020-12-02 21:12:56 +0000350
Anthony Chen3cb3ad92016-12-01 10:58:47 -0800351 <!-- Whether or the notifications can be shown and dismissed with a drag. -->
352 <bool name="config_enableNotificationShadeDrag">true</bool>
353
Jason Monkad71ae12017-04-11 14:55:25 -0400354 <!-- Whether to show activity indicators in the status bar -->
355 <bool name="config_showActivity">false</bool>
356
Anthony Chen9e05d462017-04-07 10:10:21 -0700357 <!-- 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 Chen7acbb772017-04-07 16:45:25 -0700361 <!-- 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 Chen9fe1ee72017-04-07 13:53:37 -0700365 <!-- 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 Chen6bf88a02017-04-10 14:41:44 -0700374 <!-- 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 Hao400e3812023-07-14 19:44:27 -0700376 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 Chen6bf88a02017-04-10 14:41:44 -0700379 <bool name="config_alwaysExpandNonGroupedNotifications">false</bool>
380
Shuming Hao400e3812023-07-14 19:44:27 -0700381 <!-- 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 Chen6bf88a02017-04-10 14:41:44 -0700386 <!-- 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 DeCewa2f705e2021-06-17 12:04:08 -0400397 <bool name="config_hideDividersDuringExpand">true</bool>
Anthony Chen6bf88a02017-04-10 14:41:44 -0700398
399 <!-- Whether or not child notifications that are part of a group will have shadows. -->
400 <bool name="config_enableShadowOnChildNotifications">true</bool>
401
Jeff DeCew138403a2021-03-03 13:27:06 -0500402 <!-- If true, group numbers are shown in the expander instead of via "+N" overflow number -->
403 <bool name="config_showNotificationGroupCountInExpander">true</bool>
404
Anthony Chen6bf88a02017-04-10 14:41:44 -0700405 <!-- 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 Cinekd95ca7c2017-07-26 12:20:38 -0700409 <!-- 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 DeCewa0e99612021-06-11 10:05:10 -0400413 <!-- Notifications are sized to match the width of two (of 4) qs tiles in landscape. -->
414 <bool name="config_skinnyNotifsInLandscape">true</bool>
415
Chris Wrene901a7e2017-10-02 17:29:46 -0400416 <!-- 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 Cermak10011fa2018-02-05 19:00:54 +0000426
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 Ledley4069f7a2018-02-26 10:36:00 +0000430 <!-- 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 Cermak10011fa2018-02-05 19:00:54 +0000433 <!-- 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 Cichowlasf2806532018-03-06 19:08:18 -0500436
Milo Sredkov41dc4ba2018-12-27 12:03:45 +0000437 <!-- 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 Sennton3f3eaff2019-01-08 09:39:51 +0000442 <!-- 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 Senntona31f6ae2019-01-08 11:20:49 +0000446 <!-- 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 Sennton4bf5ff52019-01-16 14:27:25 +0000451 <!-- 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 Sennton8a52dc32019-04-15 12:48:23 +0100455 <!-- 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 Shi52c638b2022-04-12 01:21:12 +0000459 <!-- 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 Cichowlasf2806532018-03-06 19:08:18 -0500462 <!-- 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 Caseyaf211682022-12-28 20:21:55 +0000467 <!-- 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 Chalke618e46f2023-01-25 01:01:10 +0000472 <!-- 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 Chalke6ee40932023-03-10 14:15:37 +0000477 >com.android.systemui/com.android.systemui.screenshot.appclips.AppClipsActivity</string>
Ajinkya Chalke618e46f2023-01-25 01:01:10 +0000478
Miranda Kephartdaa72632022-03-25 13:15:52 -0400479 <!-- 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 Dupinc293d8f2018-09-13 16:23:41 -0700483 <!-- SystemUI Plugins that can be loaded on user builds. -->
Hawkwood Glaziercbf072c2023-02-13 22:38:51 +0000484 <string-array name="config_pluginAllowlist" translatable="false">
Jason Monkda08f542018-11-02 13:04:39 -0400485 <item>com.android.systemui</item>
486 </string-array>
Fabian Kozynskibb68be02018-11-19 12:58:01 -0500487
Amin Shaikhfd6402e2019-03-28 16:23:49 -0400488 <!-- Launcher package name for overlaying icons. -->
489 <string name="launcher_overlayable_package" translatable="false">com.android.launcher3</string>
490
Amin Shaikh0974b882019-04-23 17:14:56 -0400491 <!-- ThemePicker package name for overlaying icons. -->
492 <string name="themepicker_overlayable_package" translatable="false">com.android.wallpaper</string>
493
Miranda Kephart53939152019-06-28 15:32:29 -0400494 <!-- 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
Beverlya65cb902021-05-26 11:36:52 -0400500 <!-- Preferred refresh rate at keyguard, if supported by the display. Overrides
501 keyguardMaxRefreshRate. -->
Lucas Dupine25c4872019-07-29 13:51:35 -0700502 <integer name="config_keyguardRefreshRate">-1</integer>
503
Beverlya65cb902021-05-26 11:36:52 -0400504 <!-- Preferred max refresh rate at keyguard, if supported by the display. -->
505 <integer name="config_keyguardMaxRefreshRate">-1</integer>
506
kwaky06c1f522020-08-03 22:54:52 -0700507 <!-- 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 Liue8df04c2020-01-13 10:45:12 -0800510 -->
kwaky06c1f522020-08-03 22:54:52 -0700511 <string-array name="config_statusBarIconsToExclude" translatable="false">
JianYang Liue8df04c2020-01-13 10:45:12 -0800512 <item>@*android:string/status_bar_rotate</item>
513 <item>@*android:string/status_bar_headset</item>
514 </string-array>
515
Fabian Kozynski50423452021-07-23 16:24:27 -0400516
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 Wang5013f4f2023-03-01 18:24:47 +0800521 <!-- Whether to show extra battery saver confirmation dialog. -->
522 <bool name="config_extra_battery_saver_confirmation">false</bool>
Wesley Wang0ab99c32022-02-25 00:24:55 +0800523
Caitlin Shkuratov1b65e522022-10-31 20:01:52 +0000524 <!-- 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 Laird16981452020-02-21 14:33:42 -0500530 <!-- A path similar to frameworks/base/core/res/res/values/config.xml
Shawn Lin12acedf2023-09-14 15:48:19 +0800531 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 Laird16981452020-02-21 14:33:42 -0500535
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 Lin9f0a6772023-12-19 07:27:16 +0000541 <!-- ID for the camera of outer display that needs extra protection -->
Evan Laird16981452020-02-21 14:33:42 -0500542 <string translatable="false" name="config_protectedCameraId"></string>
Shawn Lin9f0a6772023-12-19 07:27:16 +0000543 <!-- Physical ID for the camera of outer display that needs extra protection -->
Chris Göllner50844ee2023-12-14 11:37:06 +0000544 <string translatable="false" name="config_protectedPhysicalCameraId"></string>
Chris Göllnere2fe0852024-01-30 12:01:51 +0000545 <!-- Unique ID of the outer display that contains the camera that needs protection. -->
546 <string translatable="false" name="config_protectedScreenUniqueId"></string>
547
Evan Laird16981452020-02-21 14:33:42 -0500548
Shawn Lin12acedf2023-09-14 15:48:19 +0800549 <!-- Similar to config_frontBuiltInDisplayCutoutProtection but for inner display. -->
550 <string translatable="false" name="config_innerBuiltInDisplayCutoutProtection"></string>
551
Shawn Lin9f0a6772023-12-19 07:27:16 +0000552 <!-- ID for the camera of inner display that needs extra protection. -->
Shawn Lin12acedf2023-09-14 15:48:19 +0800553 <string translatable="false" name="config_protectedInnerCameraId"></string>
Chris Göllner50844ee2023-12-14 11:37:06 +0000554 <!-- Physical ID for the camera of inner display that needs extra protection -->
555 <string translatable="false" name="config_protectedInnerPhysicalCameraId"></string>
Chris Göllnere2fe0852024-01-30 12:01:51 +0000556 <!-- Unique ID of the inner display that contains the camera that needs protection. -->
557 <string translatable="false" name="config_protectedInnerScreenUniqueId"></string>
Shawn Lin12acedf2023-09-14 15:48:19 +0800558
Evan Lairdb38dbfb2020-03-17 15:31:21 -0400559 <!-- 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 Laird16981452020-02-21 14:33:42 -0500563 <!-- Flag to turn on the rendering of the above path or not -->
564 <bool name="config_enableDisplayCutoutProtection">false</bool>
565
Matt Pietal5459e772020-05-28 17:18:26 -0400566 <!-- 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 Pietal61266442020-03-17 12:53:44 -0400568 -->
Matt Pietal5459e772020-05-28 17:18:26 -0400569 <string-array translatable="false" name="config_controlsPreferredPackages" />
Matt Pietal5f478c72020-04-01 15:53:54 -0400570
571 <!-- Max number of columns for quick controls area -->
572 <integer name="controls_max_columns">2</integer>
Aran Inkcf038272020-03-31 17:48:37 -0400573
Beth Thibodeau65c210b2021-03-17 13:36:11 -0400574 <!-- 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 Inkcf038272020-03-31 17:48:37 -0400578
Matt Pietal5f478c72020-04-01 15:53:54 -0400579 <!-- 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 Lin10454772020-04-24 16:48:42 +0800584
Galia Peychevaf538f0d2020-08-05 15:52:35 +0200585 <!-- Show a separate icon for low and high volume on the volume dialog -->
586 <bool name="config_showLowMediaVolumeIcon">false</bool>
Galia Peychevab1af5d92020-09-22 16:36:35 +0200587
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 Peychevaab1b9412020-09-22 17:01:14 +0200590
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 Lairdab6df3a2020-09-30 15:04:37 -0400596
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 Jaju4f3f64f2020-10-28 09:10:16 +0000601
Matthew Fritzecc0f89b2021-03-11 08:43:17 -0800602 <!-- Package name of the preferred system app to perform eSOS action -->
603 <string name="config_preferredEmergencySosPackage" translatable="false"></string>
604
Nicolo' Mazzucatoac82db42022-07-27 14:19:25 +0000605 <!-- Whether to show the side fps hint while on bouncer -->
Nicolo' Mazzucatoa799f102022-12-02 17:42:24 +0000606 <bool name="config_show_sidefps_hint_on_bouncer">true</bool>
Nicolo' Mazzucatoac82db42022-07-27 14:19:25 +0000607
Chandru Scd933eed2023-04-25 12:11:27 -0700608 <!-- Max number of lines we want to show for the bouncer secondary message -->
609 <integer name="bouncer_secondary_message_lines">2</integer>
610
Alex Florescuf9d5abc2021-01-27 16:26:17 +0000611 <!-- Whether to use the split 2-column notification shade -->
612 <bool name="config_use_split_notification_shade">false</bool>
Winson Chung1485f802021-02-17 14:53:22 -0800613
axfordjc2a9dd992023-09-06 16:09:44 +0000614 <!-- Whether to force split shade.
615 For now, this value has effect only when flag lockscreen.enable_landscape is enabled.
axfordjcf3125042023-09-28 12:58:33 +0000616 TODO (b/293252410) - change this comment/resource when flag is enabled -->
axfordjc2a9dd992023-09-06 16:09:44 +0000617 <bool name="force_config_use_split_notification_shade">false</bool>
618
Michal Brzezinski5ad1ec12022-03-21 15:48:59 +0000619 <!-- 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 Lin182787a2022-01-21 18:51:59 -0800622 <!-- Whether notification header should never show section headers. -->
623 <bool name="config_notification_never_show_section_headers">false</bool>
624
Beverly1c38e6d2021-03-31 16:10:33 -0400625 <!-- 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
Beverly7e5d0d52022-06-06 16:08:11 +0000640 <!-- 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 Sandlerf22cf3d2021-03-23 23:38:00 -0400643 <!-- 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 Junkerf3c1ab42021-02-10 18:47:07 +0100647 <!-- 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 Peycheva6aa3a8f2021-03-19 14:25:23 +0100654
655 <!-- Whether to use window background blur for the volume dialog. -->
656 <bool name="config_volumeDialogUseBackgroundBlur">false</bool>
Beverly764d2812021-03-23 14:02:27 -0400657
Shawn Lin9f0a6772023-12-19 07:27:16 +0000658 <!-- The properties of the face auth front camera for outer display in pixels -->
Beverly764d2812021-03-23 14:02:27 -0400659 <integer-array name="config_face_auth_props">
660 <!-- sensorLocationX -->
661 <!-- sensorLocationY -->
662 <!--sensorRadius -->
663 </integer-array>
Beverly25be6572021-04-07 15:04:15 -0400664
Shawn Lin9f0a6772023-12-19 07:27:16 +0000665 <!-- 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 Belmontea2094002021-04-12 18:15:10 -0700672 <!-- 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 Lee4ffc67d2021-07-21 12:51:50 -0700677
Beverly41cee292022-09-12 20:29:27 +0000678 <!-- 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
Beverly7efc6d82023-08-22 21:38:34 +0000697 <!-- 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
Beverly41cee292022-09-12 20:29:27 +0000705 <!-- 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
Beverly85484932022-05-16 18:43:53 +0000713 <!-- 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">
Beverlycb175192022-08-22 20:09:19 +0000716 <item>3</item> <!-- TOO_DARK -->
717 <item>25</item> <!-- DARK_GLASSES -->
718 <item>26</item> <!-- MOUTH_COVERING_DETECTED -->
Beverly85484932022-05-16 18:43:53 +0000719 </integer-array>
720
Beverlyccc0f1d2023-02-10 20:10:05 +0000721 <!-- Which device wake-ups will trigger passive auth. These values correspond with
Beverly897dcdb2022-10-19 19:17:34 +0000722 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 -->
Beverlyccc0f1d2023-02-10 20:10:05 +0000729 <item>12</item> <!-- WAKE_REASON_UNFOLD_DEVICE -->
Beverly632fee02023-01-03 18:13:01 +0000730 <item>15</item> <!-- WAKE_REASON_TAP -->
731 <item>16</item> <!-- WAKE_REASON_LIFT -->
732 <item>17</item> <!-- WAKE_REASON_BIOMETRIC -->
Beverly897dcdb2022-10-19 19:17:34 +0000733 </integer-array>
734
lbillb727c482022-12-06 20:34:20 +0000735 <!-- 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
Beverlyde618602023-06-22 18:31:45 +0000745 <!-- 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 Lee4ffc67d2021-07-21 12:51:50 -0700749 <!-- Whether the communal service should be enabled -->
750 <bool name="config_communalServiceEnabled">false</bool>
Bryce Leebb343292021-07-22 22:31:04 -0700751
Coco Duand8ef1812023-10-19 21:35:01 +0000752 <!-- Name of the database that stores info of widgets shown on glanceable hub -->
753 <string name="config_communalDatabase" translatable="false">communal_db</string>
Coco Duan42d848a2023-10-13 05:11:02 +0000754 <!-- Component names of allowed communal widgets -->
755 <string-array name="config_communalWidgetAllowlist" translatable="false" />
756
Bryce Leebb343292021-07-22 22:31:04 -0700757 <!-- Component name of communal source service -->
758 <string name="config_communalSourceComponent" translatable="false">@null</string>
Bryce Leea47fea52021-07-28 14:07:52 -0700759
Darrell Shieaf6c022021-10-14 21:57:41 +0000760 <!-- 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 Shi75816232022-08-31 18:02:33 +0000762 <item name="config_ambientLightModeThreshold" translatable="false" format="float" type="dimen">
763 0.8
764 </item>
Darrell Shieaf6c022021-10-14 21:57:41 +0000765
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 Shi75816232022-08-31 18:02:33 +0000768 <item name="config_ambientDarkModeThreshold" translatable="false" format="float" type="dimen">
769 0.4
770 </item>
Darrell Shieaf6c022021-10-14 21:57:41 +0000771
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 Lee8600c8e2021-07-30 18:39:28 -0700788 <!-- 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.minb93ec152021-05-04 12:52:36 +0900796
Bryce Leef4378062021-11-19 20:02:10 -0800797 <!-- The minimum time in milliseconds for a connection to be considered connected. Any time -->
798 <integer name="config_connectionMinDuration">1000</integer>
799
e.minb93ec152021-05-04 12:52:36 +0900800 <!-- Flag to activate notification to contents feature -->
Alejandro Nijamkin90873be2022-05-27 13:18:50 -0700801 <bool name="config_notificationToContents">false</bool>
shawnlin6ec70a42021-08-16 16:39:27 +0800802
shawnlin6ec70a42021-08-16 16:39:27 +0800803 <!-- 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 Wu0f3e6b72021-09-11 12:24:49 +0000823
824 <!-- Flag to enable privacy dot views, it shall be true for normal case -->
825 <bool name="config_enablePrivacyDot">true</bool>
826
Alex Stetson461f0552023-08-01 10:52:15 -0700827 <!-- Flag to enable privacy chip animation, it shall be true for normal case -->
828 <bool name="config_enablePrivacyChipAnimation">true</bool>
829
Bryce Lee0106a9f2021-11-08 17:04:10 -0800830 <!-- Class for the communal source connector to be used -->
831 <string name="config_communalSourceConnector" translatable="false"></string>
832
Will86240152022-01-12 16:54:35 -0800833 <!-- How often in milliseconds to jitter the dream overlay in order to avoid burn-in. -->
Will20c34f32022-04-20 15:50:48 -0700834 <integer name="config_dreamOverlayBurnInProtectionUpdateIntervalMillis">1000</integer>
Will8692fcd2022-02-17 17:09:16 -0800835
836 <!-- How long in milliseconds before full burn-in protection is achieved. -->
837 <integer name="config_dreamOverlayMillisUntilFullJitter">240000</integer>
Bryce Leed3237af2022-02-04 13:03:39 -0800838
839 <integer name="complicationFadeOutMs">500</integer>
840
841 <integer name="complicationFadeInMs">500</integer>
842
843 <integer name="complicationRestoreMs">1000</integer>
Timi Rautamäki1ae9c8d2021-11-05 13:10:22 +0000844
Lucas Silva09120542022-11-03 15:04:56 -0400845 <integer name="complicationFadeOutDelayMs">200</integer>
846
Darrell Shi9ecc6272022-10-27 00:45:55 +0000847 <!-- Duration in milliseconds of the dream in un-blur animation. -->
Darrell Shic9dd6372022-12-13 22:34:08 +0000848 <integer name="config_dreamOverlayInBlurDurationMs">250</integer>
Darrell Shi9ecc6272022-10-27 00:45:55 +0000849 <!-- Duration in milliseconds of the dream in complications fade-in animation. -->
Darrell Shic9dd6372022-12-13 22:34:08 +0000850 <integer name="config_dreamOverlayInComplicationsDurationMs">250</integer>
851 <!-- Duration in milliseconds of the y-translation animation when entering a dream -->
William Xiaoeba59512023-02-23 15:02:02 -0800852 <integer name="config_dreamOverlayInTranslationYDurationMs">1167</integer>
Darrell Shi9ecc6272022-10-27 00:45:55 +0000853
William Xiaob6b5286f2022-12-08 18:49:38 -0800854 <!-- 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äki1ae9c8d2021-11-05 13:10:22 +0000858 <!-- 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 Liu628fc532022-04-19 16:45:35 +0000871
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 Silvaee76de82022-06-13 11:16:36 -0400877
Fabian Kozynski17bb5212022-10-18 14:42:19 -0400878 <!-- 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 Nijamkin27191712022-11-01 13:35:24 -0700881
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 Nijamkin694e0ab2022-11-04 15:35:25 -0700892 <!-- 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 Nijamkin20e55ef2022-12-11 16:17:56 -0800899 <item>bottom_start:home</item>
900 <item>bottom_end:wallet</item>
Alejandro Nijamkin694e0ab2022-11-04 15:35:25 -0700901 </string-array>
902
Alejandro Nijamkin73260bd2023-01-20 16:40:42 -0800903 <!-- Package name for the app that implements the wallpaper picker. -->
904 <string name="config_wallpaperPickerPackage" translatable="false">
905 com.android.wallpaper
906 </string>
Hawkwood Glaziercbf072c2023-02-13 22:38:51 +0000907
Winson Chung0d0a6772023-01-24 21:20:06 +0000908 <!-- 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 Shinec42c2a2023-01-20 13:32:35 -0800911
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 Nijamkin00b49c02023-03-07 17:32:58 -0800914
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 -->
Beverlyb5856142023-04-27 18:20:13 +0000954
955 <!-- Time (in ms) to delay the bouncer views from showing when passive auth may be used for
956 device entry. -->
Beverlyf9294b12023-05-08 18:21:54 +0000957 <integer name="primary_bouncer_passive_auth_delay">500</integer>
Alejandro Nijamkina7fab112023-06-05 11:05:52 -0700958
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 Leshner8bbce6822023-08-09 15:23:52 -0700970
971 <!-- Flag controlling whether visual query attention detection has been enabled. -->
972 <bool name="config_enableVisualQueryAttentionDetection">false</bool>
Alejandro Nijamkinc4609902023-09-01 14:07:31 -0700973
Nicolò Mazzucato2f6c2a32023-10-12 18:33:31 +0200974 <!-- Whether to show bottom sheets edge to edge -->
975 <bool name="config_edgeToEdgeBottomSheetDialog">true</bool>
976
Chandru S359e30f2024-01-03 17:38:33 -0800977 <!-- Device specific config that controls whether rest to unlock feature is supported. -->
978 <bool name="config_restToUnlockSupported">false</bool>
979
Alejandro Nijamkinc4609902023-09-01 14:07:31 -0700980 <!--
Chandru S865a3682023-11-21 10:41:09 +0530981 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 S60f9c512023-10-06 11:39:34 -0700987 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 S865a3682023-11-21 10:41:09 +0530990 <integer name="config_restToUnlockDurationDefault">300</integer>
Chandru S60f9c512023-10-06 11:39:34 -0700991
992 <!--
993 Width in pixels of the Side FPS sensor.
994 -->
995 <integer name="config_sfpsSensorWidth">200</integer>
Isaac Chaia9474bb2023-10-12 16:57:33 +0000996
Prince95156872023-11-21 20:51:21 +0000997 <!-- Component name for Home Panel Dream -->
998 <string name="config_homePanelDreamComponent" translatable="false">
Princedd770192024-01-03 17:08:30 +0000999 com.android.systemui/com.android.systemui.dreams.homecontrols.HomeControlsDreamService
Prince95156872023-11-21 20:51:21 +00001000 </string>
1001
Isaac Chaia9474bb2023-10-12 16:57:33 +00001002 <!--
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 Coryellea9181e2023-12-20 14:39:24 -08001010
1011 <!-- Whether to use a machine learning model for back gesture falsing. -->
1012 <bool name="config_useBackGestureML">true</bool>
Anton Potapovf10d9b32024-02-23 12:40:57 +00001013
1014 <!-- Whether volume panel should use the large screen layout or not -->
1015 <bool name="volume_panel_is_large_screen">false</bool>
Joe Onorato798ac4c2010-05-27 16:39:00 -04001016</resources>