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.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
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()
DAbsoluteLayout_LayoutParamsTest.java37 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in AbsoluteLayout_LayoutParamsTest
58 new AbsoluteLayout.LayoutParams(mContext, getAttributeSet()); in testConstructor()
DFrameLayout_LayoutParamsTest.java38 private AttributeSet getAttributeSet() throws XmlPullParserException, IOException { in getAttributeSet() method in FrameLayout_LayoutParamsTest
45 AttributeSet attrs = 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(com.android.cts.widget.R.layout.radiogroup_1)); in testConstructor()
134 getAttributeSet(com.android.cts.widget.R.layout.radiogroup_1)); in testConstructor()
146 AttributeSet attrs = getAttributeSet(com.android.cts.widget.R.layout.radiogroup_1); in testSetBaseAttributes()
156 private AttributeSet getAttributeSet(int resId) { in getAttributeSet() method in RadioGroup_LayoutParamsTest
DFrameLayoutTest.java75 AttributeSet attrs = getAttributeSet(); in testConstructor()
218 AttributeSet attrs = getAttributeSet(); in testGenerateLayoutParams2()
314 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.java145 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
152 testTypedArray = mContext.obtainStyledAttributes(getAttributeSet(R.layout.context_layout), in testObtainStyledAttributes()
203 private AttributeSet getAttributeSet(int resourceId) { in getAttributeSet() method in ContextTest
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTestUtils.java52 public static AttributeSet getAttributeSet(XmlResourceParser parser, String searchedNodeName) in getAttributeSet() method in DrawableTestUtils
DBitmapDrawableTest.java349 AttributeSet attrs = DrawableTestUtils.getAttributeSet( in testInflate()
360 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
372 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
381 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
390 attrs = DrawableTestUtils.getAttributeSet( in testInflate()
DScaleDrawableTest.java412 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "scale_allattrs"); in testInflate()
420 attrs = DrawableTestUtils.getAttributeSet(parser, "scale_nodrawable"); in testInflate()
DLayerDrawableTest.java74 AttributeSet attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_full"); in testInflate()
91 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_empty"); in testInflate()
96 attrs = DrawableTestUtils.getAttributeSet(parser, "layer-list_exception"); in testInflate()