Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 118) 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()
DTwoLineListItemTest.java60 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructor() local
61 assertNotNull(attrs); in testConstructor()
64 new TwoLineListItem(mActivity, attrs); in testConstructor()
66 new TwoLineListItem(mActivity, attrs, 0); in testConstructor()
68 new TwoLineListItem(mActivity, attrs, Integer.MAX_VALUE); in testConstructor()
69 new TwoLineListItem(mActivity, attrs, Integer.MIN_VALUE); in testConstructor()
79 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructorWithNullContext2() local
80 new TwoLineListItem(null, attrs); in testConstructorWithNullContext2()
85 AttributeSet attrs = mActivity.getResources().getLayout(R.layout.twolinelistitem); in testConstructorWithNullContext3() local
86 new TwoLineListItem(null, attrs, 0); in testConstructorWithNullContext3()
DMyRemotableView.java39 public MyRemotableView(Context context, AttributeSet attrs) { in MyRemotableView() argument
40 super(context, attrs); in MyRemotableView()
43 public MyRemotableView(Context context, AttributeSet attrs, int defStyle) { in MyRemotableView() argument
44 super(context, attrs, defStyle); in MyRemotableView()
DMockTextView.java32 public MockTextView(Context context, @Nullable AttributeSet attrs) { in MockTextView() argument
33 super(context, attrs); in MockTextView()
36 public MockTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in MockTextView() argument
37 super(context, attrs, defStyleAttr); in MockTextView()
/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()
DRecycleCheckPreference.java43 public RecycleCheckPreference(Context context, AttributeSet attrs, in RecycleCheckPreference() argument
45 super(context, attrs, defStyleAttr); in RecycleCheckPreference()
48 public RecycleCheckPreference(Context context, AttributeSet attrs, int defStyleAttr, in RecycleCheckPreference() argument
50 super(context, attrs, defStyleAttr, defStyleRes); in RecycleCheckPreference()
53 public RecycleCheckPreference(Context context, AttributeSet attrs) { in RecycleCheckPreference() argument
54 super(context, attrs); in RecycleCheckPreference()
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/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/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
DLifecycleLogView.java32 public LifecycleLogView(Context context, AttributeSet attrs) { in LifecycleLogView() argument
33 this(context, attrs, 0); in LifecycleLogView()
36 public LifecycleLogView(Context context, AttributeSet attrs, int defStyleAttr) { in LifecycleLogView() argument
37 this(context, attrs, defStyleAttr, 0); in LifecycleLogView()
40 public LifecycleLogView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) in LifecycleLogView() argument
42 super(context, attrs, defStyleAttr, defStyleRes); in LifecycleLogView()
/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/transition/src/android/transition/cts/
DTransitionInflaterTest.java232 public CustomTransition(Context context, AttributeSet attrs) { in CustomTransition() argument
233 super(context, attrs); in CustomTransition()
250 public CustomPathMotion(Context context, AttributeSet attrs) { in CustomPathMotion() argument
251 super(context, attrs); in CustomPathMotion()
261 public InflationFade(Context context, AttributeSet attrs) { in InflationFade() argument
262 super(context, attrs); in InflationFade()
267 public InflationChangeBounds(Context context, AttributeSet attrs) { in InflationChangeBounds() argument
268 super(context, attrs); in InflationChangeBounds()
273 public InflationSlide(Context context, AttributeSet attrs) { in InflationSlide() argument
274 super(context, attrs); in InflationSlide()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DPointerCaptureGroup.java35 public PointerCaptureGroup(Context context, @Nullable AttributeSet attrs) { in PointerCaptureGroup() argument
36 super(context, attrs); in PointerCaptureGroup()
39 public PointerCaptureGroup(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in PointerCaptureGroup() argument
40 super(context, attrs, defStyleAttr); in PointerCaptureGroup()
43 public PointerCaptureGroup(Context context, @Nullable AttributeSet attrs, int defStyleAttr, in PointerCaptureGroup() argument
45 super(context, attrs, defStyleAttr, defStyleRes); in PointerCaptureGroup()
DPointerCaptureView.java35 public PointerCaptureView(Context context, @Nullable AttributeSet attrs) { in PointerCaptureView() argument
36 super(context, attrs); in PointerCaptureView()
39 public PointerCaptureView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { in PointerCaptureView() argument
40 super(context, attrs, defStyleAttr); in PointerCaptureView()
43 public PointerCaptureView(Context context, @Nullable AttributeSet attrs, int defStyleAttr, in PointerCaptureView() argument
45 super(context, attrs, defStyleAttr, defStyleRes); in PointerCaptureView()
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()
DWindowTest.java148 final WindowManager.LayoutParams attrs = mWindow.getAttributes(); in testOpFlags() local
149 assertEquals(0, attrs.flags); in testOpFlags()
152 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN, attrs.flags); in testOpFlags()
156 | WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); in testOpFlags()
159 assertEquals(WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); in testOpFlags()
161 assertEquals(0, attrs.flags); in testOpFlags()
168 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN, attrs.flags); in testOpFlags()
171 verify(mWindowCallback, times(1)).onWindowAttributesChanged(attrs); in testOpFlags()
531 WindowManager.LayoutParams attrs = mWindow.getAttributes(); in testSetGravity() local
532 assertEquals(0, attrs.gravity); in testSetGravity()
[all …]
/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.java37 public CanvasClientView(Context context, AttributeSet attrs) { in CanvasClientView() argument
38 super(context, attrs); in CanvasClientView()
41 public CanvasClientView(Context context, AttributeSet attrs, int defStyleAttr) { in CanvasClientView() argument
42 super(context, attrs, defStyleAttr); in CanvasClientView()

12345