/frameworks/base/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 107 AttributeSet attrs) 110 TypedArray a = r.obtainAttributes(attrs, 145 final int numAttrs = attrs.getAttributeCount(); 148 final int stateResId = attrs.getAttributeNameResource(i); 151 drawableRes = attrs.getAttributeResourceValue(i, 0); 153 states[j++] = attrs.getAttributeBooleanValue(i, false) 172 dr = Drawable.createFromXmlInner(r, parser, attrs);
|
ColorDrawable.java | 112 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 114 super.inflate(r, parser, attrs); 116 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.ColorDrawable);
|
LevelListDrawable.java | 86 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) 89 super.inflate(r, parser, attrs); 108 TypedArray a = r.obtainAttributes(attrs, 137 dr = Drawable.createFromXmlInner(r, parser, attrs);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayout_LayoutParamsTest.java | 127 AttributeSet attrs = getAttrs("base_attr_pixel"); local 128 TypedArray a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 142 attrs = getAttrs("base_attr_fillwrap"); 143 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 157 attrs = getAttrs("base_attr_noheight"); 158 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 190 AttributeSet attrs = null; local 219 attrs = Xml.asAttributeSet(parser); 232 return attrs;
|
TableRow_LayoutParamsTest.java | 177 AttributeSet attrs = getAttrs("base_attr_pixel"); local 178 TypedArray a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 192 attrs = getAttrs("base_attr_fillwrap"); 193 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 207 attrs = getAttrs("base_attr_noheight"); 208 a = mTargetContext.obtainStyledAttributes(attrs, R.styleable.ViewGroup_Layout); 244 AttributeSet attrs = null; local 273 attrs = Xml.asAttributeSet(parser); 286 return attrs;
|
ZoomButtonTest.java | 84 AttributeSet attrs = Xml.asAttributeSet(parser); local 85 assertNotNull(attrs); 86 new ZoomButton(mActivity, attrs); 87 new ZoomButton(mActivity, attrs, 0);
|
TimePickerTest.java | 81 AttributeSet attrs = local 83 assertNotNull(attrs); 93 new TimePicker(mContext, attrs); 95 new TimePicker(null, attrs); 102 new TimePicker(mContext, attrs, 0); 104 new TimePicker(null, attrs, 0); 110 new TimePicker(mContext, attrs, 0); 111 new TimePicker(mContext, attrs, Integer.MIN_VALUE);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
LabelView.java | 59 public LabelView(Context context, AttributeSet attrs) { 60 super(context, attrs); 63 TypedArray a = context.obtainStyledAttributes(attrs,
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 45 public FixedGridLayout(Context context, AttributeSet attrs) { 46 super(context, attrs); 50 attrs, R.styleable.FixedGridLayout);
|
/frameworks/base/core/java/android/view/animation/ |
RotateAnimation.java | 46 * @param attrs Attribute set from which to read values 48 public RotateAnimation(Context context, AttributeSet attrs) { 49 super(context, attrs); 51 TypedArray a = context.obtainStyledAttributes(attrs,
|
/frameworks/base/core/java/android/widget/ |
ViewFlipper.java | 57 public ViewFlipper(Context context, AttributeSet attrs) { 58 super(context, attrs); 60 TypedArray a = context.obtainStyledAttributes(attrs,
|
MultiAutoCompleteTextView.java | 76 public MultiAutoCompleteTextView(Context context, AttributeSet attrs) { 77 this(context, attrs, com.android.internal.R.attr.autoCompleteTextViewStyle); 80 public MultiAutoCompleteTextView(Context context, AttributeSet attrs, int defStyle) { 81 super(context, attrs, defStyle);
|
DigitalClock.java | 56 public DigitalClock(Context context, AttributeSet attrs) { 57 super(context, attrs);
|
ZoomControls.java | 43 public ZoomControls(Context context, AttributeSet attrs) { 44 super(context, attrs);
|
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 43 public ListPreference(Context context, AttributeSet attrs) { 44 super(context, attrs); 47 attrs, R.styleable.ListPreference, 0, 0);
|
/frameworks/base/core/java/android/content/res/ |
Resources.java | 1949 TypedArray attrs = mCachedStyledAttributes; local [all...] |
/external/webkit/JavaScriptCore/ |
create_hash_table | 41 my @attrs = (); 74 @attrs = (); 86 push(@attrs, length($att) > 0 ? $att : "0"); 266 print " { \"$key\", $attrs[$i], (intptr_t)$firstValue, (intptr_t)$secondValue },\n";
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 63 public TextProgressBar(Context context, AttributeSet attrs, int defStyle) { 64 super(context, attrs, defStyle); 67 public TextProgressBar(Context context, AttributeSet attrs) { 68 super(context, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
Clock.java | 66 public Clock(Context context, AttributeSet attrs) { 67 this(context, attrs, 0); 70 public Clock(Context context, AttributeSet attrs, int defStyle) { 71 super(context, attrs, defStyle);
|
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
Entry.java | 53 public void setPropertyFromXml(String uri, String localName, Attributes attrs, String content) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
BubbleTextView.java | 54 public BubbleTextView(Context context, AttributeSet attrs) { 55 super(context, attrs); 59 public BubbleTextView(Context context, AttributeSet attrs, int defStyle) { 60 super(context, attrs, defStyle);
|
/packages/apps/Phone/src/com/android/phone/ |
CallWaitingCheckBoxPreference.java | 28 public CallWaitingCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { 29 super(context, attrs, defStyle); 34 public CallWaitingCheckBoxPreference(Context context, AttributeSet attrs) { 35 this(context, attrs, com.android.internal.R.attr.checkBoxPreferenceStyle);
|
/frameworks/base/core/java/android/content/ |
Context.java | 222 int[] attrs) { 223 return getTheme().obtainStyledAttributes(attrs); 234 int resid, int[] attrs) throws Resources.NotFoundException { 235 return getTheme().obtainStyledAttributes(resid, attrs); 246 AttributeSet set, int[] attrs) { 247 return getTheme().obtainStyledAttributes(set, attrs, 0, 0); 258 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) { 260 set, attrs, defStyleAttr, defStyleRes); [all...] |
SyncAdaptersCache.java | 47 String packageName, AttributeSet attrs) { 48 TypedArray sa = res.obtainAttributes(attrs,
|
/frameworks/base/core/java/android/preference/ |
PreferenceInflater.java | 67 AttributeSet attrs) throws XmlPullParserException { 74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
|