Searched refs:dr0 (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerStateTest.java | 56 MockDrawable dr0 = new MockDrawable(); in testAddChild() local 57 dr0.setVisible(true, false); in testAddChild() 58 assertTrue(dr0.isVisible()); in testAddChild() 59 assertEquals(0, mDrawableContainerState.addChild(dr0)); in testAddChild() 64 assertSame(dr0, children[0]); in testAddChild() 66 assertFalse(dr0.isVisible()); in testAddChild() 76 assertSame(dr0, children[0]); in testAddChild() 95 MockDrawable dr0 = new MockDrawable(); in testIsStateFul() local 96 dr0.setStateful(false); in testIsStateFul() 97 mDrawableContainerState.addChild(dr0); in testIsStateFul() [all …]
|
D | DrawableContainerTest.java | 112 MockDrawable dr0 = new MockDrawable(); in testGetChangingConfigurations() local 113 dr0.setChangingConfigurations(0x001); in testGetChangingConfigurations() 114 mDrawableContainerState.addChild(dr0); in testGetChangingConfigurations() 119 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetChangingConfigurations() 142 MockDrawable dr0 = new MockDrawable(); in testGetPadding() local 143 dr0.setPadding(new Rect(1, 2, 0, 0)); in testGetPadding() 144 mDrawableContainerState.addChild(dr0); in testGetPadding() 149 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetPadding() 347 MockDrawable dr0 = new MockDrawable(); in testIsStateful() local 348 dr0.setStateful(true); in testIsStateful() [all …]
|
D | LayerDrawableTest.java | 476 Drawable dr0 = new IntrinsicSizeDrawable(20, 30, new Rect(1, 2, 3, 4)); in testAccessPaddingMode() local 478 LayerDrawable layerDrawable = new LayerDrawable(new Drawable[] { dr0, dr1 }); in testAccessPaddingMode()
|