Home
last modified time | relevance | path

Searched defs:attrs (Results 1 – 25 of 102) sorted by relevance

12345

/cts/tests/tests/widget/src/android/widget/cts/
DImageButtonTest.java32 AttributeSet attrs = Xml.asAttributeSet(parser); in testConstructor() local
37 new ImageButton(getContext(), attrs); in testConstructor() local
39 new ImageButton(getContext(), attrs, 0); in testConstructor() local
DButtonTest.java33 AttributeSet attrs = Xml.asAttributeSet(parser); in testConstructor() local
DFrameLayout_LayoutParamsTest.java45 AttributeSet attrs = getAttributeSet(); in testConstructor() local
DViewSwitcherTest.java52 AttributeSet attrs = Xml.asAttributeSet(parser); in testConstructor() local
53 new ViewSwitcher(getContext(), attrs); in testConstructor() local
DRadioGroup_LayoutParamsTest.java146 AttributeSet attrs = getAttributeSet(com.android.cts.widget.R.layout.radiogroup_1); in testSetBaseAttributes() local
177 public MockLayoutParams(Context c, AttributeSet attrs) { in MockLayoutParams()
DRadioButtonTest.java41 AttributeSet attrs = mContext.getResources().getLayout(R.layout.radiogroup_1); in testConstructor() local
DMyHorizontalScrollView.java30 public MyHorizontalScrollView(Context context, AttributeSet attrs) { in MyHorizontalScrollView()
34 public MyHorizontalScrollView(Context context, AttributeSet attrs, int defStyle) { in MyHorizontalScrollView()
DMyScrollView.java30 public MyScrollView(Context context, AttributeSet attrs) { in MyScrollView()
34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) { in MyScrollView()
DTableLayout_LayoutParamsTest.java75 AttributeSet attrs = getAttrs("base_attr_pixel"); in testSetBaseAttributes() local
141 AttributeSet attrs = null; in getAttrs() local
/cts/tests/tests/preference2/src/android/preference2/cts/
DCustomDialogPreference.java29 public CustomDialogPreference(Context context, AttributeSet attrs) { in CustomDialogPreference()
36 public CustomDialogPreference(Context context, AttributeSet attrs, int defStyle) { in CustomDialogPreference()
43 private void init(AttributeSet attrs) { in init()
DCustomCheckBoxPreference.java29 public CustomCheckBoxPreference(Context context, AttributeSet attrs) { in CustomCheckBoxPreference()
40 public CustomCheckBoxPreference(Context context, AttributeSet attrs, int defStyle) { in CustomCheckBoxPreference()
47 private void init(AttributeSet attrs) { in init()
DCustomEditTextPreference.java29 public CustomEditTextPreference(Context context, AttributeSet attrs) { in CustomEditTextPreference()
40 public CustomEditTextPreference(Context context, AttributeSet attrs, int defStyle) { in CustomEditTextPreference()
47 private void init(AttributeSet attrs) { in init()
DCustomSwitchPreference.java30 public CustomSwitchPreference(Context context, AttributeSet attrs) { in CustomSwitchPreference()
41 public CustomSwitchPreference(Context context, AttributeSet attrs, int defStyle) { in CustomSwitchPreference()
48 private void init(AttributeSet attrs) { in init()
DCustomPreferenceGroup.java30 public CustomPreferenceGroup(Context context, AttributeSet attrs) { in CustomPreferenceGroup()
39 public CustomPreferenceGroup(Context context, AttributeSet attrs, int defStyle) { in CustomPreferenceGroup()
44 private void init(AttributeSet attrs) { in init()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/
DUnclippedBlueView.java30 public UnclippedBlueView(Context context, AttributeSet attrs) { in UnclippedBlueView()
34 public UnclippedBlueView(Context context, AttributeSet attrs, int defStyleAttr) { in UnclippedBlueView()
38 public UnclippedBlueView(Context context, AttributeSet attrs, in UnclippedBlueView()
DCircleClipFrameLayout.java31 public CircleClipFrameLayout(Context context, AttributeSet attrs) { in CircleClipFrameLayout()
35 public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { in CircleClipFrameLayout()
39 …public CircleClipFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRe… in CircleClipFrameLayout()
/cts/tests/tests/view/src/android/view/cts/
DMockViewStub.java28 public MockViewStub(Context context, AttributeSet attrs) { in MockViewStub()
32 public MockViewStub(Context context, AttributeSet attrs, int defStyle) { in MockViewStub()
DTestButton.java29 public TestButton(Context context, AttributeSet attrs) { in TestButton()
33 public TestButton(Context context, AttributeSet attrs, int defStyle) { in TestButton()
DViewGroup_LayoutParamsTest.java53 int[] attrs = R.styleable.style1; in testSetBaseAttributes() local
66 public MockLayoutParams(Context c, AttributeSet attrs) { in MockLayoutParams()
DMyScrollView.java30 public MyScrollView(Context context, AttributeSet attrs) { in MyScrollView()
34 public MyScrollView(Context context, AttributeSet attrs, int defStyle) { in MyScrollView()
/cts/tests/acceleration/src/android/acceleration/cts/
DAcceleratedView.java37 public AcceleratedView(Context context, AttributeSet attrs) { in AcceleratedView()
41 public AcceleratedView(Context context, AttributeSet attrs, int defStyle) { in AcceleratedView()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java35 public CanvasClientView(Context context, AttributeSet attrs) { in CanvasClientView()
39 public CanvasClientView(Context context, AttributeSet attrs, int defStyleAttr) { in CanvasClientView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCameraPreviewView.java26 public CameraPreviewView(Context context, AttributeSet attrs) { in CameraPreviewView()
32 Context context, AttributeSet attrs, int defStyle) { in CameraPreviewView()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DColorDrawableTest.java112 final AttributeSet attrs = Xml.asAttributeSet(parser); in testInflate() local
113 colorDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
DBitmapDrawableTest.java349 AttributeSet attrs = DrawableTestUtils.getAttributeSet( in testInflate() local
351 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
363 bitmapDrawable.inflate(mContext.getResources(), null, attrs); in testInflate() local
376 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local
385 bitmapDrawable.inflate(mContext.getResources(), parser, attrs); in testInflate() local

12345