1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 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
18<resources>
19    <declare-styleable name="carVolumeItems"/>
20
21    <declare-styleable name="carVolumeItems_item">
22        <!-- Align with AudioAttributes.USAGE_* -->
23        <attr name="usage">
24            <enum name="unknown" value="0"/>
25            <enum name="media" value="1"/>
26            <enum name="voice_communication" value="2"/>
27            <enum name="voice_communication_signalling" value="3"/>
28            <enum name="alarm" value="4"/>
29            <enum name="notification" value="5"/>
30            <enum name="notification_ringtone" value="6"/>
31            <enum name="notification_communication_request" value="7"/>
32            <enum name="notification_communication_instant" value="8"/>
33            <enum name="notification_communication_delayed" value="9"/>
34            <enum name="notification_event" value="10"/>
35            <enum name="assistance_accessibility" value="11"/>
36            <enum name="assistance_navigation_guidance" value="12"/>
37            <enum name="assistance_sonification" value="13"/>
38            <enum name="game" value="14"/>
39
40            <!-- hidden, do not use -->
41            <!-- enum name="virtual_source" value="15"/ -->
42            <enum name="assistant" value="16"/>
43
44            <!-- system usages -->
45            <enum name="call_assistant" value="17"/>
46            <enum name="emergency" value="1000"/>
47            <enum name="safety" value="1001"/>
48            <enum name="vehicle_status" value="1002"/>
49            <enum name="announcement" value="1003"/>
50        </attr>
51
52        <!-- Title and icon resource ids to render on UI -->
53        <attr name="titleText" format="reference"/>
54        <attr name="icon" format="reference"/>
55        <attr name="mute_icon" format="reference"/>
56    </declare-styleable>
57
58    <declare-styleable name="PinPadView">
59        <attr name="layout" format="reference"/>
60    </declare-styleable>
61
62    <declare-styleable name="Preference">
63        <!-- Classname of a PreferenceController corresponding to the preference -->
64        <attr name="controller" format="string"/>
65        <!-- Whether or not the preference is searchable, by default it's true. -->
66        <attr name="searchable" format="boolean" />
67
68        <!-- Availability of a setting for each zone. This string must be one of
69             three values: write, read and hidden. -->
70        <attr name="occupant_driver" format="string"/>
71        <attr name="occupant_front_passenger" format="string"/>
72        <attr name="occupant_rear_passenger" format="string"/>
73    </declare-styleable>
74
75    <declare-styleable name="PreferenceGroup">
76        <attr name="showChevron" format="boolean"/>
77    </declare-styleable>
78
79    <declare-styleable name="ProgressBarPreference">
80        <attr name="min" format="integer"/>
81        <attr name="max" format="integer"/>
82        <attr name="progress" format="integer"/>
83        <attr name="minLabel" format="string"/>
84        <attr name="maxLabel" format="string"/>
85    </declare-styleable>
86
87    <declare-styleable name="ColoredPreference">
88        <attr name="titleColor" format="color"/>
89        <attr name="iconColor" format="color"/>
90    </declare-styleable>
91
92    <declare-styleable name="ColoredSwitchPreference">
93        <attr name="disabledTitleColor" format="color"/>
94        <attr name="enabledTitleColor" format="color"/>
95    </declare-styleable>
96
97    <declare-styleable name="MultiActionPreference">
98        <!-- Determines the first action item -->
99        <attr name="action_item_one" format="enum">
100            <enum name="toggleButton" value="0"/>
101        </attr>
102        <!-- Determines the second action item -->
103        <attr name="action_item_two" format="enum">
104            <enum name="toggleButton" value="0"/>
105        </attr>
106        <!-- Determines the third action item -->
107        <attr name="action_item_three" format="enum">
108            <enum name="toggleButton" value="0"/>
109        </attr>
110        <!-- Determines if the first action item is initially shown -->
111        <attr name="action_item_one_shown" format="boolean"/>
112        <!-- Determines if the first action item is initially enabled -->
113        <attr name="action_item_one_enabled" format="boolean"/>
114        <!-- Determines if the second action item is initially shown -->
115        <attr name="action_item_two_shown" format="boolean"/>
116        <!-- Determines if the second action item is initially enabled -->
117        <attr name="action_item_two_enabled" format="boolean"/>
118        <!-- Determines if the third action item is initially shown -->
119        <attr name="action_item_three_shown" format="boolean"/>
120        <!-- Determines if the third action item is initially enabled -->
121        <attr name="action_item_three_enabled" format="boolean"/>
122    </declare-styleable>
123
124    <attr name="wifiSignalColor" format="color"/>
125    <attr name="dividerColor" format="color"/>
126    <attr name="profileSwitcherBackground" format="reference"/>
127    <attr name="profileSwitcherCurrentProfileColor" format="color"/>
128    <attr name="profileSwitcherAddIconColor" format="color"/>
129    <attr name="profileSwitcherNameTextAppearance" format="reference"/>
130    <attr name="profileSwitcherAddIconBackgroundColor" format="color"/>
131    <attr name="suggestionsPrimaryColor" format="color"/>
132    <attr name="suggestionsSecondaryColor" format="color"/>
133
134
135    <declare-styleable name="ColoredTwoActionSwitchPreference">
136        <attr name="warningTextColor" format="color"/>
137        <attr name="normalTextColor" format="color"/>
138    </declare-styleable>
139</resources>
140