Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 111) sorted by relevance

12345

/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewNoIme.java35 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs) { in AutoCompleteTextViewNoIme() argument
36 super(context, attrs); in AutoCompleteTextViewNoIme()
39 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in AutoCompleteTextViewNoIme() argument
40 super(context, attrs, defStyleAttr); in AutoCompleteTextViewNoIme()
43 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme() argument
45 super(context, attrs, defStyleAttr, defStyleRes); in AutoCompleteTextViewNoIme()
48 public AutoCompleteTextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in AutoCompleteTextViewNoIme() argument
50 super(context, attrs, defStyleAttr, defStyleRes, popupTheme); in AutoCompleteTextViewNoIme()
DRadioButtonTest.java41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); in testConstructor() local
42 assertNotNull(attrs); in testConstructor()
51 new RadioButton(mContext, attrs); in testConstructor()
53 new RadioButton(null, attrs); in testConstructor()
59 new RadioButton(mContext, attrs, 0); in testConstructor()
61 new RadioButton(null, attrs, 0); in testConstructor()
66 new RadioButton(mContext, attrs, Integer.MAX_VALUE); in testConstructor()
67 new RadioButton(mContext, attrs, Integer.MIN_VALUE); in testConstructor()
DTwoLineListItemTest.java49 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructor() local
50 assertNotNull(attrs); in testConstructor()
59 new TwoLineListItem(mActivity, attrs); in testConstructor()
61 new TwoLineListItem(null, attrs); in testConstructor()
67 new TwoLineListItem(mActivity, attrs, 0); in testConstructor()
69 new TwoLineListItem(null, attrs, 0); in testConstructor()
74 new TwoLineListItem(mActivity, attrs, Integer.MAX_VALUE); in testConstructor()
75 new TwoLineListItem(mActivity, attrs, Integer.MIN_VALUE); in testConstructor()
DImageButtonTest.java32 AttributeSet attrs = Xml.asAttributeSet(parser); in testConstructor() local
33 assertNotNull(attrs); in testConstructor()
37 new ImageButton(getContext(), attrs); in testConstructor() local
39 new ImageButton(getContext(), attrs, 0); in testConstructor() local
DMyScrollView.java30 public MyScrollView(Context context, AttributeSet attrs) { in MyScrollView() argument
31 super(context, attrs); in MyScrollView()
34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) { in MyScrollView() argument
35 super(context, attrs, defStyle); in MyScrollView()
DMyHorizontalScrollView.java30 public MyHorizontalScrollView(Context context, AttributeSet attrs) { in MyHorizontalScrollView() argument
31 super(context, attrs); in MyHorizontalScrollView()
34 public MyHorizontalScrollView(Context context, AttributeSet attrs, int defStyle) { in MyHorizontalScrollView() argument
35 super(context, attrs, defStyle); in MyHorizontalScrollView()
DTableLayout_LayoutParamsTest.java75 AttributeSet attrs = getAttrs("base_attr_pixel"); in testSetBaseAttributes() local
76 TypedArray a = mTargetContext.obtainStyledAttributes(attrs, in testSetBaseAttributes()
91 attrs = getAttrs("base_attr_fillwrap"); in testSetBaseAttributes()
92 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); in testSetBaseAttributes()
106 attrs = getAttrs("base_attr_noheight"); in testSetBaseAttributes()
107 a = mTargetContext.obtainStyledAttributes(attrs, android.R.styleable.ViewGroup_Layout); in testSetBaseAttributes()
141 AttributeSet attrs = null; in getAttrs() local
169 attrs = Xml.asAttributeSet(parser); in getAttrs()
182 return attrs; in getAttrs()
DButtonTest.java33 AttributeSet attrs = Xml.asAttributeSet(parser); in testConstructor() local
35 new Button(mContext, attrs, 0); in testConstructor()
36 new Button(mContext, attrs); in testConstructor()
/cts/tests/tests/preference2/src/android/preference2/cts/
DCustomDialogPreference.java29 public CustomDialogPreference(Context context, AttributeSet attrs) { in CustomDialogPreference() argument
30 super(context, attrs); in CustomDialogPreference()
31 init(attrs); in CustomDialogPreference()
36 public CustomDialogPreference(Context context, AttributeSet attrs, int defStyle) { in CustomDialogPreference() argument
37 super(context, attrs, defStyle); in CustomDialogPreference()
38 init(attrs); in CustomDialogPreference()
43 private void init(AttributeSet attrs) { in init() argument
44 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
DCustomCheckBoxPreference.java29 public CustomCheckBoxPreference(Context context, AttributeSet attrs) { in CustomCheckBoxPreference() argument
30 super(context, attrs); in CustomCheckBoxPreference()
31 init(attrs); in CustomCheckBoxPreference()
40 public CustomCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { in CustomCheckBoxPreference() argument
41 super(context, attrs, defStyle); in CustomCheckBoxPreference()
42 init(attrs); in CustomCheckBoxPreference()
47 private void init(AttributeSet attrs) { in init() argument
48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
DCustomPreferenceGroup.java30 public CustomPreferenceGroup(Context context, AttributeSet attrs) { in CustomPreferenceGroup() argument
31 super(context, attrs); in CustomPreferenceGroup()
32 init(attrs); in CustomPreferenceGroup()
39 public CustomPreferenceGroup(Context context, AttributeSet attrs, int defStyle) { in CustomPreferenceGroup() argument
40 super(context, attrs, defStyle); in CustomPreferenceGroup()
41 init(attrs); in CustomPreferenceGroup()
44 private void init(AttributeSet attrs) { in init() argument
45 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
DCustomSwitchPreference.java30 public CustomSwitchPreference(Context context, AttributeSet attrs) { in CustomSwitchPreference() argument
31 super(context, attrs); in CustomSwitchPreference()
32 init(attrs); in CustomSwitchPreference()
41 public CustomSwitchPreference(Context context, AttributeSet attrs, int defStyle) { in CustomSwitchPreference() argument
42 super(context, attrs, defStyle); in CustomSwitchPreference()
43 init(attrs); in CustomSwitchPreference()
48 private void init(AttributeSet attrs) { in init() argument
49 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
DCustomEditTextPreference.java29 public CustomEditTextPreference(Context context, AttributeSet attrs) { in CustomEditTextPreference() argument
30 super(context, attrs); in CustomEditTextPreference()
31 init(attrs); in CustomEditTextPreference()
40 public CustomEditTextPreference(Context context, AttributeSet attrs, int defStyle) { in CustomEditTextPreference() argument
41 super(context, attrs, defStyle); in CustomEditTextPreference()
42 init(attrs); in CustomEditTextPreference()
47 private void init(AttributeSet attrs) { in init() argument
48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
DCustomPreference.java33 public CustomPreference(Context context, AttributeSet attrs) { in CustomPreference() argument
34 super(context, attrs); in CustomPreference()
35 init(attrs); in CustomPreference()
42 public CustomPreference(Context context, AttributeSet attrs, int defStyle) { in CustomPreference() argument
43 super(context, attrs, defStyle); in CustomPreference()
44 init(attrs); in CustomPreference()
47 private void init(AttributeSet attrs) { in init() argument
48 TypedArray a = getContext().obtainStyledAttributes(attrs,R.styleable.CustPref); in init()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DUnclippedBlueView.java30 public UnclippedBlueView(Context context, AttributeSet attrs) { in UnclippedBlueView() argument
31 this(context, attrs, 0); in UnclippedBlueView()
34 public UnclippedBlueView(Context context, AttributeSet attrs, int defStyleAttr) { in UnclippedBlueView() argument
35 this(context, attrs, defStyleAttr, 0); in UnclippedBlueView()
38 public UnclippedBlueView(Context context, AttributeSet attrs, in UnclippedBlueView() argument
40 super(context, attrs, defStyleAttr, defStyleRes); in UnclippedBlueView()
DCircleClipFrameLayout.java31 public CircleClipFrameLayout(Context context, AttributeSet attrs) { in CircleClipFrameLayout() argument
32 this(context, attrs, 0); in CircleClipFrameLayout()
35 public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in CircleClipFrameLayout() argument
36 this(context, attrs, defStyleAttr, 0); in CircleClipFrameLayout()
39 …public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRe… in CircleClipFrameLayout() argument
40 super(context, attrs, defStyleAttr, defStyleRes); in CircleClipFrameLayout()
/cts/tests/tests/text/src/android/text/method/cts/
DEditTextNoIme.java34 public EditTextNoIme(Context context, AttributeSet attrs) { in EditTextNoIme() argument
35 super(context, attrs); in EditTextNoIme()
38 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in EditTextNoIme() argument
39 super(context, attrs, defStyleAttr); in EditTextNoIme()
42 public EditTextNoIme(Context context, AttributeSet attrs, int defStyleAttr, in EditTextNoIme() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in EditTextNoIme()
DTextViewNoIme.java34 public TextViewNoIme(Context context, AttributeSet attrs) { in TextViewNoIme() argument
35 super(context, attrs); in TextViewNoIme()
38 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr) { in TextViewNoIme() argument
39 super(context, attrs, defStyleAttr); in TextViewNoIme()
42 public TextViewNoIme(Context context, AttributeSet attrs, int defStyleAttr, in TextViewNoIme() argument
44 super(context, attrs, defStyleAttr, defStyleRes); in TextViewNoIme()
/cts/tests/tests/view/src/android/view/cts/
DMockViewStub.java28 public MockViewStub(Context context, AttributeSet attrs) { in MockViewStub() argument
29 super(context, attrs); in MockViewStub()
32 public MockViewStub(Context context, AttributeSet attrs, int defStyle) { in MockViewStub() argument
33 super(context, attrs, defStyle); in MockViewStub()
DTestButton.java29 public TestButton(Context context, AttributeSet attrs) { in TestButton() argument
30 super(context, attrs); in TestButton()
33 public TestButton(Context context, AttributeSet attrs, int defStyle) { in TestButton() argument
34 super(context, attrs, defStyle); in TestButton()
DMyScrollView.java30 public MyScrollView(Context context, AttributeSet attrs) { in MyScrollView() argument
31 super(context, attrs); in MyScrollView()
34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) { in MyScrollView() argument
35 super(context, attrs, defStyle); in MyScrollView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTimerProgressBar.java36 public TimerProgressBar(Context context, AttributeSet attrs) { in TimerProgressBar() argument
37 super(context, attrs); in TimerProgressBar()
41 public TimerProgressBar(Context context, AttributeSet attrs, int defStyleAttr) { in TimerProgressBar() argument
42 super(context, attrs, defStyleAttr); in TimerProgressBar()
47 public TimerProgressBar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TimerProgressBar() argument
48 super(context, attrs, defStyleAttr, defStyleRes); in TimerProgressBar()
/cts/tests/acceleration/src/android/acceleration/
DAcceleratedView.java37 public AcceleratedView(Context context, AttributeSet attrs) { in AcceleratedView() argument
38 super(context, attrs); in AcceleratedView()
41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) { in AcceleratedView() argument
42 super(context, attrs, defStyle); in AcceleratedView()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java35 public CanvasClientView(Context context, AttributeSet attrs) { in CanvasClientView() argument
36 super(context, attrs); in CanvasClientView()
39 public CanvasClientView(Context context, AttributeSet attrs, int defStyleAttr) { in CanvasClientView() argument
40 super(context, attrs, defStyleAttr); in CanvasClientView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DCustomDrawableTest.java51 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) in inflate() argument
53 super.inflate(r, parser, attrs, theme); in inflate()
57 ta = theme.obtainStyledAttributes(attrs, ATTRS, 0, 0); in inflate()
59 ta = r.obtainAttributes(attrs, ATTRS); in inflate()

12345