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/
DDigitalClockTest.java72 new DigitalClock(mActivity, getAttributeSet(R.layout.digitalclock_layout)); in testConstructor()
78 new DigitalClock(null, getAttributeSet(R.layout.digitalclock_layout)); in testConstructorWithNullContext()
116 getAttributeSet(R.layout.digitalclock_layout)); in createDigitalClock()
121 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in DigitalClockTest
DAbsoluteLayout_LayoutParamsTest.java51 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayout_LayoutParamsTest
73 new AbsoluteLayout.LayoutParams(mContext, getAttributeSet()); in testConstructor()
DRadioGroup_LayoutParamsTest.java110 getAttributeSet(R.layout.radiogroup_1)); in testConstructor()
138 new RadioGroup.LayoutParams(null, getAttributeSet(R.layout.radiogroup_1)); in testConstructorNullContext()
148 AttributeSet attrs = getAttributeSet(android.widget.cts.R.layout.radiogroup_1); in testSetBaseAttributes()
159 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroup_LayoutParamsTest
DAbsoluteLayoutTest.java73 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayoutTest
81 AttributeSet attrs = getAttributeSet(); in testConstructor()
104 getAttributeSet()); in testGenerateLayoutParamsFromAttributeSet()
DFrameLayout_LayoutParamsTest.java53 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayout_LayoutParamsTest
61 AttributeSet attrs = getAttributeSet(); in testConstructor()
DFrameLayoutTest.java92 AttributeSet attrs = getAttributeSet(); in testConstructor()
214 AttributeSet attrs = getAttributeSet(); in testGenerateLayoutParams2()
322 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayoutTest
DRadioGroupTest.java78 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testConstructors()
314 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testGenerateLayoutParams()
414 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroupTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java128 AttributeSet attr = getAttributeSet(parser); in testInflateTag()
144 attr = getAttributeSet(parser); in testInflateTag()
168 attr = getAttributeSet(parser); in testInflateTag()
185 attr = getAttributeSet(parser); in testInflateTag()
196 private AttributeSet getAttributeSet(XmlResourceParser parser) throws XmlPullParserException, in getAttributeSet() method in PaintDrawableTest
DBitmapDrawableTest.java436 AttributeSet attrs = DrawableTestUtils.getAttributeSet( in testInflate()
447 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
459 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
468 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
477 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
DScaleDrawableTest.java305 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInitialLevel()
443 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInflate()
450 attrs = DrawableTestUtils.getAttributeSet(parser, "scale_nodrawable"); in testInflate()
DDrawableTestUtils.java75 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet() method in DrawableTestUtils
DLayerDrawableTest.java120 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_full"); in testInflate()
137 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_empty"); in testInflate()
142 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_exception"); in testInflate()
/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