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 <!-- 97 Initial alpha percent value for the background when the notification 98 panel is open. Should be a number between, and inclusive, 0 and 100. 99 If the number is 0, then the background alpha starts off fully 100 transparent. If the number if 100, then the background alpha starts off 101 fully opaque. --> 102 <integer name="config_initialNotificationBackgroundAlpha">0</integer> 103 <!-- 104 Final alpha percent value for the background when the notification 105 panel is fully open. Should be a number between, and inclusive, 0 and 106 100. If this value is smaller than 107 config_initialNotificationBackgroundAlpha, the background will default 108 to a constant alpha percent value using the initial alpha. --> 109 <integer name="config_finalNotificationBackgroundAlpha">100</integer> 110 111 <!-- Car System UI's OverlayViewsMediator. 112 Whenever a new class is added, make sure to also add that class to OverlayWindowModule. --> 113 <string-array name="config_carSystemUIOverlayViewsMediators" translatable="false"> 114 <item>@string/config_notificationPanelViewMediator</item> 115 <item>com.android.systemui.car.keyguard.CarKeyguardViewMediator</item> 116 <item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item> 117 <item>com.android.systemui.car.userswitcher.UserSwitchTransitionViewMediator</item> 118 </string-array> 119 120 <!-- List of package names that are allowed sources of app installation. --> 121 <string-array name="config_allowedAppInstallSources" translatable="false"> 122 <item>com.android.vending</item> 123 </string-array> 124 125 <!-- The list of components to exclude from config_systemUIServiceComponents. --> 126 <string-array name="config_systemUIServiceComponentsExclude" translatable="false"> 127 <item>com.android.systemui.recents.Recents</item> 128 <item>com.android.systemui.volume.VolumeUI</item> 129 <item>com.android.systemui.statusbar.phone.StatusBar</item> 130 <item>com.android.systemui.keyboard.KeyboardUI</item> 131 <item>com.android.systemui.shortcut.ShortcutKeyDispatcher</item> 132 <item>com.android.systemui.LatencyTester</item> 133 <item>com.android.systemui.globalactions.GlobalActionsComponent</item> 134 <item>com.android.systemui.SliceBroadcastRelayHandler</item> 135 <item>com.android.systemui.statusbar.notification.InstantAppNotifier</item> 136 <item>com.android.systemui.accessibility.WindowMagnification</item> 137 <item>com.android.systemui.accessibility.SystemActions</item> 138 <item>com.android.systemui.toast.ToastUI</item> 139 </string-array> 140 141 <!-- The list of components to append to config_systemUIServiceComponents. --> 142 <string-array name="config_systemUIServiceComponentsInclude" translatable="false"> 143 <item>com.android.systemui.car.systembar.CarSystemBar</item> 144 <item>com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier</item> 145 <item>com.android.systemui.car.window.SystemUIOverlayWindowManager</item> 146 <item>com.android.systemui.car.toast.CarToastUI</item> 147 <item>com.android.systemui.car.volume.VolumeUI</item> 148 <item>com.android.systemui.car.cluster.ClusterDisplayController</item> 149 </string-array> 150 151 <!-- Defines system icons to be excluded from the display. That is to say, the icons in the 152 status bar that are part of this list are never displayed. Each item in the list must be a 153 string defined in core/res/res/config.xml to properly exclude the icon. 154 --> 155 <string-array name="config_statusBarIconsToExclude" translatable="false"> 156 <item>@*android:string/status_bar_rotate</item> 157 <item>@*android:string/status_bar_headset</item> 158 <item>@*android:string/status_bar_microphone</item> 159 </string-array> 160 161 <!-- Packages that can post toasts even if it isn't a system application. --> 162 <string-array name="config_restrictedToastsPackageNameAllowList" translatable="false"> 163 <!-- These packages may be used for CTS purposes. --> 164 <item>android.widget.cts</item> 165 <item>android.server.wm.app</item> 166 <item>android.server.wm.cts</item> 167 <item>android.server.wm.second</item> 168 </string-array> 169 170 <!-- Specifies the component name of the app grid activity --> 171 <string name="config_appGridComponentName" translatable="false">com.android.car.carlauncher/.AppGridActivity</string> 172</resources> 173