/frameworks/base/core/java/android/view/ |
MenuInflater.java | 78 AttributeSet attrs = Xml.asAttributeSet(parser); local 80 parseMenu(parser, attrs, menu); 94 private void parseMenu(XmlPullParser parser, AttributeSet attrs, Menu menu) 128 menuState.readGroup(attrs); 130 menuState.readItem(attrs); 136 parseMenu(parser, attrs, subMenu); 198 * Sync to attrs.xml enum: 235 public void readGroup(AttributeSet attrs) { 236 TypedArray a = mContext.obtainStyledAttributes(attrs, 252 public void readItem(AttributeSet attrs) { [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributesImplTest.java | 322 AttributesImpl attrs = new AttributesImpl(); local 323 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", 326 attrs.setAttributes(empty); 327 assertEquals(0, attrs.getLength()); 329 attrs.setAttributes(multi); 330 assertEquals(multi.getLength(), attrs.getLength()); 333 assertEquals(multi.getURI(i), attrs.getURI(i)); 334 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); 335 assertEquals(multi.getQName(i), attrs.getQName(i)); 336 assertEquals(multi.getType(i), attrs.getType(i)) [all...] |
/external/wpa_supplicant/ |
radius.c | 56 msg->attrs = 57 os_malloc(RADIUS_DEFAULT_ATTR_COUNT * sizeof(*msg->attrs)); 58 if (msg->attrs == NULL) { 88 if (msg->attrs != NULL) { 89 os_free(msg->attrs); 90 msg->attrs = NULL; 284 radius_msg_dump_attr(msg->attrs[i]); 388 nattrs = os_realloc(msg->attrs, nlen * sizeof(*msg->attrs)); 392 msg->attrs = nattrs [all...] |
/frameworks/base/core/java/android/widget/ |
RadioGroup.java | 74 public RadioGroup(Context context, AttributeSet attrs) { 75 super(context, attrs); 80 attrs, com.android.internal.R.styleable.RadioGroup, com.android.internal.R.attr.radioButtonStyle, 0); 222 public LayoutParams generateLayoutParams(AttributeSet attrs) { 223 return new RadioGroup.LayoutParams(getContext(), attrs); 253 public LayoutParams(Context c, AttributeSet attrs) { 254 super(c, attrs);
|
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);
|
/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,
|
/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...] |