• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <attr name="offStateColor" format="reference|color" />
122    <attr name="underSurfaceColor" format="reference|color" />
123
124    <declare-styleable name="SmartReplyView">
125        <attr name="spacing" format="dimension" />
126        <attr name="buttonStrokeWidth" format="dimension" />
127    </declare-styleable>
128
129    <!-- Used to style charging animation AVD animation -->
130    <attr name="chargingAnimColor" format="color" />
131
132    <!-- Size of shadows/elevations on keyguard -->
133    <attr name="shadowRadius" format="float" />
134
135    <attr name="handleThickness" format="dimension" />
136    <attr name="handleColor" format="color" />
137    <attr name="scrimColor" format="color" />
138    <!-- Int [0,255] for the alpha to be applied to scrimColor -->
139    <attr name="scrimAlpha" format="integer" />
140    <attr name="containerBackgroundColor" format="color" />
141
142    <attr name="isVertical" format="boolean" />
143
144    <!-- Used display CarrierText in Keyguard or QS Footer -->
145    <declare-styleable name="CarrierText">
146        <attr name="allCaps" format="boolean" />
147        <attr name="showMissingSim" format="boolean" />
148        <attr name="showAirplaneMode" format="boolean" />
149    </declare-styleable>
150
151    <declare-styleable name="IlluminationDrawable">
152        <attr name="highlight" format="integer" />
153        <attr name="cornerRadius" format="dimension" />
154        <attr name="rippleMinSize" format="dimension" />
155        <attr name="rippleMaxSize" format="dimension" />
156    </declare-styleable>
157
158    <declare-styleable name="UdfpsView">
159        <attr name="sensorPressureCoefficient" format="float"/>
160        <attr name="sensorTouchAreaCoefficient" format="float"/>
161    </declare-styleable>
162
163    <declare-styleable name="AlphaTintDrawableWrapper">
164        <attr name="android:tint" />
165        <attr name="android:alpha" />
166    </declare-styleable>
167
168    <declare-styleable name="CropView">
169        <attr name="handleThickness" />
170        <attr name="handleColor" />
171        <attr name="scrimColor" />
172        <attr name="scrimAlpha" />
173        <attr name="containerBackgroundColor" />
174    </declare-styleable>
175
176    <declare-styleable name="MagnifierView">
177        <attr name="handleThickness" />
178        <attr name="handleColor" />
179        <attr name="scrimColor" />
180        <attr name="scrimAlpha" />
181        <attr name="borderThickness" format="dimension" />
182        <attr name="borderColor" format="color" />
183    </declare-styleable>
184
185    <attr name="overlayButtonTextColor" format="color" />
186
187    <declare-styleable name="DreamOverlayDotImageView">
188        <attr name="dotColor" format="color" />
189    </declare-styleable>
190
191    <declare-styleable name="DelayableMarqueeTextView">
192        <attr name="marqueeDelay" format="integer" />
193    </declare-styleable>
194
195    <declare-styleable name="AuthCredentialView">
196        <attr name="lockPatternStyle" format="reference" />
197        <attr name="lockPinPasswordStyle" format="reference" />
198        <attr name="containerStyle" format="reference" />
199        <attr name="headerStyle" format="reference" />
200        <attr name="headerIconStyle" format="reference" />
201        <attr name="titleTextAppearance" format="reference" />
202        <attr name="subTitleTextAppearance" format="reference" />
203        <attr name="descriptionTextAppearance" format="reference" />
204        <attr name="passwordTextAppearance" format="reference" />
205        <attr name="errorTextAppearance" format="reference"/>
206    </declare-styleable>
207
208    <declare-styleable name="BiometricsEnrollView">
209        <attr name="biometricsEnrollStyle" format="reference" />
210        <attr name="biometricsEnrollIcon" format="reference|color" />
211        <attr name="biometricsMovingTargetFill" format="reference|color" />
212        <attr name="biometricsMovingTargetFillError" format="reference|color" />
213        <attr name="biometricsEnrollProgress" format="reference|color" />
214        <attr name="biometricsEnrollProgressHelp" format="reference|color" />
215        <attr name="biometricsEnrollProgressHelpWithTalkback" format="reference|color" />
216    </declare-styleable>
217
218    <declare-styleable name="SeekBarWithIconButtonsView_Layout">
219        <attr name="max" format="integer" />
220        <attr name="progress" format="integer" />
221        <attr name="iconStartContentDescription" format="reference" />
222        <attr name="iconEndContentDescription" format="reference" />
223    </declare-styleable>
224</resources>
225
226