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.java73 new DigitalClock(mActivity, getAttributeSet(R.layout.digitalclock_layout)); in testConstructor()
79 new DigitalClock(null, getAttributeSet(R.layout.digitalclock_layout)); in testConstructorWithNullContext()
117 getAttributeSet(R.layout.digitalclock_layout)); in createDigitalClock()
122 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in DigitalClockTest
DRadioGroup_LayoutParamsTest.java111 getAttributeSet(R.layout.radiogroup_1)); in testConstructor()
139 new RadioGroup.LayoutParams(null, getAttributeSet(R.layout.radiogroup_1)); in testConstructorNullContext()
149 AttributeSet attrs = getAttributeSet(android.widget.cts.R.layout.radiogroup_1); in testSetBaseAttributes()
160 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroup_LayoutParamsTest
DAbsoluteLayoutTest.java74 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayoutTest
82 AttributeSet attrs = getAttributeSet(); in testConstructor()
105 getAttributeSet()); in testGenerateLayoutParamsFromAttributeSet()
DAbsoluteLayout_LayoutParamsTest.java52 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayout_LayoutParamsTest
74 new AbsoluteLayout.LayoutParams(mContext, getAttributeSet()); in testConstructor()
DFrameLayout_LayoutParamsTest.java54 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayout_LayoutParamsTest
62 AttributeSet attrs = getAttributeSet(); in testConstructor()
DFrameLayoutTest.java93 AttributeSet attrs = getAttributeSet(); in testConstructor()
210 AttributeSet attrs = getAttributeSet(); in testGenerateLayoutParams2()
321 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayoutTest
DRadioGroupTest.java79 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testConstructors()
315 AttributeSet attrs = getAttributeSet(R.layout.radiogroup_1); in testGenerateLayoutParams()
415 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroupTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java129 AttributeSet attr = getAttributeSet(parser); in testInflateTag()
145 attr = getAttributeSet(parser); in testInflateTag()
169 attr = getAttributeSet(parser); in testInflateTag()
186 attr = getAttributeSet(parser); in testInflateTag()
197 private AttributeSet getAttributeSet(XmlResourceParser parser) throws XmlPullParserException, in getAttributeSet() method in PaintDrawableTest
DBitmapDrawableTest.java459 AttributeSet attrs = DrawableTestUtils.getAttributeSet( in testInflate()
470 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
482 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
491 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
500 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
DScaleDrawableTest.java306 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInitialLevel()
444 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInflate()
451 attrs = DrawableTestUtils.getAttributeSet(parser, "scale_nodrawable"); in testInflate()
DDrawableTestUtils.java76 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet() method in DrawableTestUtils
DLayerDrawableTest.java121 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_full"); in testInflate()
138 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_empty"); in testInflate()
143 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_exception"); in testInflate()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java352 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
359 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
486 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in ContextTest