1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2018 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<resources> 18 <string name="config_statusBarComponent" translatable="false"> 19 com.android.systemui.statusbar.car.CarStatusBar 20 </string> 21 <string name="config_systemUIFactoryComponent" translatable="false"> 22 com.android.systemui.CarSystemUIFactory 23 </string> 24 25 <!-- How many milliseconds to wait before force hiding the UserSwitchTransitionView --> 26 <integer name="config_userSwitchTransitionViewShownTimeoutMs" translatable="false">5000 27 </integer> 28 29 <!-- Configure which system bars should be displayed. --> 30 <bool name="config_enableTopSystemBar">true</bool> 31 <bool name="config_enableLeftSystemBar">false</bool> 32 <bool name="config_enableRightSystemBar">false</bool> 33 <bool name="config_enableBottomSystemBar">true</bool> 34 35 <!-- Configure the type of each system bar. Each system bar must have a unique type. --> 36 <!-- STATUS_BAR = 0--> 37 <!-- NAVIGATION_BAR = 1--> 38 <!-- STATUS_BAR_EXTRA = 2--> 39 <!-- NAVIGATION_BAR_EXTRA = 3--> 40 <integer name="config_topSystemBarType">0</integer> 41 <integer name="config_leftSystemBarType">2</integer> 42 <integer name="config_rightSystemBarType">3</integer> 43 <integer name="config_bottomSystemBarType">1</integer> 44 45 <!-- Configure the relative z-order among the system bars. When two system bars overlap (e.g. 46 if both top bar and left bar are enabled, it creates an overlapping space in the upper left 47 corner), the system bar with the higher z-order takes the overlapping space and padding is 48 applied to the other bar.--> 49 <!-- NOTE: If two overlapping system bars have the same z-order, SystemBarConfigs will throw a 50 RuntimeException, since their placing order cannot be determined. Bars that do not overlap 51 are allowed to have the same z-order. --> 52 <!-- NOTE: If the z-order of a bar is 10 or above, it will also appear on top of HUN's. --> 53 <integer name="config_topSystemBarZOrder">1</integer> 54 <integer name="config_leftSystemBarZOrder">0</integer> 55 <integer name="config_rightSystemBarZOrder">0</integer> 56 <integer name="config_bottomSystemBarZOrder">10</integer> 57 58 <!-- If set to true, the corresponding system bar will be hidden when Keyboard (IME) appears. 59 NOTE: hideBottomSystemBarKeyboard must not be overlaid directly here. To change its value, 60 overlay config_automotiveHideNavBarForKeyboard in framework/base/core/res/res. --> 61 <bool name="config_hideTopSystemBarForKeyboard">false</bool> 62 <bool name="config_hideLeftSystemBarForKeyboard">false</bool> 63 <bool name="config_hideRightSystemBarForKeyboard">false</bool> 64 <bool name="config_hideBottomSystemBarForKeyboard">@*android:bool/config_automotiveHideNavBarForKeyboard</bool> 65 66 <!-- If set to false, requests CarSystemBarViews to not intercept touch events to make it easier 67 to touch the buttons without accidentally expanding the notification panel.--> 68 <bool name="config_systemBarButtonsDraggable">false</bool> 69 70 <!-- 71 Car SystemUI's notification mediator. Replace with other notification mediators to have 72 the notification panel show from another system bar. The system bar should be enabled to 73 use the mediator with that system bar. 74 Example: config_enableBottomSystemBar=true 75 config_notificationPanelViewMediator= 76 com.android.systemui.car.notification.BottomNotificationPanelViewMediator --> 77 <string name="config_notificationPanelViewMediator" translatable="false"> 78 com.android.systemui.car.notification.TopNotificationPanelViewMediator</string> 79 80 <!-- Whether the Notification Panel should be inset by the top system bar. --> 81 <bool name="config_notif_panel_inset_by_top_systembar" translatable="false">false</bool> 82 <!-- Whether the Notification Panel should be inset by the bottom system bar. --> 83 <bool name="config_notif_panel_inset_by_bottom_systembar" translatable="false">true</bool> 84 <!-- Whether the Notification Panel should be inset by the left system bar. --> 85 <bool name="config_notif_panel_inset_by_left_systembar" translatable="false">false</bool> 86 <!-- Whether the Notification Panel should be inset by the right system bar. --> 87 <bool name="config_notif_panel_inset_by_right_systembar" translatable="false">false</bool> 88 89 <!-- Whether navigationBar touch events should be consumed before reaching the CarFacetButton \ 90 when the notification panel is open. --> 91 <bool name="config_consumeSystemBarTouchWhenNotificationPanelOpen">false</bool> 92 93 <!-- Whether heads-up notifications should be shown when panel is open. --> 94 <bool name="config_enableHeadsUpNotificationWhenNotificationPanelOpen">true</bool> 95 96 <!-- Whether or not the profile panel should be disabled while driving. --> 97 <bool name="config_profile_panel_disabled_while_driving">true</bool> 98 99 <!-- 100 Initial alpha percent value for the background when the notification 101 panel is open. Should be a number between, and inclusive, 0 and 100. 102 If the number is 0, then the background alpha starts off fully 103 transparent. If the number if 100, then the background alpha starts off 104 fully opaque. --> 105 <integer name="config_initialNotificationBackgroundAlpha">0</integer> 106 <!-- 107 Final alpha percent value for the background when the notification 108 panel is fully open. Should be a number between, and inclusive, 0 and 109 100. If this value is smaller than 110 config_initialNotificationBackgroundAlpha, the background will default 111 to a constant alpha percent value using the initial alpha. --> 112 <integer name="config_finalNotificationBackgroundAlpha">100</integer> 113 114 <!-- Car System UI's OverlayViewsMediator. 115 Whenever a new class is added, make sure to also add that class to OverlayWindowModule. --> 116 <string-array name="config_carSystemUIOverlayViewsMediators" translatable="false"> 117 <item>@string/config_notificationPanelViewMediator</item> 118 <item>com.android.systemui.car.hvac.HvacPanelOverlayViewMediator</item> 119 <item>com.android.systemui.car.keyguard.CarKeyguardViewMediator</item> 120 <item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item> 121 <item>com.android.systemui.car.userswitcher.UserSwitchTransitionViewMediator</item> 122 </string-array> 123 124 <!-- List of StatusIconControllers associated with icons to display for QC entry points. 125 The icons will be added to the view in the order their controllers appear on this list. --> 126 <string-array name="config_quickControlsEntryPointIconControllers" translatable="false"> 127 <item>com.android.systemui.car.statusicon.ui.BluetoothStatusIconController</item> 128 <item>com.android.systemui.car.statusicon.ui.SignalStatusIconController</item> 129 <item>com.android.systemui.car.statusicon.ui.DisplayStatusIconController</item> 130 </string-array> 131 132 <!-- List of StatusIconControllers associated with read-only status icons. 133 The icons will be added to the view in the order their controllers appear on this list.--> 134 <string-array name="config_readOnlyIconControllers" translatable="false"> 135 <item>com.android.systemui.car.statusicon.ui.LocationStatusIconController</item> 136 </string-array> 137 138 <!-- List of package names that are allowed sources of app installation. --> 139 <string-array name="config_allowedAppInstallSources" translatable="false"> 140 <item>com.android.vending</item> 141 </string-array> 142 143 <!-- The list of components to exclude from config_systemUIServiceComponents. --> 144 <string-array name="config_systemUIServiceComponentsExclude" translatable="false"> 145 <item>com.android.systemui.recents.Recents</item> 146 <item>com.android.systemui.volume.VolumeUI</item> 147 <item>com.android.systemui.statusbar.phone.StatusBar</item> 148 <item>com.android.systemui.keyboard.KeyboardUI</item> 149 <item>com.android.systemui.shortcut.ShortcutKeyDispatcher</item> 150 <item>com.android.systemui.LatencyTester</item> 151 <item>com.android.systemui.globalactions.GlobalActionsComponent</item> 152 <item>com.android.systemui.SliceBroadcastRelayHandler</item> 153 <item>com.android.systemui.statusbar.notification.InstantAppNotifier</item> 154 <item>com.android.systemui.accessibility.WindowMagnification</item> 155 <item>com.android.systemui.accessibility.SystemActions</item> 156 <item>com.android.systemui.toast.ToastUI</item> 157 </string-array> 158 159 <!-- The list of components to append to config_systemUIServiceComponents. --> 160 <string-array name="config_systemUIServiceComponentsInclude" translatable="false"> 161 <item>com.android.systemui.car.systembar.CarSystemBar</item> 162 <item>com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier</item> 163 <item>com.android.systemui.car.window.SystemUIOverlayWindowManager</item> 164 <item>com.android.systemui.car.toast.CarToastUI</item> 165 <item>com.android.systemui.car.volume.VolumeUI</item> 166 <item>com.android.systemui.car.cluster.ClusterDisplayController</item> 167 </string-array> 168 169 <!-- Defines system icons to be excluded from the display. That is to say, the icons in the 170 status bar that are part of this list are never displayed. Each item in the list must be a 171 string defined in core/res/res/config.xml to properly exclude the icon. 172 --> 173 <string-array name="config_statusBarIconsToExclude" translatable="false"> 174 <item>@*android:string/status_bar_rotate</item> 175 <item>@*android:string/status_bar_headset</item> 176 <item>@*android:string/status_bar_microphone</item> 177 </string-array> 178 179 <!-- Packages that can post toasts even if it isn't a system application. --> 180 <string-array name="config_restrictedToastsPackageNameAllowList" translatable="false"> 181 <!-- These packages may be used for CTS purposes. --> 182 <item>android.widget.cts</item> 183 <item>android.server.wm.app</item> 184 <item>android.server.wm.cts</item> 185 <item>android.server.wm.second</item> 186 </string-array> 187 188 <!-- Specifies the component name of the app grid activity --> 189 <string name="config_appGridComponentName" translatable="false">com.android.car.carlauncher/.AppGridActivity</string> 190 191 <!--Percentage of the screen height, from the top, where the border between HVAC panel closing 192 or opening, depending on where its handle bar is released after being dragged, would be 193 drawn. 194 195 The idea is that if the HVAC panel handle bar is dragged and then released too close to the 196 panel's origin, then the intent to close the panel is seen to have been canceled, and the 197 panel is expanded back to its original height. On the other hand, if the handle bar is 198 released far enough from the panel's origin, then the panel is collapsed and dismissed. 199 200 If the HVAC panel expands from below, then the HVAC panel handle bar being released below 201 this border would result in the panel being dismissed and collapsed, while it being released 202 above the border results in the panel being expanded back to the original height. 203 204 If the HVAC panel expands from the top, then the HVAC panel handle bar being released above 205 this border would result in the panel being dismissed and collapsed, while it being released 206 below the border results in the panel being expanded back to the original height. 207 --> 208 <integer name="hvac_panel_settle_close_percentage">50</integer> 209</resources> 210