Home
last modified time | relevance | path

Searched refs:mDrawableContainerState (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerStateTest.java32 private DrawableContainerState mDrawableContainerState; field in DrawableContainerStateTest
43 mDrawableContainerState = (DrawableContainerState) mDrawableContainer.getConstantState(); in setUp()
44 assertNotNull(mDrawableContainerState); in setUp()
49 mDrawableContainerState.addChild(null); in testAddChild()
54 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddChild()
59 assertEquals(0, mDrawableContainerState.addChild(dr0)); in testAddChild()
60 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddChild()
61 Drawable[] children = mDrawableContainerState.getChildren(); in testAddChild()
71 assertEquals(1, mDrawableContainerState.addChild(dr1)); in testAddChild()
72 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddChild()
[all …]
DDrawableContainerTest.java35 private DrawableContainerState mDrawableContainerState; field in DrawableContainerTest
47 mDrawableContainerState = in setUp()
49 assertNotNull(mDrawableContainerState); in setUp()
62 mMockDrawableContainer.setConstantState(mDrawableContainerState); in testDraw()
111 mMockDrawableContainer.setConstantState(mDrawableContainerState); in testGetChangingConfigurations()
114 mDrawableContainerState.addChild(dr0); in testGetChangingConfigurations()
117 mDrawableContainerState.addChild(dr1); in testGetChangingConfigurations()
123 assertEquals(0x111 | mDrawableContainerState.getChangingConfigurations(), in testGetChangingConfigurations()
141 mMockDrawableContainer.setConstantState(mDrawableContainerState); in testGetPadding()
144 mDrawableContainerState.addChild(dr0); in testGetPadding()
[all …]
DStateListDrawableTest.java49 private DrawableContainerState mDrawableContainerState; field in StateListDrawableTest
55 mDrawableContainerState = (DrawableContainerState) mMockDrawable.getConstantState(); in setUp()
70 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddState()
75 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddState()
81 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddState()
86 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddState()
93 assertEquals(3, mDrawableContainerState.getChildCount()); in testAddState()
123 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnStateChange()
126 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnStateChange()
129 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]); in testOnStateChange()
[all …]
DLevelListDrawableTest.java42 private DrawableContainerState mDrawableContainerState; field in LevelListDrawableTest
48 mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.getConstantState(); in setUp()
60 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddLevel()
65 assertEquals(0, mDrawableContainerState.getChildCount()); in testAddLevel()
71 assertEquals(1, mDrawableContainerState.getChildCount()); in testAddLevel()
76 assertEquals(2, mDrawableContainerState.getChildCount()); in testAddLevel()
97 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]); in testOnLevelChange()
100 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]); in testOnLevelChange()
103 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnLevelChange()
118 assertEquals(2, mDrawableContainerState.getChildCount()); in testInflate()
[all …]
/cts/tools/dex-tools/dex/
Dclasses.out.dex35059 private android.graphics.drawable.DrawableContainer$DrawableContainerState mDrawableContainerState