Searched refs:attrs (Results 226 - 250 of 543) sorted by relevance

1234567891011>>

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java45 public TextViewWithCircularIndicator(Context context, AttributeSet attrs) { argument
46 super(context, attrs);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DHorizontalGridView.java57 public HorizontalGridView(Context context, AttributeSet attrs) { argument
58 this(context, attrs, 0);
61 public HorizontalGridView(Context context, AttributeSet attrs, int defStyle) { argument
62 super(context, attrs, defStyle);
64 initAttributes(context, attrs);
67 protected void initAttributes(Context context, AttributeSet attrs) { argument
68 initBaseGridViewAttributes(context, attrs);
69 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbHorizontalGridView);
H A DImageCardView.java46 public ImageCardView(Context context, AttributeSet attrs) { argument
47 this(context, attrs, R.attr.imageCardViewStyle);
50 public ImageCardView(Context context, AttributeSet attrs, int defStyle) { argument
51 super(context, attrs, defStyle);
65 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.lbImageCardView,
/frameworks/base/core/java/android/view/
H A DTextureView.java142 * @param attrs The attributes of the XML tag that is inflating the view.
144 public TextureView(Context context, AttributeSet attrs) { argument
145 super(context, attrs);
153 * @param attrs The attributes of the XML tag that is inflating the view.
158 public TextureView(Context context, AttributeSet attrs, int defStyleAttr) { argument
159 super(context, attrs, defStyleAttr);
167 * @param attrs The attributes of the XML tag that is inflating the view.
176 public TextureView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
177 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java66 public MultiAutoCompleteTextView(Context context, AttributeSet attrs) { argument
67 this(context, attrs, com.android.internal.R.attr.autoCompleteTextViewStyle);
70 public MultiAutoCompleteTextView(Context context, AttributeSet attrs, int defStyleAttr) { argument
71 this(context, attrs, defStyleAttr, 0);
75 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
76 super(context, attrs, defStyleAttr, defStyleRes);
74 MultiAutoCompleteTextView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DAbsSpinner.java63 public AbsSpinner(Context context, AttributeSet attrs) { argument
64 this(context, attrs, 0);
67 public AbsSpinner(Context context, AttributeSet attrs, int defStyleAttr) { argument
68 this(context, attrs, defStyleAttr, 0);
71 public AbsSpinner(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
72 super(context, attrs, defStyleAttr, defStyleRes);
76 attrs, com.android.internal.R.styleable.AbsSpinner, defStyleAttr, defStyleRes);
H A DCheckedTextView.java69 public CheckedTextView(Context context, AttributeSet attrs) { argument
70 this(context, attrs, R.attr.checkedTextViewStyle);
73 public CheckedTextView(Context context, AttributeSet attrs, int defStyleAttr) { argument
74 this(context, attrs, defStyleAttr, 0);
77 public CheckedTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
78 super(context, attrs, defStyleAttr, defStyleRes);
81 attrs, R.styleable.CheckedTextView, defStyleAttr, defStyleRes);
H A DCompoundButton.java73 public CompoundButton(Context context, AttributeSet attrs) { argument
74 this(context, attrs, 0);
77 public CompoundButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
78 this(context, attrs, defStyleAttr, 0);
81 public CompoundButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
82 super(context, attrs, defStyleAttr, defStyleRes);
85 attrs, com.android.internal.R.styleable.CompoundButton, defStyleAttr, defStyleRes);
H A DTableRow.java70 * @param attrs a collection of attributes
72 public TableRow(Context context, AttributeSet attrs) { argument
73 super(context, attrs);
352 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
353 return new TableRow.LayoutParams(getContext(), attrs);
423 public LayoutParams(Context c, AttributeSet attrs) { argument
424 super(c, attrs);
427 c.obtainStyledAttributes(attrs,
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java60 public AbsActionBarView(Context context, AttributeSet attrs) { argument
61 this(context, attrs, 0);
64 public AbsActionBarView(Context context, AttributeSet attrs, int defStyleAttr) { argument
65 this(context, attrs, defStyleAttr, 0);
69 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
70 super(context, attrs, defStyleAttr, defStyleRes);
68 AbsActionBarView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DSubtitleView.java82 public SubtitleView(Context context, AttributeSet attrs) { argument
83 this(context, attrs, 0);
86 public SubtitleView(Context context, AttributeSet attrs, int defStyleAttr) { argument
87 this(context, attrs, defStyleAttr, 0);
90 public SubtitleView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
91 super(context, attrs);
94 attrs, android.R.styleable.TextView, defStyleAttr, defStyleRes);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimationDrawable.java275 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
277 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.AnimationDrawable);
282 inflateChildElements(r, parser, attrs, theme);
287 private void inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, argument
303 final TypedArray a = obtainAttributes(r, theme, attrs,
325 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
H A DAnimatedStateListDrawable.java376 @NonNull AttributeSet attrs, @Nullable Theme theme)
379 r, theme, attrs, R.styleable.AnimatedStateListDrawable);
384 inflateChildElements(r, parser, attrs, theme);
434 private void inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, argument
452 parseItem(r, parser, attrs, theme);
454 parseTransition(r, parser, attrs, theme);
460 @NonNull AttributeSet attrs, @Nullable Theme theme)
464 final TypedArray a = obtainAttributes(r, theme, attrs,
489 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
496 @NonNull AttributeSet attrs,
375 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
459 parseTransition(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
495 parseItem(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDebugOverlayView.java63 public DebugOverlayView(Context context, AttributeSet attrs) { argument
64 this(context, attrs, 0);
67 public DebugOverlayView(Context context, AttributeSet attrs, int defStyleAttr) { argument
68 this(context, attrs, defStyleAttr, 0);
71 public DebugOverlayView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
72 super(context, attrs, defStyleAttr, defStyleRes);
H A DTaskViewThumbnail.java82 public TaskViewThumbnail(Context context, AttributeSet attrs) { argument
83 this(context, attrs, 0);
86 public TaskViewThumbnail(Context context, AttributeSet attrs, int defStyleAttr) { argument
87 this(context, attrs, defStyleAttr, 0);
90 public TaskViewThumbnail(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
91 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DSupportMenuInflater.java116 AttributeSet attrs = Xml.asAttributeSet(parser);
118 parseMenu(parser, attrs, menu);
132 private void parseMenu(XmlPullParser parser, AttributeSet attrs, Menu menu) argument
166 menuState.readGroup(attrs);
168 menuState.readItem(attrs);
174 parseMenu(parser, attrs, subMenu);
293 * Sync to attrs.xml enum:
304 * Sync to attrs.xml enum, values in MenuItem:
347 public void readGroup(AttributeSet attrs) { argument
348 TypedArray a = mContext.obtainStyledAttributes(attrs,
365 readItem(AttributeSet attrs) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java42 final TypedArray attrs = res.mTypedArrayPool.acquire();
43 if (attrs != null) {
44 attrs.mLength = len;
45 attrs.mRecycled = false;
48 if (attrs.mData.length >= fullLen) {
49 return attrs;
52 attrs.mData = new int[fullLen];
53 attrs.mIndices = new int[1 + len];
54 return attrs;
918 int[] attrs
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java88 public FragmentBreadCrumbs(Context context, AttributeSet attrs) { argument
89 this(context, attrs, com.android.internal.R.attr.fragmentBreadCrumbsStyle);
92 public FragmentBreadCrumbs(Context context, AttributeSet attrs, int defStyleAttr) { argument
93 this(context, attrs, defStyleAttr, 0);
100 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
101 super(context, attrs, defStyleAttr, defStyleRes);
103 final TypedArray a = context.obtainStyledAttributes(attrs,
99 FragmentBreadCrumbs( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DMediaRouteButton.java71 public MediaRouteButton(Context context, AttributeSet attrs) { argument
72 this(context, attrs, com.android.internal.R.attr.mediaRouteButtonStyle);
75 public MediaRouteButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
76 this(context, attrs, defStyleAttr, 0);
80 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
81 super(context, attrs, defStyleAttr, defStyleRes);
86 final TypedArray a = context.obtainStyledAttributes(attrs,
79 MediaRouteButton( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java69 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
70 super(context, attrs, defStyleAttr, defStyleRes);
72 final TypedArray a = context.obtainStyledAttributes(attrs,
89 public DialogPreference(Context context, AttributeSet attrs, int defStyleAttr) { argument
90 this(context, attrs, defStyleAttr, 0);
93 public DialogPreference(Context context, AttributeSet attrs) { argument
94 this(context, attrs, com.android.internal.R.attr.dialogPreferenceStyle);
68 DialogPreference( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java64 public ActionMenuItemView(Context context, AttributeSet attrs) { argument
65 this(context, attrs, 0);
68 public ActionMenuItemView(Context context, AttributeSet attrs, int defStyleAttr) { argument
69 this(context, attrs, defStyleAttr, 0);
72 public ActionMenuItemView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
73 super(context, attrs, defStyleAttr, defStyleRes);
77 final TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java951 AttributeSet attrs = parser;
954 parsePackageSplitNames(parser, attrs, flags);
987 if (!parseSplitApplication(pkg, res, parser, attrs, flags, splitIndex, outError)) {
1179 final AttributeSet attrs = parser;
1180 return parseApkLite(apkPath, res, parser, attrs, flags, signatures);
1218 AttributeSet attrs, int flags) throws IOException, XmlPullParserException,
1235 final String packageName = attrs.getAttributeValue(null, "package");
1244 String splitName = attrs.getAttributeValue(null, "split");
1262 AttributeSet attrs, int flags, Signature[] signatures) throws IOException,
1264 final Pair<String, String> packageSplit = parsePackageSplitNames(parser, attrs, flag
1217 parsePackageSplitNames(XmlPullParser parser, AttributeSet attrs, int flags) argument
1261 parseApkLite(String codePath, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, Signature[] signatures) argument
1880 parseUsesFeature(Resources res, AttributeSet attrs) argument
1902 parseUsesPermission(Package pkg, Resources res, XmlResourceParser parser, AttributeSet attrs, String[] outError) argument
2032 parseKeySets(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2170 parsePermissionGroup(Package owner, int flags, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2214 parsePermission(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2284 parsePermissionTree(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2332 parseInstrumentation(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, String[] outError) argument
2399 parseBaseApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
2773 parseSplitApplication(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, int splitIndex, String[] outError) argument
2945 parseActivity(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError, boolean receiver, boolean hardwareAccelerated) argument
3250 parseActivityAlias(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3416 parseProvider(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3544 parseProviderTags(Resources res, XmlPullParser parser, AttributeSet attrs, Provider outInfo, String[] outError) argument
3727 parseService(Package owner, Resources res, XmlPullParser parser, AttributeSet attrs, int flags, String[] outError) argument
3848 parseAllMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, String tag, Component outInfo, String[] outError) argument
3882 parseMetaData(Resources res, XmlPullParser parser, AttributeSet attrs, Bundle data, String[] outError) argument
3947 parseVerifier(Resources res, XmlPullParser parser, AttributeSet attrs, int flags) argument
4017 parseIntent(Resources res, XmlPullParser parser, AttributeSet attrs, boolean allowGlobs, IntentInfo outInfo, String[] outError) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java556 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize)
575 anim = loadObjectAnimator(res, theme, attrs, pixelSize);
577 anim = loadAnimator(res, theme, attrs, null, pixelSize);
582 a = theme.obtainStyledAttributes(attrs, R.styleable.AnimatorSet, 0, 0);
584 a = res.obtainAttributes(attrs, R.styleable.AnimatorSet);
588 createAnimatorFromXml(res, theme, parser, attrs, (AnimatorSet) anim, ordering,
618 private static ObjectAnimator loadObjectAnimator(Resources res, Theme theme, AttributeSet attrs, argument
622 loadAnimator(res, theme, attrs, anim, pathErrorScale);
632 * @param attrs The set of attributes holding the animation parameters
637 AttributeSet attrs, ValueAnimato
555 createAnimatorFromXml(Resources res, Theme theme, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize) argument
636 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java88 public PathInterpolator(Context context, AttributeSet attrs) { argument
89 this(context.getResources(), context.getTheme(), attrs);
93 public PathInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument
96 a = theme.obtainStyledAttributes(attrs, R.styleable.PathInterpolator, 0, 0);
98 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java78 public KeyButtonView(Context context, AttributeSet attrs) { argument
79 this(context, attrs, 0);
82 public KeyButtonView(Context context, AttributeSet attrs, int defStyle) { argument
83 super(context, attrs);
85 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.KeyButtonView,

Completed in 8855 milliseconds

1234567891011>>