• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2009, The Android Open Source Project
5**
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
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
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
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>
23    <!-- Whether to clip notification contents with a rounded rectangle. Might be expensive on
24         certain GPU's and thus can be turned off with only minimal visual impact. -->
25    <bool name="config_notifications_round_rect_clipping">true</bool>
26
27    <!-- Control whether status bar should distinguish HSPA data icon form UMTS
28    data icon on devices -->
29    <bool name="config_hspa_data_distinguishable">false</bool>
30
31    <!-- Component to be used as the status bar service.  Must implement the IStatusBar
32     interface.  This name is in the ComponentName flattened format (package/class)  -->
33    <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.StatusBar</string>
34
35    <!-- Component to be used as the recents implementation.  Must implement the
36     RecentsImplementation interface.  This name is in the ComponentName flattened format
37     (package/class)  -->
38    <string name="config_recentsComponent" translatable="false">com.android.systemui.recents.OverviewProxyRecentsImpl</string>
39
40    <!-- Whether or not we show the number in the bar. -->
41    <bool name="config_statusBarShowNumber">false</bool>
42
43    <!-- If the lock screen should be dismissed after biometric auth. -->
44    <bool name="config_faceAuthDismissesKeyguard">false</bool>
45
46    <!-- Vibrator pattern for camera gesture launch. -->
47    <integer-array translatable="false" name="config_cameraLaunchGestureVibePattern">
48        <item>0</item>
49        <item>400</item>
50    </integer-array>
51
52    <!-- How many icons may be shown at once in the system bar. Includes any
53         slots that may be reused for things like IME control. -->
54    <integer name="config_maxNotificationIcons">5</integer>
55
56    <!-- Show phone (voice) signal strength instead of data in mobile RSSI. -->
57    <bool name="config_showPhoneRSSIForData">false</bool>
58
59    <!-- When true, show 1/2G networks as 3G. -->
60    <bool name="config_showMin3G">false</bool>
61
62    <!-- Show rotation lock toggle in System UI-->
63    <bool name="config_showRotationLock">true</bool>
64
65    <!-- Vibration duration for GlowPadView used in SearchPanelView -->
66    <integer translatable="false" name="config_vibration_duration">0</integer>
67
68    <!-- Vibration duration for GlowPadView used in SearchPanelView -->
69    <integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
70
71    <!-- Show mic or phone affordance on Keyguard -->
72    <bool name="config_keyguardShowLeftAffordance">false</bool>
73
74    <!-- Show camera affordance on Keyguard -->
75    <bool name="config_keyguardShowCameraAffordance">false</bool>
76
77    <!-- The length of the vibration when the notification pops open. -->
78    <integer name="one_finger_pop_duration_ms">10</integer>
79
80    <!-- decay duration (from size_max -> size), in ms -->
81    <integer name="navigation_bar_deadzone_hold">333</integer>
82    <integer name="navigation_bar_deadzone_decay">333</integer>
83
84    <!-- orientation of the dead zone when touches have recently occurred elsewhere on screen -->
85    <integer name="navigation_bar_deadzone_orientation">0</integer>
86
87    <bool name="config_dead_zone_flash">false</bool>
88
89    <!-- Whether to enable dimming navigation buttons when wallpaper is not visible, should be
90         enabled for OLED devices to reduce/prevent burn in on the navigation bar (because of the
91         black background and static button placements) and disabled for all other devices to
92         prevent wasting cpu cycles on the dimming animation -->
93    <bool name="config_navigation_bar_enable_auto_dim_no_visible_wallpaper">true</bool>
94
95    <!-- The maximum number of tiles in the QuickQSPanel -->
96    <integer name="quick_qs_panel_max_columns">6</integer>
97
98    <!-- Whether QuickSettings is in a phone landscape -->
99    <bool name="quick_settings_wide">false</bool>
100
101    <!-- The number of columns in the QuickSettings -->
102    <integer name="quick_settings_num_columns">3</integer>
103
104    <!-- The number of rows in the QuickSettings -->
105    <integer name="quick_settings_max_rows">3</integer>
106
107    <!-- The number of columns that the top level tiles span in the QuickSettings -->
108    <integer name="quick_settings_user_time_settings_tile_span">1</integer>
109
110    <!-- The default tiles to display in QuickSettings -->
111    <string name="quick_settings_tiles_default" translatable="false">
112        wifi,bt,dnd,flashlight,rotation,battery,cell,airplane,cast
113    </string>
114
115    <!-- The minimum number of tiles to display in QuickSettings -->
116    <integer name="quick_settings_min_num_tiles">6</integer>
117
118    <!-- Tiles native to System UI. Order should match "quick_settings_tiles_default" -->
119    <string name="quick_settings_tiles_stock" translatable="false">
120        wifi,cell,battery,dnd,flashlight,rotation,bt,airplane,location,hotspot,inversion,saver,dark,work,cast,night
121    </string>
122
123    <!-- The tiles to display in QuickSettings -->
124    <string name="quick_settings_tiles" translatable="false">default</string>
125
126    <!-- The tiles to display in QuickSettings in retail mode -->
127    <string name="quick_settings_tiles_retail_mode" translatable="false">
128        cell,battery,dnd,flashlight,rotation,location
129    </string>
130
131    <!-- Whether or not the RSSI tile is capitalized or not. -->
132    <bool name="quick_settings_rssi_tile_capitalization">true</bool>
133
134    <!-- Timeouts for brightness dialog to disappear -->
135    <integer name="quick_settings_brightness_dialog_short_timeout">2000</integer>
136    <integer name="quick_settings_brightness_dialog_long_timeout">4000</integer>
137
138    <!-- Show indicator for Wifi on but not connected. -->
139    <bool name="config_showWifiIndicatorWhenEnabled">false</bool>
140
141    <!-- The number of milliseconds before the heads up notification auto-dismisses. -->
142    <integer name="heads_up_notification_decay">5000</integer>
143
144    <!-- The number of milliseconds after a heads up notification is pushed back
145     before the app can interrupt again. -->
146    <integer name="heads_up_default_snooze_length_ms">60000</integer>
147
148    <!-- Minimum display time for a heads up notification, in milliseconds. -->
149    <integer name="heads_up_notification_minimum_time">2000</integer>
150
151    <!-- The number of milliseconds before the heads up notification accepts touches. -->
152    <integer name="touch_acceptance_delay">700</integer>
153
154    <!-- The number of milliseconds before the ambient notification auto-dismisses. This will
155         override the default pulse length. -->
156    <integer name="ambient_notification_decay">10000</integer>
157
158    <!-- Minimum display time for a heads up notification, in milliseconds. -->
159    <integer name="ambient_notification_minimum_time">2000</integer>
160
161    <!-- The number of milliseconds to extend ambient pulse by when prompted (e.g. on touch) -->
162    <integer name="ambient_notification_extension_time">6000</integer>
163
164    <!-- In multi-window, determines whether the stack where recents lives should grow from
165         the smallest position when being launched. -->
166    <bool name="recents_grow_in_multiwindow">true</bool>
167
168    <!-- Animation duration when using long press on recents to dock -->
169    <integer name="long_press_dock_anim_duration">250</integer>
170
171    <!-- Whether to enable KeyguardService or not -->
172    <bool name="config_enableKeyguardService">true</bool>
173
174    <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
175     card. -->
176    <integer name="keyguard_max_notification_count">3</integer>
177
178    <!-- Defines the implementation of the velocity tracker to be used for the panel expansion. Can
179         be 'platform' or 'noisy' (i.e. for noisy touch screens). -->
180    <string name="velocity_tracker_impl" translatable="false">platform</string>
181
182    <!-- Set to true to enable the user switcher on the keyguard. -->
183    <bool name="config_keyguardUserSwitcher">false</bool>
184
185    <!-- Doze: does this device support STATE_DOZE?  -->
186    <bool name="doze_display_state_supported">false</bool>
187
188    <!-- Doze: does this device support STATE_DOZE_SUSPEND?  -->
189    <bool name="doze_suspend_display_state_supported">false</bool>
190
191    <!-- Doze: should the significant motion sensor be used as a pulse signal? -->
192    <bool name="doze_pulse_on_significant_motion">false</bool>
193
194    <!-- Doze: check proximity sensor before pulsing? -->
195    <bool name="doze_proximity_check_before_pulse">true</bool>
196
197    <!-- Doze: should notifications be used as a pulse signal? -->
198    <bool name="doze_pulse_on_notifications">true</bool>
199
200    <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
201    <integer name="doze_pickup_vibration_threshold">2000</integer>
202
203    <!-- Doze: can we assume the pickup sensor includes a proximity check?
204         This is ignored if doze_pickup_subtype_performs_proximity_check is not empty.
205         @deprecated: use doze_pickup_subtype_performs_proximity_check instead.-->
206    <bool name="doze_pickup_performs_proximity_check">false</bool>
207
208    <!-- Doze: a list of pickup sensor subtypes that perform a proximity check before they trigger.
209               If not empty, either * or !* must appear to specify the default.
210               If empty, falls back to doze_pickup_performs_proximity_check.
211
212               Examples: 1,2,3,!* -> subtypes 1,2 and 3 perform the check, all others don't.
213                         !1,!2,*  -> subtypes 1 and 2 don't perform the check, all others do.
214                         !8,*     -> subtype 8 does not perform the check, all others do
215                         1,1,*    -> illegal, every item may only appear once
216                         1,!1,*   -> illegal, no contradictions allowed
217                         1,2      -> illegal, need either * or !*
218                         1,,4a3   -> illegal, no empty or non-numeric terms allowed
219    -->
220    <string name="doze_pickup_subtype_performs_proximity_check"></string>
221
222    <!-- Type of a sensor that provides a low-power estimate of the desired display
223         brightness, suitable to listen to while the device is asleep (e.g. during
224         always-on display) -->
225    <string name="doze_brightness_sensor_type" translatable="false"></string>
226
227    <!-- Doze: pulse parameter - how long does it take to fade in? -->
228    <integer name="doze_pulse_duration_in">130</integer>
229
230    <!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
231    <integer name="doze_pulse_duration_visible">6000</integer>
232
233    <!-- Doze: pulse parameter - how long does it take to fade out? -->
234    <integer name="doze_pulse_duration_out">600</integer>
235
236    <!-- Doze: alpha to apply to small icons when dozing -->
237    <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
238
239    <!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
240               to brightness values; -1 means keeping the current brightness. -->
241    <integer-array name="config_doze_brightness_sensor_to_brightness">
242        <item>-1</item> <!-- 0: OFF -->
243        <item>2</item> <!-- 1: NIGHT -->
244        <item>5</item> <!-- 2: LOW -->
245        <item>27</item> <!-- 3: HIGH -->
246        <item>28</item> <!-- 4: SUN -->
247    </integer-array>
248
249    <!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
250               to an opacity value for a black scrim that is overlayed in AOD1.
251               Valid range is from 0 (transparent) to 255 (opaque).
252               -1 means keeping the current opacity. -->
253    <integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
254        <item>-1</item> <!-- 0: OFF -->
255        <item>0</item> <!-- 1: NIGHT -->
256        <item>0</item> <!-- 2: LOW -->
257        <item>0</item> <!-- 3: HIGH -->
258        <item>0</item> <!-- 4: SUN -->
259    </integer-array>
260
261    <!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
262    <bool name="doze_double_tap_reports_touch_coordinates">false</bool>
263
264    <!-- Hotspot tile: number of days to show after feature is used. -->
265    <integer name="days_to_show_hotspot_tile">30</integer>
266
267    <!-- Color inversion tile: number of days to show after feature is used. -->
268    <integer name="days_to_show_color_inversion_tile">7</integer>
269
270    <!-- Number of times to show the strong alarm warning text in the volume dialog -->
271    <integer name="zen_mode_alarm_warning_threshold">5</integer>
272
273    <!-- Maximum number of total conditions to display in the zen mode selection panel -->
274    <integer name="zen_mode_max_conditions">5</integer>
275
276    <!-- Enable the default volume dialog -->
277    <bool name="enable_volume_ui">true</bool>
278
279    <!-- Enable the default volume level warning dialog -->
280    <bool name="enable_safety_warning">true</bool>
281
282    <!-- Whether to show operator name in the status bar -->
283    <bool name="config_showOperatorNameInStatusBar">false</bool>
284
285    <!-- Duration of the full carrier network change icon animation. -->
286    <integer name="carrier_network_change_anim_time">3000</integer>
287
288    <!-- Duration of the expansion animation in the volume dialog -->
289    <item name="volume_expand_animation_duration" type="integer">300</item>
290
291    <!-- Whether to show the full screen user switcher. -->
292    <bool name="config_enableFullscreenUserSwitcher">false</bool>
293
294    <!-- SystemUIFactory component -->
295    <string name="config_systemUIFactoryComponent" translatable="false">com.android.systemui.SystemUIFactory</string>
296
297    <!-- SystemUI Services: The classes of the stuff to start. -->
298    <string-array name="config_systemUIServiceComponents" translatable="false">
299        <item>com.android.systemui.Dependency$DependencyCreator</item>
300        <item>com.android.systemui.util.NotificationChannels</item>
301        <item>com.android.systemui.statusbar.CommandQueue$CommandQueueStart</item>
302        <item>com.android.systemui.keyguard.KeyguardViewMediator</item>
303        <item>com.android.systemui.recents.Recents</item>
304        <item>com.android.systemui.volume.VolumeUI</item>
305        <item>com.android.systemui.stackdivider.Divider</item>
306        <item>com.android.systemui.SystemBars</item>
307        <item>com.android.systemui.usb.StorageNotification</item>
308        <item>com.android.systemui.power.PowerUI</item>
309        <item>com.android.systemui.media.RingtonePlayer</item>
310        <item>com.android.systemui.keyboard.KeyboardUI</item>
311        <item>com.android.systemui.pip.PipUI</item>
312        <item>com.android.systemui.shortcut.ShortcutKeyDispatcher</item>
313        <item>@string/config_systemUIVendorServiceComponent</item>
314        <item>com.android.systemui.util.leak.GarbageMonitor$Service</item>
315        <item>com.android.systemui.LatencyTester</item>
316        <item>com.android.systemui.globalactions.GlobalActionsComponent</item>
317        <item>com.android.systemui.ScreenDecorations</item>
318        <item>com.android.systemui.biometrics.BiometricDialogImpl</item>
319        <item>com.android.systemui.SliceBroadcastRelayHandler</item>
320        <item>com.android.systemui.SizeCompatModeActivityController</item>
321        <item>com.android.systemui.statusbar.notification.InstantAppNotifier</item>
322        <item>com.android.systemui.theme.ThemeOverlayController</item>
323    </string-array>
324
325    <!-- SystemUI vender service, used in config_systemUIServiceComponents. -->
326    <string name="config_systemUIVendorServiceComponent" translatable="false">com.android.systemui.VendorServices</string>
327
328    <!-- SystemUI Services (per user): The classes of the stuff to start for each user. This is a subset of the config_systemUIServiceComponents -->
329    <string-array name="config_systemUIServiceComponentsPerUser" translatable="false">
330        <item>com.android.systemui.Dependency$DependencyCreator</item>
331        <item>com.android.systemui.util.NotificationChannels</item>
332    </string-array>
333
334    <!-- Nav bar button default ordering/layout -->
335    <string name="config_navBarLayout" translatable="false">left[.5W],back[1WC];home;recent[1WC],right[.5W]</string>
336    <string name="config_navBarLayoutQuickstep" translatable="false">back[1.7WC];home;contextual[1.7WC]</string>
337    <string name="config_navBarLayoutHandle" translatable="false">back[40AC];home_handle;ime_switcher[40AC]</string>
338
339    <bool name="quick_settings_show_full_alarm">false</bool>
340
341    <!-- Whether to show a warning notification when device's skin temperature is high. -->
342    <integer name="config_showTemperatureWarning">0</integer>
343
344    <!-- Whether to show a alarm dialog when device's usb port is overheating. -->
345    <integer name="config_showUsbPortAlarm">0</integer>
346
347    <!-- Accessibility actions -->
348    <item type="id" name="action_split_task_to_left" />
349    <item type="id" name="action_split_task_to_right" />
350    <item type="id" name="action_split_task_to_top" />
351
352    <item type="id" name="action_toggle_overview"/>
353
354    <!-- Whether or not the gear icon on notifications should be shown. The gear is shown when the
355         the notification is not swiped enough to dismiss it. -->
356    <bool name="config_showNotificationGear">true</bool>
357
358    <!-- Whether or not a background should be drawn behind a notification. -->
359    <bool name="config_drawNotificationBackground">true</bool>
360
361    <!-- Whether or the notifications can be shown and dismissed with a drag. -->
362    <bool name="config_enableNotificationShadeDrag">true</bool>
363
364    <!-- Whether to show activity indicators in the status bar -->
365    <bool name="config_showActivity">false</bool>
366
367    <!-- Whether or not the button to clear all notifications will be shown. -->
368    <bool name="config_enableNotificationsClearAll">true</bool>
369
370    <!-- Whether or not to show the notification shelf that houses the icons of notifications that
371     have been scrolled off-screen. -->
372    <bool name="config_showNotificationShelf">true</bool>
373
374    <!-- Whether or not the notifications should always fade as they are dismissed. -->
375    <bool name="config_fadeNotificationsOnDismiss">false</bool>
376
377    <!-- Whether or not the parent of the notification row itself is being translated when swiped or
378         its children views. If true, then the contents are translated and vice versa. -->
379    <bool name="config_translateNotificationContentsOnSwipe">true</bool>
380
381    <!-- Whether or not the fade on the notification is based on the amount that it has been swiped
382         off-screen. -->
383    <bool name="config_fadeDependingOnAmountSwiped">false</bool>
384
385    <!-- Whether or not to show the expand button at the end of the notification header. -->
386    <bool name="config_showNotificationExpandButtonAtEnd">false</bool>
387
388    <!-- Whether or the notifications should be clipped to be reduced in height if it has been
389         scrolled to the top of the screen. -->
390    <bool name="config_clipNotificationScrollToTop">true</bool>
391
392    <!-- Whether or not the notification contents should be clipped to any background that is
393         set on the notification container. For example, if this value is true and the background
394         has rounded corners, then the contents will be clipped to those corners. -->
395    <bool name="config_clipNotificationsToOutline">false</bool>
396
397    <!-- Whether or not notifications that can be expanded will always be in their expanded state.
398         This value only affects notifications that are not a group of notifications from the same
399         applications. If this value is false, then only the first notification will be expanded;
400         the other notifications need to be manually expanded by the user. -->
401    <bool name="config_alwaysExpandNonGroupedNotifications">false</bool>
402
403    <!-- Whether or not an expandable notification can be manually expanded or collapsed by the
404         user. Grouped notifications are still expandable even if this value is false. -->
405    <bool name="config_enableNonGroupedNotificationExpand">true</bool>
406
407    <!-- Whether or not there should be dividing lines between child notifications when the
408         group has been expanded. -->
409    <bool name="config_showDividersWhenGroupNotificationExpanded">false</bool>
410
411    <!-- Whether or not the dividing lines should be shown when the container is expanding and
412         collapsing. If this value is true, then the lines will only show when the container has
413         been completely expanded. -->
414    <bool name="config_hideDividersDuringExpand">false</bool>
415
416    <!-- Whether or not child notifications that are part of a group will have shadows. -->
417    <bool name="config_enableShadowOnChildNotifications">true</bool>
418
419    <!-- Whether or not a view containing child notifications will have a custom background when
420         it has been expanded to reveal its children. -->
421    <bool name="config_showGroupNotificationBgWhenExpanded">false</bool>
422
423    <!-- Should we vibrate on an icon animation of the shelf. This should only be active if the
424     vibrator is capable of subtle vibrations -->
425    <bool name="config_vibrateOnIconAnimation">false</bool>
426
427    <!-- If true, enable the advance anti-falsing classifier on the lockscreen. On some devices it
428         does not work well, particularly with noisy touchscreens. Note that disabling it may
429         increase the rate of unintentional unlocks. -->
430    <bool name="config_lockscreenAntiFalsingClassifierEnabled">true</bool>
431
432    <!-- Snooze: default notificaiton snooze time. -->
433    <integer name="config_notification_snooze_time_default">60</integer>
434
435    <!-- Snooze: List of snooze values in integer minutes. -->
436    <integer-array name="config_notification_snooze_times">
437        <item>15</item>
438        <item>30</item>
439        <item>60</item>
440        <item>120</item>
441    </integer-array>
442
443    <!-- Smart replies in notifications: Whether smart replies in notifications are enabled. -->
444    <bool name="config_smart_replies_in_notifications_enabled">true</bool>
445
446    <!-- Smart replies in notifications: Whether we disable the feature unless the app targets P -->
447    <bool name="config_smart_replies_in_notifications_requires_targeting_p">true</bool>
448
449    <!-- Smart replies in notifications: Maximum number of times SmartReplyView will try to find a
450         better (narrower) line-break for a double-line smart reply button. -->
451    <integer name="config_smart_replies_in_notifications_max_squeeze_remeasure_attempts">3</integer>
452
453    <!-- Smart replies in notifications: Whether by default tapping on a choice should let the user
454         edit the input before it is sent to the app. Developers can override this via
455         RemoteInput.Builder.setEditChoicesBeforeSending. -->
456    <bool name="config_smart_replies_in_notifications_edit_choices_before_sending">false</bool>
457
458    <!-- Smart replies in notifications: Whether smart suggestions in notifications are enabled in
459         heads-up notifications.  -->
460    <bool name="config_smart_replies_in_notifications_show_in_heads_up">true</bool>
461
462    <!-- Smart replies in notifications: Minimum number of system generated smart replies that
463         should be shown in a notification. If we cannot show at least this many replies we instead
464         show none. -->
465    <integer name="config_smart_replies_in_notifications_min_num_system_generated_replies">0</integer>
466
467    <!-- Smart replies in notifications: Maximum number of smart actions to show in notifications.
468         -->
469    <integer name="config_smart_replies_in_notifications_max_num_actions">-1</integer>
470
471    <!-- Smart replies in notifications: Delay (ms) before smart suggestions are clickable, since
472         they were added. -->
473    <integer name="config_smart_replies_in_notifications_onclick_init_delay">200</integer>
474
475    <!-- Screenshot editing default activity.  Must handle ACTION_EDIT image/png intents.
476         Blank sends the user to the Chooser first.
477         This name is in the ComponentName flattened format (package/class)  -->
478    <string name="config_screenshotEditor" translatable="false"></string>
479
480    <!-- On debuggable builds, alert the user if SystemUI PSS goes over this number (in kb) -->
481    <integer name="watch_heap_limit">256000</integer>
482
483    <!-- Allow dragging the PIP to a location to close it -->
484    <bool name="config_pipEnableDismissDragToEdge">true</bool>
485
486    <!-- SystemUI Plugins that can be loaded on user builds. -->
487    <string-array name="config_pluginWhitelist" translatable="false">
488        <item>com.android.systemui</item>
489    </string-array>
490
491    <integer name="ongoing_appops_dialog_max_apps">5</integer>
492
493    <!-- Launcher package name for overlaying icons. -->
494    <string name="launcher_overlayable_package" translatable="false">com.android.launcher3</string>
495
496    <!-- ThemePicker package name for overlaying icons. -->
497    <string name="themepicker_overlayable_package" translatable="false">com.android.wallpaper</string>
498
499</resources>
500