Home
last modified time | relevance | path

Searched refs:dr1 (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java68 MockDrawable dr1 = new MockDrawable(); in testAddChild() local
69 dr1.setVisible(true, false); in testAddChild()
70 assertTrue(dr1.isVisible()); in testAddChild()
71 assertEquals(1, mDrawableContainerState.addChild(dr1)); in testAddChild()
77 assertSame(dr1, children[1]); in testAddChild()
79 assertFalse(dr1.isVisible()); in testAddChild()
82 assertEquals(2, mDrawableContainerState.addChild(dr1)); in testAddChild()
87 assertSame(dr1, children[1]); in testAddChild()
88 assertSame(dr1, children[2]); in testAddChild()
101 MockDrawable dr1 = new MockDrawable(); in testIsStateFul() local
[all …]
DDrawableContainerTest.java115 MockDrawable dr1 = new MockDrawable(); in testGetChangingConfigurations() local
116 dr1.setChangingConfigurations(0x010); in testGetChangingConfigurations()
117 mDrawableContainerState.addChild(dr1); in testGetChangingConfigurations()
145 MockDrawable dr1 = new MockDrawable(); in testGetPadding() local
146 dr1.setPadding(new Rect(0, 0, 3, 4)); in testGetPadding()
147 mDrawableContainerState.addChild(dr1); in testGetPadding()
350 MockDrawable dr1 = new MockDrawable(); in testIsStateful() local
351 dr1.setStateful(false); in testIsStateful()
352 mDrawableContainerState.addChild(dr1); in testIsStateful()
438 MockDrawable dr1 = new MockDrawable(); in testGetIntrinsicWidth() local
[all …]
DLayerDrawableTest.java477 Drawable dr1 = new IntrinsicSizeDrawable(30, 40, new Rect(9, 8, 7, 6)); in testAccessPaddingMode() local
478 LayerDrawable layerDrawable = new LayerDrawable(new Drawable[] { dr0, dr1 }); in testAccessPaddingMode()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3561 ColorDrawable dr1 = new ColorDrawable(Color.RED); in testAccessCompoundDrawableTint() local
3565 mTextView.setCompoundDrawables(dr1, dr2, dr3, dr4); in testAccessCompoundDrawableTint()