Searched refs:attrs (Results 101 - 125 of 347) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/
H A DViewStub.java95 public ViewStub(Context context, AttributeSet attrs) { argument
96 this(context, attrs, 0);
100 public ViewStub(Context context, AttributeSet attrs, int defStyle) { argument
101 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.ViewStub,
109 a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.View, defStyle, 0);
/frameworks/base/core/java/android/widget/
H A DChronometer.java91 public Chronometer(Context context, AttributeSet attrs) { argument
92 this(context, attrs, 0);
99 public Chronometer(Context context, AttributeSet attrs, int defStyle) { argument
100 super(context, attrs, defStyle);
103 attrs,
H A DRatingBar.java85 public RatingBar(Context context, AttributeSet attrs, int defStyle) { argument
86 super(context, attrs, defStyle);
88 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.RatingBar,
115 public RatingBar(Context context, AttributeSet attrs) { argument
116 this(context, attrs, com.android.internal.R.attr.ratingBarStyle);
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 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,
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 defStyle) { argument
71 super(context, attrs, defStyle);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardGlowStripView.java59 public KeyguardGlowStripView(Context context, AttributeSet attrs) { argument
60 this(context, attrs, 0);
63 public KeyguardGlowStripView(Context context, AttributeSet attrs, int defStyle) { argument
64 super(context, attrs, defStyle);
66 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.KeyguardGlowStripView);
H A DKeyguardMultiUserSelectorView.java49 public KeyguardMultiUserSelectorView(Context context, AttributeSet attrs) { argument
50 this(context, attrs, 0);
53 public KeyguardMultiUserSelectorView(Context context, AttributeSet attrs, int defStyle) { argument
54 super(context, attrs, defStyle);
H A DKeyguardStatusView.java71 public KeyguardStatusView(Context context, AttributeSet attrs) { argument
72 this(context, attrs, 0);
75 public KeyguardStatusView(Context context, AttributeSet attrs, int defStyle) { argument
76 super(context, attrs, defStyle);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
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 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);
63 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ToggleSlider,
H A DClock.java67 public Clock(Context context, AttributeSet attrs) { argument
68 this(context, attrs, 0);
71 public Clock(Context context, AttributeSet attrs, int defStyle) { argument
72 super(context, attrs, defStyle);
H A DIntruderAlertView.java60 public IntruderAlertView(Context context, AttributeSet attrs) { argument
61 this(context, attrs, 0);
64 public IntruderAlertView(Context context, AttributeSet attrs, int defStyle) { argument
65 super(context, attrs, defStyle);
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java97 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering)
117 anim = loadObjectAnimator(c, attrs);
119 anim = loadAnimator(c, attrs, null);
122 TypedArray a = c.obtainStyledAttributes(attrs,
126 createAnimatorFromXml(c, parser, attrs, (AnimatorSet) anim, ordering);
156 private static ObjectAnimator loadObjectAnimator(Context context, AttributeSet attrs) argument
161 loadAnimator(context, attrs, anim);
164 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.PropertyAnimator);
180 * @param attrs the set of attributes holding the animation parameters
182 private static ValueAnimator loadAnimator(Context context, AttributeSet attrs, ValueAnimato argument
96 createAnimatorFromXml(Context c, XmlPullParser parser, AttributeSet attrs, AnimatorSet parent, int sequenceOrdering) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DStateListDrawable.java114 AttributeSet attrs)
117 TypedArray a = r.obtainAttributes(attrs,
156 final int numAttrs = attrs.getAttributeCount();
159 final int stateResId = attrs.getAttributeNameResource(i);
162 drawableRes = attrs.getAttributeResourceValue(i, 0);
164 states[j++] = attrs.getAttributeBooleanValue(i, false)
183 dr = Drawable.createFromXmlInner(r, parser, attrs);
113 inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
H A DColorDrawable.java158 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
160 super.inflate(r, parser, attrs);
162 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.ColorDrawable);
H A DLevelListDrawable.java86 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
89 super.inflate(r, parser, attrs);
108 TypedArray a = r.obtainAttributes(attrs,
137 dr = Drawable.createFromXmlInner(r, parser, attrs);
H A DMipmapDrawable.java131 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) argument
134 super.inflate(r, parser, attrs);
151 TypedArray a = r.obtainAttributes(attrs,
171 dr = Drawable.createFromXmlInner(r, parser, attrs);
/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,
/frameworks/base/core/java/com/android/internal/widget/
H A DSizeAdaptiveLayout.java86 public SizeAdaptiveLayout(Context context, AttributeSet attrs) { argument
87 super(context, attrs);
91 public SizeAdaptiveLayout(Context context, AttributeSet attrs, int defStyle) { argument
92 super(context, attrs, defStyle);
282 public LayoutParams generateLayoutParams(AttributeSet attrs) { argument
283 if (DEBUG) Log.d(TAG, "generate layout from attrs");
284 return new SizeAdaptiveLayout.LayoutParams(getContext(), attrs);
334 public LayoutParams(Context c, AttributeSet attrs) { argument
335 super(c, attrs);
337 Log.d(TAG, "construct layout from attrs");
[all...]
H A DTextProgressBar.java63 public TextProgressBar(Context context, AttributeSet attrs, int defStyle) { argument
64 super(context, attrs, defStyle);
67 public TextProgressBar(Context context, AttributeSet attrs) { argument
68 super(context, attrs);
/frameworks/base/core/java/android/content/res/
H A DResources.java1122 * <var>Theme</var> which are listed in <var>attrs</var>.
1127 * @param attrs The desired attributes.
1139 public TypedArray obtainStyledAttributes(int[] attrs) { argument
1140 int len = attrs.length;
1142 array.mRsrcs = attrs;
1143 AssetManager.applyStyle(mTheme, 0, 0, 0, attrs,
1150 * resource <var>resid</var> which are listed in <var>attrs</var>.
1156 * @param attrs The desired attributes in the style.
1168 public TypedArray obtainStyledAttributes(int resid, int[] attrs) argument
1170 int len = attrs
1253 obtainStyledAttributes(AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
1379 obtainAttributes(AttributeSet set, int[] attrs) argument
1773 parseBundleExtra(String tagName, AttributeSet attrs, Bundle outBundle) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DTwoStatePreference.java45 public TwoStatePreference(Context context, AttributeSet attrs, int defStyle) { argument
46 super(context, attrs, defStyle);
49 public TwoStatePreference(Context context, AttributeSet attrs) { argument
50 this(context, attrs, 0);
/frameworks/base/services/java/com/android/server/am/
H A DAppNotRespondingDialog.java98 WindowManager.LayoutParams attrs = getWindow().getAttributes();
99 attrs.setTitle("Application Not Responding: " + app.info.processName);
100 attrs.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS;
101 getWindow().setAttributes(attrs);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DSettingsView.java50 public SettingsView(Context context, AttributeSet attrs) { argument
51 this(context, attrs, 0);
54 public SettingsView(Context context, AttributeSet attrs, int defStyle) { argument
55 super(context, attrs, defStyle);

Completed in 254 milliseconds

1234567891011>>