Searched refs:attrs (Results 176 - 200 of 526) sorted by relevance

1234567891011>>

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintOptionsLayout.java36 public PrintOptionsLayout(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
39 TypedArray typedArray = context.obtainStyledAttributes(attrs,
170 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
171 return new ViewGroup.MarginLayoutParams(getContext(), attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSlider.java54 public ToggleSlider(Context context, AttributeSet attrs) { argument
55 this(context, attrs, 0);
58 public ToggleSlider(Context context, AttributeSet attrs, int defStyle) { argument
59 super(context, attrs, defStyle);
65 attrs, R.styleable.ToggleSlider, defStyle, 0);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java63 public Clock(Context context, AttributeSet attrs) { argument
64 this(context, attrs, 0);
67 public Clock(Context context, AttributeSet attrs, int defStyle) { argument
68 super(context, attrs, defStyle);
70 attrs,
H A DDeadZone.java58 public DeadZone(Context context, AttributeSet attrs) { argument
59 this(context, attrs, 0);
62 public DeadZone(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs);
65 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DeadZone,
H A DDateView.java61 public DateView(Context context, AttributeSet attrs) { argument
62 super(context, attrs);
64 attrs,
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DViewStubCompat.java47 public ViewStubCompat(Context context, AttributeSet attrs) { argument
48 this(context, attrs, 0);
51 public ViewStubCompat(Context context, AttributeSet attrs, int defStyle) { argument
52 super(context, attrs, defStyle);
54 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ViewStubCompat,
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs,
41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs,
44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
46 int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
59 * @param attrs If non-null, new attributes to apply to the window.
89 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,
H A DMenuInflater.java108 AttributeSet attrs = Xml.asAttributeSet(parser);
110 parseMenu(parser, attrs, menu);
124 private void parseMenu(XmlPullParser parser, AttributeSet attrs, Menu menu) argument
158 menuState.readGroup(attrs);
160 menuState.readItem(attrs);
164 registerMenu(subMenu, attrs);
167 parseMenu(parser, attrs, subMenu);
187 registerMenu(menuState.addSubMenuItem(), attrs);
189 registerMenu(menuState.addItem(), attrs);
309 * Sync to attrs
363 readGroup(AttributeSet attrs) argument
380 readItem(AttributeSet attrs) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedStateListDrawable.java358 @NonNull AttributeSet attrs, @Nullable Theme theme)
361 r, theme, attrs, R.styleable.AnimatedStateListDrawable);
396 parseItem(r, parser, attrs, theme);
398 parseTransition(r, parser, attrs, theme);
406 @NonNull AttributeSet attrs, @Nullable Theme theme)
413 final int numAttrs = attrs.getAttributeCount();
415 final int stateResId = attrs.getAttributeNameResource(i);
420 fromId = attrs.getAttributeResourceValue(i, 0);
423 toId = attrs.getAttributeResourceValue(i, 0);
426 drawableRes = attrs
357 inflate(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
405 parseTransition(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
453 parseItem(@onNull Resources r, @NonNull XmlPullParser parser, @NonNull AttributeSet attrs, @Nullable Theme theme) argument
[all...]
H A DStateListDrawable.java118 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
121 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.StateListDrawable);
158 final int numAttrs = attrs.getAttributeCount();
161 final int stateResId = attrs.getAttributeNameResource(i);
164 drawableRes = attrs.getAttributeResourceValue(i, 0);
166 states[j++] = attrs.getAttributeBooleanValue(i, false)
185 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
H A DDrawable.java1005 AttributeSet attrs = Xml.asAttributeSet(parser);
1017 Drawable drawable = createFromXmlInner(r, parser, attrs, theme);
1031 public static Drawable createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs) argument
1033 return createFromXmlInner(r, parser, attrs, null);
1042 public static Drawable createFromXmlInner(Resources r, XmlPullParser parser, AttributeSet attrs, argument
1095 drawable.inflate(r, parser, attrs, theme);
1126 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
1128 inflate(r, parser, attrs, null);
1136 * @param attrs Base set of attribute values
1141 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Them argument
1161 inflateWithAttributes(Resources r, XmlPullParser parser, TypedArray attrs, int visibleAttr) argument
1274 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
[all...]
H A DLevelListDrawable.java87 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) argument
89 super.inflate(r, parser, attrs, theme);
108 TypedArray a = obtainAttributes(r, theme, attrs,
137 dr = Drawable.createFromXmlInner(r, parser, attrs, theme);
/frameworks/base/core/java/android/preference/
H A DMultiSelectListPreference.java49 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
50 super(context, attrs, defStyleAttr, defStyleRes);
52 final TypedArray a = context.obtainStyledAttributes(attrs,
60 public MultiSelectListPreference(Context context, AttributeSet attrs, int defStyleAttr) { argument
61 this(context, attrs, defStyleAttr, 0);
64 public MultiSelectListPreference(Context context, AttributeSet attrs) { argument
65 this(context, attrs, com.android.internal.R.attr.dialogPreferenceStyle);
48 MultiSelectListPreference( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DVolumePreference.java43 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
44 super(context, attrs, defStyleAttr, defStyleRes);
46 final TypedArray a = context.obtainStyledAttributes(attrs,
52 public VolumePreference(Context context, AttributeSet attrs, int defStyleAttr) { argument
53 this(context, attrs, defStyleAttr, 0);
56 public VolumePreference(Context context, AttributeSet attrs) { argument
57 this(context, attrs, com.android.internal.R.attr.dialogPreferenceStyle);
42 VolumePreference( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java61 public AdapterViewFlipper(Context context, AttributeSet attrs) { argument
62 this(context, attrs, 0);
65 public AdapterViewFlipper(Context context, AttributeSet attrs, int defStyleAttr) { argument
66 this(context, attrs, defStyleAttr, 0);
70 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
71 super(context, attrs, defStyleAttr, defStyleRes);
73 final TypedArray a = context.obtainStyledAttributes(attrs,
69 AdapterViewFlipper( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
H A DAnalogClock.java66 public AnalogClock(Context context, AttributeSet attrs) { argument
67 this(context, attrs, 0);
70 public AnalogClock(Context context, AttributeSet attrs, int defStyleAttr) { argument
71 this(context, attrs, defStyleAttr, 0);
74 public AnalogClock(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
75 super(context, attrs, defStyleAttr, defStyleRes);
79 attrs, com.android.internal.R.styleable.AnalogClock, defStyleAttr, defStyleRes);
H A DRadioGroup.java76 public RadioGroup(Context context, AttributeSet attrs) { argument
77 super(context, attrs);
82 attrs, com.android.internal.R.styleable.RadioGroup, com.android.internal.R.attr.radioButtonStyle, 0);
226 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
227 return new RadioGroup.LayoutParams(getContext(), attrs);
269 public LayoutParams(Context c, AttributeSet attrs) { argument
270 super(c, attrs);
H A DTextClock.java187 * @param attrs The attributes of the XML tag that is inflating the view
190 public TextClock(Context context, AttributeSet attrs) { argument
191 this(context, attrs, 0);
200 * @param attrs The attributes of the XML tag that is inflating the view
205 public TextClock(Context context, AttributeSet attrs, int defStyleAttr) { argument
206 this(context, attrs, defStyleAttr, 0);
209 public TextClock(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
210 super(context, attrs, defStyleAttr, defStyleRes);
213 attrs, R.styleable.TextClock, defStyleAttr, defStyleRes);
H A DViewAnimator.java53 public ViewAnimator(Context context, AttributeSet attrs) { argument
54 super(context, attrs);
56 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewAnimator);
72 initViewAnimator(context, attrs);
79 private void initViewAnimator(Context context, AttributeSet attrs) { argument
80 if (attrs == null) {
88 final TypedArray a = context.obtainStyledAttributes(attrs,
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java60 public IconMenuItemView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
61 super(context, attrs, defStyleAttr, defStyleRes);
73 attrs, com.android.internal.R.styleable.MenuView, defStyleAttr, defStyleRes);
84 public IconMenuItemView(Context context, AttributeSet attrs, int defStyleAttr) { argument
85 this(context, attrs, defStyleAttr, 0);
88 public IconMenuItemView(Context context, AttributeSet attrs) { argument
89 this(context, attrs, 0);
H A DListMenuItemView.java59 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
60 super(context, attrs, defStyleAttr, defStyleRes);
63 attrs, com.android.internal.R.styleable.MenuView, defStyleAttr, defStyleRes);
75 public ListMenuItemView(Context context, AttributeSet attrs, int defStyleAttr) { argument
76 this(context, attrs, defStyleAttr, 0);
79 public ListMenuItemView(Context context, AttributeSet attrs) { argument
80 this(context, attrs, 0);
58 ListMenuItemView( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUserAvatarView.java51 public UserAvatarView(Context context, AttributeSet attrs, argument
54 super(context, attrs, defStyleAttr, defStyleRes);
56 attrs, R.styleable.UserAvatarView, defStyleAttr, defStyleRes);
82 public UserAvatarView(Context context, AttributeSet attrs, int defStyleAttr) { argument
83 this(context, attrs, defStyleAttr, 0);
86 public UserAvatarView(Context context, AttributeSet attrs) { argument
87 this(context, attrs, 0);
/frameworks/base/core/java/android/transition/
H A DFade.java101 public Fade(Context context, AttributeSet attrs) { argument
102 super(context, attrs);
103 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Fade);
/frameworks/base/core/java/android/view/animation/
H A DRotateAnimation.java46 * @param attrs Attribute set from which to read values
48 public RotateAnimation(Context context, AttributeSet attrs) { argument
49 super(context, attrs);
51 TypedArray a = context.obtainStyledAttributes(attrs,
H A DBounceInterpolator.java35 public BounceInterpolator(Context context, AttributeSet attrs) { argument

Completed in 312 milliseconds

1234567891011>>