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    <bool name="config_enableFullscreenUserSwitcher">true</bool>
26
27    <!-- configure which system ui bars should be displayed -->
28    <bool name="config_enableTopNavigationBar">true</bool>
29    <bool name="config_enableLeftNavigationBar">false</bool>
30    <bool name="config_enableRightNavigationBar">false</bool>
31    <bool name="config_enableBottomNavigationBar">true</bool>
32
33    <!-- Disable normal notification rendering; we handle that ourselves -->
34    <bool name="config_renderNotifications">false</bool>
35
36    <!-- Whether navigationBar touch events should be consumed before reaching the CarFacetButton \
37         when the notification panel is open. -->
38    <bool name="config_consumeNavigationBarTouchWhenNotificationPanelOpen">false</bool>
39
40    <!-- Whether heads-up notifications should be shown when shade is open. -->
41    <bool name="config_enableHeadsUpNotificationWhenNotificationShadeOpen">true</bool>
42    <!-- Whether heads-up notifications should be shown on the bottom. If false, heads-up
43         notifications will be shown pushed to the top of their parent container. If true, they will
44         be shown pushed to the bottom of their parent container. If true, then should override
45         config_headsUpNotificationAnimationHelper to use a different AnimationHelper, such as
46         com.android.car.notification.headsup.animationhelper.
47         CarHeadsUpNotificationBottomAnimationHelper. -->
48    <bool name="config_showHeadsUpNotificationOnBottom">false</bool>
49
50    <bool name="config_hideNavWhenKeyguardBouncerShown">true</bool>
51    <bool name="config_enablePersistentDockedActivity">false</bool>
52    <string name="config_persistentDockedActivityIntentUri" translatable="false"></string>
53
54    <!-- How many icons may be shown at once in the system bar. Includes any
55         slots that may be reused for things like IME control. -->
56    <integer name="config_maxNotificationIcons">0</integer>
57
58    <!--
59        Initial alpha percent value for the background when the notification
60        shade is open. Should be a number between, and inclusive, 0 and 100.
61        If the number is 0, then the background alpha starts off fully
62        transparent. If the number if 100, then the background alpha starts off
63        fully opaque. -->
64    <integer name="config_initialNotificationBackgroundAlpha">0</integer>
65    <!--
66        Final alpha percent value for the background when the notification
67        shade is fully open. Should be a number between, and inclusive, 0 and
68        100. If this value is smaller than
69        config_initialNotificationBackgroundAlpha, the background will default
70        to a constant alpha percent value using the initial alpha. -->
71    <integer name="config_finalNotificationBackgroundAlpha">100</integer>
72
73    <!-- Car System UI's OverlayViewsMediator.
74         Whenever a new class is added, make sure to also add that class to OverlayWindowModule. -->
75    <string-array name="config_carSystemUIOverlayViewsMediators" translatable="false">
76        <item>@string/config_notificationPanelViewMediator</item>
77        <item>com.android.systemui.car.keyguard.CarKeyguardViewMediator</item>
78        <item>com.android.systemui.car.userswitcher.FullscreenUserSwitcherViewMediator</item>
79        <item>com.android.systemui.car.userswitcher.UserSwitchTransitionViewMediator</item>
80    </string-array>
81
82    <!--
83        Car SystemUI's notification mediator. Replace with other notification mediators to have
84        the notification panel show from another system bar. The system bar should be enabled to
85        use the mediator with that system bar.
86        Example: config_enableBottomNavigationBar=true
87                 config_notificationPanelViewMediator=
88                    com.android.systemui.car.notification.BottomNotificationPanelViewMediator -->
89    <string name="config_notificationPanelViewMediator" translatable="false">
90        com.android.systemui.car.notification.TopNotificationPanelViewMediator</string>
91
92    <!-- List of package names that are allowed sources of app installation. -->
93    <string-array name="config_allowedAppInstallSources" translatable="false">
94        <item>com.android.vending</item>
95    </string-array>
96
97    <!-- The list of components to exclude from config_systemUIServiceComponents. -->
98    <string-array name="config_systemUIServiceComponentsExclude" translatable="false">
99        <item>com.android.systemui.recents.Recents</item>
100        <item>com.android.systemui.volume.VolumeUI</item>
101        <item>com.android.systemui.stackdivider.Divider</item>
102        <item>com.android.systemui.statusbar.phone.StatusBar</item>
103        <item>com.android.systemui.keyboard.KeyboardUI</item>
104        <item>com.android.systemui.pip.PipUI</item>
105        <item>com.android.systemui.shortcut.ShortcutKeyDispatcher</item>
106        <item>com.android.systemui.LatencyTester</item>
107        <item>com.android.systemui.globalactions.GlobalActionsComponent</item>
108        <item>com.android.systemui.SliceBroadcastRelayHandler</item>
109        <item>com.android.systemui.statusbar.notification.InstantAppNotifier</item>
110        <item>com.android.systemui.accessibility.WindowMagnification</item>
111        <item>com.android.systemui.accessibility.SystemActions</item>
112    </string-array>
113
114    <!-- The list of components to append to config_systemUIServiceComponents. -->
115    <string-array name="config_systemUIServiceComponentsInclude" translatable="false">
116        <item>com.android.systemui.car.navigationbar.CarNavigationBar</item>
117        <item>com.android.systemui.car.voicerecognition.ConnectedDeviceVoiceRecognitionNotifier</item>
118        <item>com.android.systemui.car.window.SystemUIOverlayWindowManager</item>
119        <item>com.android.systemui.car.volume.VolumeUI</item>
120    </string-array>
121
122    <!-- How many milliseconds to wait before force hiding the UserSwitchTransitionView -->
123    <integer name="config_userSwitchTransitionViewShownTimeoutMs" translatable="false">5000</integer>
124</resources>
125