/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1380 * <var>Theme</var> which are listed in <var>attrs</var>. 1385 * @param attrs The desired attributes. 1397 public TypedArray obtainStyledAttributes(int[] attrs) { argument 1398 final int len = attrs.length; 1401 AssetManager.applyStyle(mTheme, 0, 0, 0, attrs, array.mData, array.mIndices); 1407 * resource <var>resid</var> which are listed in <var>attrs</var>. 1413 * @param attrs The desired attributes in the style. 1425 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws NotFoundException { argument 1426 final int len = attrs.length; 1438 for (i=0; i<attrs 1507 obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument 1570 resolveAttributes(@onNull int[] values, @NonNull int[] attrs) argument 1744 obtainAttributes(AttributeSet set, int[] attrs) argument 2184 parseBundleExtra(String tagName, AttributeSet attrs, Bundle outBundle) argument 2709 recycleCachedStyledAttributes(TypedArray attrs) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 279 public KeyboardView(Context context, AttributeSet attrs) { argument 280 this(context, attrs, com.android.internal.R.attr.keyboardViewStyle); 283 public KeyboardView(Context context, AttributeSet attrs, int defStyleAttr) { argument 284 this(context, attrs, defStyleAttr, 0); 287 public KeyboardView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 288 super(context, attrs, defStyleAttr, defStyleRes); 291 attrs, android.R.styleable.KeyboardView, defStyleAttr, defStyleRes);
|
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 202 * @param attrs The attributes of the XML tag that is inflating the 213 public Preference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 217 attrs, com.android.internal.R.styleable.Preference, defStyleAttr, defStyleRes); 301 * @param attrs The attributes of the XML tag that is inflating the 308 public Preference(Context context, AttributeSet attrs, int defStyleAttr) { argument 309 this(context, attrs, defStyleAttr, 0); 322 * @param attrs The attributes of the XML tag that is inflating the 326 public Preference(Context context, AttributeSet attrs) { argument 327 this(context, attrs, com.android.internal.R.attr.preferenceStyle);
|
/frameworks/base/core/java/android/transition/ |
H A D | Transition.java | 265 * @param attrs The attributes of the XML tag that is inflating the transition. 267 public Transition(Context context, AttributeSet attrs) { argument 269 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Transition);
|
/frameworks/base/core/java/android/widget/ |
H A D | CalendarViewLegacyDelegate.java | 259 CalendarViewLegacyDelegate(CalendarView delegator, Context context, AttributeSet attrs, argument 263 final TypedArray a = context.obtainStyledAttributes(attrs,
|
H A D | ListPopupWindow.java | 184 * @param attrs Attributes from inflating parent views used to style the popup. 186 public ListPopupWindow(Context context, AttributeSet attrs) { argument 187 this(context, attrs, com.android.internal.R.attr.listPopupWindowStyle, 0); 195 * @param attrs Attributes from inflating parent views used to style the popup. 198 public ListPopupWindow(Context context, AttributeSet attrs, int defStyleAttr) { argument 199 this(context, attrs, defStyleAttr, 0); 207 * @param attrs Attributes from inflating parent views used to style the popup. 211 public ListPopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 214 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ListPopupWindow, 225 mPopup = new PopupWindow(context, attrs, defStyleAtt [all...] |
H A D | ListView.java | 142 public ListView(Context context, AttributeSet attrs) { argument 143 this(context, attrs, com.android.internal.R.attr.listViewStyle); 146 public ListView(Context context, AttributeSet attrs, int defStyleAttr) { argument 147 this(context, attrs, defStyleAttr, 0); 150 public ListView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 151 super(context, attrs, defStyleAttr, defStyleRes); 154 attrs, com.android.internal.R.styleable.ListView, defStyleAttr, defStyleRes);
|
H A D | PopupWindow.java | 178 public PopupWindow(Context context, AttributeSet attrs) { argument 179 this(context, attrs, com.android.internal.R.attr.popupWindowStyle); 187 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr) { argument 188 this(context, attrs, defStyleAttr, 0); 196 public PopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 201 attrs, R.styleable.PopupWindow, defStyleAttr, defStyleRes);
|
H A D | ProgressBar.java | 248 public ProgressBar(Context context, AttributeSet attrs) { argument 249 this(context, attrs, com.android.internal.R.attr.progressBarStyle); 252 public ProgressBar(Context context, AttributeSet attrs, int defStyleAttr) { argument 253 this(context, attrs, defStyleAttr, 0); 256 public ProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 257 super(context, attrs, defStyleAttr, defStyleRes); 263 attrs, R.styleable.ProgressBar, defStyleAttr, defStyleRes);
|
H A D | RadialTimePickerView.java | 296 public RadialTimePickerView(Context context, AttributeSet attrs) { argument 297 this(context, attrs, R.attr.timePickerStyle); 300 public RadialTimePickerView(Context context, AttributeSet attrs, int defStyleAttr) { argument 301 this(context, attrs, defStyleAttr, 0); 305 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 306 super(context, attrs); 315 final TypedArray a = mContext.obtainStyledAttributes(attrs, R.styleable.TimePicker, 304 RadialTimePickerView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
|
H A D | ScrollView.java | 168 public ScrollView(Context context, AttributeSet attrs) { argument 169 this(context, attrs, com.android.internal.R.attr.scrollViewStyle); 172 public ScrollView(Context context, AttributeSet attrs, int defStyleAttr) { argument 173 this(context, attrs, defStyleAttr, 0); 176 public ScrollView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 177 super(context, attrs, defStyleAttr, defStyleRes); 181 attrs, com.android.internal.R.styleable.ScrollView, defStyleAttr, defStyleRes);
|
H A D | SearchView.java | 253 public SearchView(Context context, AttributeSet attrs) { argument 254 this(context, attrs, R.attr.searchViewStyle); 257 public SearchView(Context context, AttributeSet attrs, int defStyleAttr) { argument 258 this(context, attrs, defStyleAttr, 0); 261 public SearchView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 262 super(context, attrs, defStyleAttr, defStyleRes); 265 attrs, R.styleable.SearchView, defStyleAttr, defStyleRes); 1711 public SearchAutoComplete(Context context, AttributeSet attrs) { argument 1712 super(context, attrs); 1716 public SearchAutoComplete(Context context, AttributeSet attrs, in argument 1721 SearchAutoComplete( Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes) argument [all...] |
H A D | StackView.java | 163 public StackView(Context context, AttributeSet attrs) { argument 164 this(context, attrs, com.android.internal.R.attr.stackViewStyle); 170 public StackView(Context context, AttributeSet attrs, int defStyleAttr) { argument 171 this(context, attrs, defStyleAttr, 0); 177 public StackView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 178 super(context, attrs, defStyleAttr, defStyleRes); 180 attrs, com.android.internal.R.styleable.StackView, defStyleAttr, defStyleRes); 1293 LayoutParams(Context c, AttributeSet attrs) { argument 1294 super(c, attrs);
|
H A D | TimePickerClockDelegate.java | 115 public TimePickerClockDelegate(TimePicker delegator, Context context, AttributeSet attrs, argument 120 final TypedArray a = mContext.obtainStyledAttributes(attrs,
|
H A D | Toolbar.java | 179 public Toolbar(Context context, AttributeSet attrs) { argument 180 this(context, attrs, com.android.internal.R.attr.toolbarStyle); 183 public Toolbar(Context context, AttributeSet attrs, int defStyleAttr) { argument 184 this(context, attrs, defStyleAttr, 0); 187 public Toolbar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument 188 super(context, attrs, defStyleAttr, defStyleRes); 190 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Toolbar, 1679 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument 1680 return new LayoutParams(getContext(), attrs); 1797 public LayoutParams(@NonNull Context c, AttributeSet attrs) { argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 157 public ActionBarView(Context context, AttributeSet attrs) { argument 158 super(context, attrs); 163 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ActionBar, 1266 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument 1267 return new ActionBar.LayoutParams(getContext(), attrs); 1408 public HomeView(Context context, AttributeSet attrs) { argument 1409 super(context, attrs);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 217 public GlowPadView(Context context, AttributeSet attrs) { argument 218 super(context, attrs); 221 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.GlowPadView);
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 1032 jintArray attrs, 1040 if (attrs == NULL) { 1041 jniThrowNullPointerException(env, "attrs"); 1057 const jsize NI = env->GetArrayLength(attrs); 1064 jint* src = (jint*)env->GetPrimitiveArrayCritical(attrs, 0); 1075 env->ReleasePrimitiveArrayCritical(attrs, src, 0); 1212 env->ReleasePrimitiveArrayCritical(attrs, src, 0); 1222 jintArray attrs, 1230 if (attrs == NULL) { 1231 jniThrowNullPointerException(env, "attrs"); 1027 android_content_AssetManager_resolveAttrs(JNIEnv* env, jobject clazz, jlong themeToken, jint defStyleAttr, jint defStyleRes, jintArray inValues, jintArray attrs, jintArray outValues, jintArray outIndices) argument 1217 android_content_AssetManager_applyStyle(JNIEnv* env, jobject clazz, jlong themeToken, jint defStyleAttr, jint defStyleRes, jlong xmlParserToken, jintArray attrs, jintArray outValues, jintArray outIndices) argument 1454 android_content_AssetManager_retrieveAttributes(JNIEnv* env, jobject clazz, jlong xmlParserToken, jintArray attrs, jintArray outValues, jintArray outIndices) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 1012 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 1014 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable); 1019 inflateChildElements(r, parser, attrs, theme); 1150 private void inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, argument 1171 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableSize); 1175 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableGradient); 1179 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableSolid); 1183 a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawableStroke); 1187 a = obtainAttributes(r, theme, attrs, R.styleable.DrawableCorners); 1191 a = obtainAttributes(r, theme, attrs, [all...] |
H A D | VectorDrawable.java | 419 final AttributeSet attrs = Xml.asAttributeSet(parser); 430 drawable.inflate(resources, parser, attrs); 449 public void inflate(Resources res, XmlPullParser parser, AttributeSet attrs, Theme theme) argument 455 final TypedArray a = obtainAttributes(res, theme, attrs, R.styleable.VectorDrawable); 460 inflateInternal(res, parser, attrs, theme); 525 private void inflateInternal(Resources res, XmlPullParser parser, AttributeSet attrs, argument 544 path.inflate(res, attrs, theme); 553 path.inflate(res, attrs, theme); 561 newChildGroup.inflate(res, attrs, theme); 1094 public void inflate(Resources res, AttributeSet attrs, Them argument 1310 inflate(Resources r, AttributeSet attrs, Theme theme) argument 1415 inflate(Resources r, AttributeSet attrs, Theme theme) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ClosedCaptionRenderer.java | 1112 public ClosedCaptionWidget(Context context, AttributeSet attrs) { argument 1116 public ClosedCaptionWidget(Context context, AttributeSet attrs, int defStyle) { argument 1117 super(context, attrs, defStyle);
|
H A D | WebVttRenderer.java | 1150 public WebVttRenderingWidget(Context context, AttributeSet attrs) { argument 1151 this(context, attrs, 0); 1154 public WebVttRenderingWidget(Context context, AttributeSet attrs, int defStyleAttr) { argument 1155 this(context, attrs, defStyleAttr, 0); 1159 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 1160 super(context, attrs, defStyleAttr, defStyleRes); 1158 WebVttRenderingWidget( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 221 public GLSurfaceView(Context context, AttributeSet attrs) { argument 222 super(context, attrs);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | SlidingChallengeLayout.java | 232 public SlidingChallengeLayout(Context context, AttributeSet attrs) { argument 233 this(context, attrs, 0); 236 public SlidingChallengeLayout(Context context, AttributeSet attrs, int defStyle) { argument 237 super(context, attrs, defStyle); 1225 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { argument 1226 return new LayoutParams(getContext(), attrs); 1278 public LayoutParams(Context c, AttributeSet attrs) { argument 1279 super(c, attrs); 1281 final TypedArray a = c.obtainStyledAttributes(attrs,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 119 public ZenModePanel(Context context, AttributeSet attrs) { argument 120 super(context, attrs);
|