You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
9.7 KiB
173 lines
9.7 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2018 The Android Open Source Project
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License
|
|
-->
|
|
<resources>
|
|
<string name="config_statusBarComponent" translatable="false">
|
|
com.android.systemui.statusbar.car.CarStatusBar
|
|
</string>
|
|
<string name="config_systemUIFactoryComponent" translatable="false">
|
|
com.android.systemui.CarSystemUIFactory
|
|
</string>
|
|
|
|
<!-- How many milliseconds to wait before force hiding the UserSwitchTransitionView -->
|
|
<integer name="config_userSwitchTransitionViewShownTimeoutMs" translatable="false">5000
|
|
</integer>
|
|
|
|
<!-- Configure which system bars should be displayed. -->
|
|
<bool name="config_enableTopSystemBar">true</bool>
|
|
<bool name="config_enableLeftSystemBar">false</bool>
|
|
<bool name="config_enableRightSystemBar">false</bool>
|
|
<bool name="config_enableBottomSystemBar">true</bool>
|
|
|
|
<!-- Configure the type of each system bar. Each system bar must have a unique type. -->
|
|
<!-- STATUS_BAR = 0-->
|
|
<!-- NAVIGATION_BAR = 1-->
|
|
<!-- STATUS_BAR_EXTRA = 2-->
|
|
<!-- NAVIGATION_BAR_EXTRA = 3-->
|
|
<integer name="config_topSystemBarType">0</integer>
|
|
<integer name="config_leftSystemBarType">2</integer>
|
|
<integer name="config_rightSystemBarType">3</integer>
|
|
<integer name="config_bottomSystemBarType">1</integer>
|
|
|
|
<!-- Configure the relative z-order among the system bars. When two system bars overlap (e.g.
|
|
if both top bar and left bar are enabled, it creates an overlapping space in the upper left
|
|
corner), the system bar with the higher z-order takes the overlapping space and padding is
|
|
applied to the other bar.-->
|
|
<!-- NOTE: If two overlapping system bars have the same z-order, SystemBarConfigs will throw a
|
|
RuntimeException, since their placing order cannot be determined. Bars that do not overlap
|
|
are allowed to have the same z-order. -->
|
|
<!-- NOTE: If the z-order of a bar is 10 or above, it will also appear on top of HUN's. -->
|
|
<integer name="config_topSystemBarZOrder">1</integer>
|
|
<integer name="config_leftSystemBarZOrder">0</integer>
|
|
<integer name="config_rightSystemBarZOrder">0</integer>
|
|
<integer name="config_bottomSystemBarZOrder">10</integer>
|
|
|
|
<!-- If set to true, the corresponding system bar will be hidden when Keyboard (IME) appears.
|
|
NOTE: hideBottomSystemBarKeyboard must not be overlaid directly here. To change its value,
|
|
overlay config_automotiveHideNavBarForKeyboard in framework/base/core/res/res. -->
|
|
<bool name="config_hideTopSystemBarForKeyboard">false</bool>
|
|
<bool name="config_hideLeftSystemBarForKeyboard">false</bool>
|
|
<bool name="config_hideRightSystemBarForKeyboard">false</bool>
|
|
<bool name="config_hideBottomSystemBarForKeyboard">@*android:bool/config_automotiveHideNavBarForKeyboard</bool>
|
|
|
|
<!-- If set to false, requests CarSystemBarViews to not intercept touch events to make it easier
|
|
to touch the buttons without accidentally expanding the notification panel.-->
|
|
<bool name="config_systemBarButtonsDraggable">false</bool>
|
|
|
|
<!--
|
|
Car SystemUI's notification mediator. Replace with other notification mediators to have
|
|
the notification panel show from another system bar. The system bar should be enabled to
|
|
use the mediator with that system bar.
|
|
Example: config_enableBottomSystemBar=true
|
|
config_notificationPanelViewMediator=
|
|
com.android.systemui.car.notification.BottomNotificationPanelViewMediator -->
|
|
<string name="config_notificationPanelViewMediator" translatable="false">
|
|
com.android.systemui.car.notification.TopNotificationPanelViewMediator</string>
|
|
|
|
<!-- Whether the Notification Panel should be inset by the top system bar. -->
|
|
<bool name="config_notif_panel_inset_by_top_systembar" translatable="false">false</bool>
|
|
<!-- Whether the Notification Panel should be inset by the bottom system bar. -->
|
|
<bool name="config_notif_panel_inset_by_bottom_systembar" translatable="false">true</bool>
|
|
<!-- Whether the Notification Panel should be inset by the left system bar. -->
|
|
<bool name="config_notif_panel_inset_by_left_systembar" translatable="false">false</bool>
|
|
<!-- Whether the Notification Panel should be inset by the right system bar. -->
|
|
<bool name="config_notif_panel_inset_by_right_systembar" translatable="false">false</bool>
|
|
|
|
<!-- Whether navigationBar touch events should be consumed before reaching the CarFacetButton \
|
|
when the notification panel is open. -->
|
|
<bool name="config_consumeSystemBarTouchWhenNotificationPanelOpen">false</bool>
|
|
|
|
<!-- Whether heads-up notifications should be shown when panel is open. -->
|
|
<bool name="config_enableHeadsUpNotificationWhenNotificationPanelOpen">true</bool>
|
|
|
|
<!--
|
|
Initial alpha percent value for the background when the notification
|
|
panel is open. Should be a number between, and inclusive, 0 and 100.
|
|
If the number is 0, then the background alpha starts off fully
|
|
transparent. If the number if 100, then the background alpha starts off
|
|
fully opaque. -->
|
|
<integer name="config_initialNotificationBackgroundAlpha">0</integer>
|
|
<!--
|
|
Final alpha percent value for the background when the notification
|
|
panel is fully open. Should be a number between, and inclusive, 0 and
|
|
100. If this value is smaller than
|
|
config_initialNotificationBackgroundAlpha, the background will default
|
|
to a constant alpha percent value using the initial alpha. -->
|
|
<integer name="config_finalNotificationBackgroundAlpha">100</integer>
|
|
|
|
<!-- Car System UI's OverlayViewsMediator.
|
|
Whenever a new class is added, make sure to also add that class to OverlayWindowModule. -->
|
|
<string-array name="config_carSystemUIOverlayViewsMediators" translatable="false">
|
|
<item>@string/config_notificationPanelViewMediator</item>
|
|
<item>com.android.systemui.car.keyguard.CarKeyguardViewMediator</item>
|
|
<item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item>
|
|
<item>com.android.systemui.car.userswitcher.UserSwitchTransitionViewMediator</item>
|
|
</string-array>
|
|
|
|
<!-- List of package names that are allowed sources of app installation. -->
|
|
<string-array name="config_allowedAppInstallSources" translatable="false">
|
|
<item>com.android.vending</item>
|
|
</string-array>
|
|
|
|
<!-- The list of components to exclude from config_systemUIServiceComponents. -->
|
|
<string-array name="config_systemUIServiceComponentsExclude" translatable="false">
|
|
<item>com.android.systemui.recents.Recents</item>
|
|
<item>com.android.systemui.volume.VolumeUI</item>
|
|
<item>com.android.systemui.statusbar.phone.StatusBar</item>
|
|
<item>com.android.systemui.keyboard.KeyboardUI</item>
|
|
<item>com.android.systemui.shortcut.ShortcutKeyDispatcher</item>
|
|
<item>com.android.systemui.LatencyTester</item>
|
|
<item>com.android.systemui.globalactions.GlobalActionsComponent</item>
|
|
<item>com.android.systemui.SliceBroadcastRelayHandler</item>
|
|
<item>com.android.systemui.statusbar.notification.InstantAppNotifier</item>
|
|
<item>com.android.systemui.accessibility.WindowMagnification</item>
|
|
<item>com.android.systemui.accessibility.SystemActions</item>
|
|
<item>com.android.systemui.toast.ToastUI</item>
|
|
</string-array>
|
|
|
|
<!-- The list of components to append to config_systemUIServiceComponents. -->
|
|
<string-array name="config_systemUIServiceComponentsInclude" translatable="false">
|
|
<item>com.android.systemui.car.systembar.CarSystemBar</item>
|
|
<item>com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier</item>
|
|
<item>com.android.systemui.car.window.SystemUIOverlayWindowManager</item>
|
|
<item>com.android.systemui.car.toast.CarToastUI</item>
|
|
<item>com.android.systemui.car.volume.VolumeUI</item>
|
|
<item>com.android.systemui.car.cluster.ClusterDisplayController</item>
|
|
</string-array>
|
|
|
|
<!-- Defines system icons to be excluded from the display. That is to say, the icons in the
|
|
status bar that are part of this list are never displayed. Each item in the list must be a
|
|
string defined in core/res/res/config.xml to properly exclude the icon.
|
|
-->
|
|
<string-array name="config_statusBarIconsToExclude" translatable="false">
|
|
<item>@*android:string/status_bar_rotate</item>
|
|
<item>@*android:string/status_bar_headset</item>
|
|
<item>@*android:string/status_bar_microphone</item>
|
|
</string-array>
|
|
|
|
<!-- Packages that can post toasts even if it isn't a system application. -->
|
|
<string-array name="config_restrictedToastsPackageNameAllowList" translatable="false">
|
|
<!-- These packages may be used for CTS purposes. -->
|
|
<item>android.widget.cts</item>
|
|
<item>android.server.wm.app</item>
|
|
<item>android.server.wm.cts</item>
|
|
<item>android.server.wm.second</item>
|
|
</string-array>
|
|
|
|
<!-- Specifies the component name of the app grid activity -->
|
|
<string name="config_appGridComponentName" translatable="false">com.android.car.carlauncher/.AppGridActivity</string>
|
|
</resources>
|