1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18    <declare-styleable name="KeyButtonView">
19        <!-- key code to send when pressed; if absent or 0, no key is sent -->
20        <attr name="keyCode" format="integer" />
21        <!-- Should this button play sound effects, default true -->
22        <attr name="playSound" format="boolean" />
23        <attr name="android:contentDescription" />
24    </declare-styleable>
25    <declare-styleable name="ToggleSliderView">
26        <attr name="text" format="string" />
27    </declare-styleable>
28    <declare-styleable name="NotificationLinearLayout">
29        <attr name="insetLeft" format="dimension" />
30    </declare-styleable>
31    <declare-styleable name="DeadZone">
32        <attr name="minSize" format="dimension" />
33        <attr name="maxSize" format="dimension" />
34        <attr name="holdTime" format="integer" />
35        <attr name="decayTime" format="integer" />
36        <attr name="orientation" />
37    </declare-styleable>
38    <attr name="frameColor" format="color" />
39    <declare-styleable name="BatteryMeterView">
40        <attr name="frameColor" />
41        <attr name="textAppearance" format="reference"/>
42    </declare-styleable>
43    <declare-styleable name="Clock">
44        <attr name="amPmStyle" format="enum">
45            <enum name="normal" value="0" />
46            <enum name="small" value="1" />
47            <enum name="gone" value="2" />
48        </attr>
49        <attr name="showDark" format="boolean" />
50    </declare-styleable>
51    <attr name="orientation">
52        <enum name="horizontal" value="0" />
53        <enum name="vertical" value="1" />
54    </attr>
55    <declare-styleable name="UserAvatarView">
56        <attr name="avatarPadding" format="dimension" />
57        <attr name="frameWidth" format="dimension" />
58        <attr name="framePadding" format="dimension" />
59        <!-- {@deprecated Use a statelist in frameColor instead.} -->
60        <attr name="activeFrameColor" format="color" />
61        <attr name="frameColor" />
62        <attr name="badgeDiameter" format="dimension" />
63        <attr name="badgeMargin" format="dimension" />
64    </declare-styleable>
65    <declare-styleable name="UserDetailItemView">
66        <attr name="regularTextAppearance" format="string" />
67        <attr name="activatedTextAppearance" format="string" />
68    </declare-styleable>
69    <declare-styleable name="DateView">
70        <attr name="datePattern" format="string" />
71    </declare-styleable>
72    <declare-styleable name="VariableDateView">
73        <attr name="longDatePattern" format="string" />
74        <attr name="shortDatePattern" format="string" />
75    </declare-styleable>
76    <declare-styleable name="PseudoGridView">
77        <attr name="numColumns" format="integer" />
78        <attr name="verticalSpacing" format="dimension" />
79        <attr name="horizontalSpacing" format="dimension" />
80        <attr name="fixedChildWidth" format="dimension" />
81    </declare-styleable>
82
83    <!-- Theme for icons in the status/nav bar (light/dark). background/fillColor is used for dual
84         tone icons like wifi and signal, and singleToneColor is used for icons with only one tone.
85         Contract: Pixel with fillColor blended over backgroundColor blended over translucent should
86         equal to singleToneColor blended over translucent. -->
87    <declare-styleable name="TonedIcon">
88        <attr name="iconBackgroundColor" format="integer" />
89        <attr name="fillColor" format="integer" />
90        <attr name="singleToneColor" format="integer" />
91        <attr name="homeHandleColor" format="integer" />
92    </declare-styleable>
93
94    <declare-styleable name="StatusBarWindowView_Layout">
95        <attr name="ignoreRightInset" format="boolean" />
96    </declare-styleable>
97
98    <declare-styleable name="AnimatedImageView">
99        <attr name="hasOverlappingRendering" format="boolean" />
100    </declare-styleable>
101
102    <declare-styleable name="TunerSwitch">
103        <attr name="defValue" format="boolean" />
104        <attr name="metricsAction" format="integer" />
105    </declare-styleable>
106
107    <declare-styleable name="AutoReinflateContainer">
108        <attr name="android:layout" />
109    </declare-styleable>
110
111    <declare-styleable name="PluginInflateContainer">
112        <attr name="viewType" format="string" />
113    </declare-styleable>
114
115    <attr name="lightIconTheme" format="reference" />
116    <attr name="darkIconTheme" format="reference" />
117    <attr name="wallpaperTextColor" format="reference|color" />
118    <attr name="wallpaperTextColorSecondary" format="reference|color" />
119    <attr name="wallpaperTextColorAccent" format="reference|color" />
120    <attr name="backgroundProtectedStyle" format="reference" />
121
122    <!-- color attribute tokens for QS -->
123    <attr name="isQsTheme" format="boolean" />
124    <attr name="underSurface" format="reference|color"/>
125    <attr name="shadeActive" format="reference|color" />
126    <attr name="onShadeActive" format="reference|color" />
127    <attr name="onShadeActiveVariant" format="reference|color" />
128    <attr name="shadeInactive" format="reference|color" />
129    <attr name="onShadeInactive" format="reference|color" />
130    <attr name="onShadeInactiveVariant" format="reference|color" />
131    <attr name="shadeDisabled" format="reference|color" />
132    <attr name="surfaceBright" format="reference|color" />
133    <attr name="scHigh" format="reference|color" />
134    <attr name="tertiary" format="reference|color" />
135    <attr name="onSurface" format="reference|color" />
136    <attr name="onSurfaceVariant" format="reference|color" />
137    <attr name="outline" format="reference|color" />
138    <attr name="primary" format="reference|color" />
139
140
141    <declare-styleable name="SmartReplyView">
142        <attr name="spacing" format="dimension" />
143        <attr name="buttonStrokeWidth" format="dimension" />
144    </declare-styleable>
145
146    <!-- Used to style charging animation AVD animation -->
147    <attr name="chargingAnimColor" format="color" />
148
149    <!-- Size of shadows/elevations on keyguard -->
150    <attr name="shadowRadius" format="float" />
151
152    <attr name="handleThickness" format="dimension" />
153    <attr name="handleColor" format="color" />
154    <attr name="scrimColor" format="color" />
155    <!-- Int [0,255] for the alpha to be applied to scrimColor -->
156    <attr name="scrimAlpha" format="integer" />
157    <attr name="containerBackgroundColor" format="color" />
158
159    <attr name="isVertical" format="boolean" />
160
161    <!-- Used display CarrierText in Keyguard or QS Footer -->
162    <declare-styleable name="CarrierText">
163        <attr name="allCaps" format="boolean" />
164        <attr name="showMissingSim" format="boolean" />
165        <attr name="showAirplaneMode" format="boolean" />
166        <attr name="debugLocation" format="string" />
167    </declare-styleable>
168
169    <declare-styleable name="IlluminationDrawable">
170        <attr name="highlight" format="integer" />
171        <attr name="cornerRadius" format="dimension" />
172        <attr name="rippleMinSize" format="dimension" />
173        <attr name="rippleMaxSize" format="dimension" />
174    </declare-styleable>
175
176    <declare-styleable name="UdfpsView">
177        <attr name="sensorPressureCoefficient" format="float"/>
178        <attr name="sensorTouchAreaCoefficient" format="float"/>
179    </declare-styleable>
180
181    <declare-styleable name="AlphaTintDrawableWrapper">
182        <attr name="android:tint" />
183        <attr name="android:alpha" />
184    </declare-styleable>
185
186    <declare-styleable name="CropView">
187        <attr name="handleThickness" />
188        <attr name="handleColor" />
189        <attr name="scrimColor" />
190        <attr name="scrimAlpha" />
191        <attr name="containerBackgroundColor" />
192    </declare-styleable>
193
194    <declare-styleable name="MagnifierView">
195        <attr name="handleThickness" />
196        <attr name="handleColor" />
197        <attr name="scrimColor" />
198        <attr name="scrimAlpha" />
199        <attr name="borderThickness" format="dimension" />
200        <attr name="borderColor" format="color" />
201    </declare-styleable>
202
203    <attr name="overlayButtonTextColor" format="color" />
204
205    <declare-styleable name="DreamOverlayDotImageView">
206        <attr name="dotColor" format="color" />
207    </declare-styleable>
208
209    <declare-styleable name="DelayableMarqueeTextView">
210        <attr name="marqueeDelay" format="integer" />
211    </declare-styleable>
212
213    <declare-styleable name="AuthCredentialView">
214        <attr name="lockPatternStyle" format="reference" />
215        <attr name="lockPinPasswordStyle" format="reference" />
216        <attr name="containerStyle" format="reference" />
217        <attr name="headerStyle" format="reference" />
218        <attr name="headerIconStyle" format="reference" />
219        <attr name="titleTextAppearance" format="reference" />
220        <attr name="subTitleTextAppearance" format="reference" />
221        <attr name="descriptionTextAppearance" format="reference" />
222        <attr name="passwordTextAppearance" format="reference" />
223        <attr name="errorTextAppearance" format="reference"/>
224        <attr name="errorTextAppearanceLand" format="reference"/>
225    </declare-styleable>
226
227    <declare-styleable name="LogAccessPermissionGrantDialog">
228        <attr name="permissionGrantButtonTopStyle" format="reference"/>
229        <attr name="permissionGrantButtonBottomStyle" format="reference"/>
230    </declare-styleable>
231
232    <declare-styleable name="SeekBarWithIconButtonsView_Layout">
233        <attr name="max" format="integer" />
234        <attr name="progress" format="integer" />
235        <attr name="iconStartContentDescription" format="reference" />
236        <attr name="iconEndContentDescription" format="reference" />
237        <attr name="tickMark" format="reference" />
238        <attr name="seekBarChangeMagnitude" format="integer" />
239    </declare-styleable>
240</resources>
241
242