Home
last modified time | relevance | path

Searched refs:dr0 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java56 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 …]
DDrawableContainerTest.java81 MockDrawable dr0 = new MockDrawable(); in testGetChangingConfigurations() local
82 dr0.setChangingConfigurations(0x001); in testGetChangingConfigurations()
83 mDrawableContainerState.addChild(dr0); in testGetChangingConfigurations()
88 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetChangingConfigurations()
108 MockDrawable dr0 = new MockDrawable(); in testGetPadding() local
109 dr0.setPadding(new Rect(1, 2, 0, 0)); in testGetPadding()
110 mDrawableContainerState.addChild(dr0); in testGetPadding()
115 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetPadding()
307 MockDrawable dr0 = new MockDrawable(); in testIsStateful() local
308 dr0.setStateful(true); in testIsStateful()
[all …]