Home
last modified time | relevance | path

Searched refs:getAttributeSet (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DDatePickerTest.java51 new DatePicker(mContext, getAttributeSet(R.layout.datepicker_layout)); in testConstructor()
53 new DatePicker(mContext, getAttributeSet(R.layout.datepicker_layout), 0); in testConstructor()
59 new DatePicker(null, getAttributeSet(R.layout.datepicker_layout), 0); in testConstructor()
153 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in DatePickerTest
167 getAttributeSet(R.layout.datepicker_layout)); in createDatePicker()
DDigitalClockTest.java64 new DigitalClock(mContext, getAttributeSet(R.layout.digitalclock_layout)); in testConstructor()
70 new DigitalClock(null, getAttributeSet(R.layout.digitalclock_layout)); in testConstructor()
109 getAttributeSet(R.layout.digitalclock_layout)); in createDigitalClock()
114 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in DigitalClockTest
DAbsoluteLayout_LayoutParamsTest.java37 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayout_LayoutParamsTest
58 new AbsoluteLayout.LayoutParams(mContext, getAttributeSet()); in testConstructor()
DAbsoluteLayoutTest.java61 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayoutTest
68 AttributeSet attrs = getAttributeSet(); in testConstructor()
101 LayoutParams params = (LayoutParams) layout.generateLayoutParams(getAttributeSet()); in testGenerateLayoutParams1()
DRadioGroup_LayoutParamsTest.java117 getAttributeSet(android.widget.cts.R.layout.radiogroup_1)); in testConstructor()
134 getAttributeSet(android.widget.cts.R.layout.radiogroup_1)); in testConstructor()
146 AttributeSet attrs = getAttributeSet(android.widget.cts.R.layout.radiogroup_1); in testSetBaseAttributes()
156 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroup_LayoutParamsTest
DFrameLayout_LayoutParamsTest.java39 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayout_LayoutParamsTest
46 AttributeSet attrs = getAttributeSet(); in testConstructor()
DFrameLayoutTest.java74 AttributeSet attrs = getAttributeSet(); in testConstructor()
202 AttributeSet attrs = getAttributeSet(); in testGenerateLayoutParams2()
316 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayoutTest
DRadioGroupTest.java72 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testConstructors()
301 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testGenerateLayoutParams()
429 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroupTest
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java252 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
259 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
348 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in ContextTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java409 AttributeSet attrs = DrawableTestUtils.getAttributeSet( in testInflate()
420 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
432 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
441 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
450 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
DScaleDrawableTest.java304 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInitialLevel()
436 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInflate()
443 attrs = DrawableTestUtils.getAttributeSet(parser, "scale_nodrawable"); in testInflate()
DDrawableTestUtils.java60 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet() method in DrawableTestUtils
DLayerDrawableTest.java76 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_full"); in testInflate()
93 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_empty"); in testInflate()
98 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_exception"); in testInflate()