Home
last modified time | relevance | path

Searched refs:getConstantState (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java93 assertEquals(mStubInfo.loadIcon(getContext()).getConstantState(), in testTvInputInfoOp()
94 infoFromParcel.loadIcon(getContext()).getConstantState()); in testTvInputInfoOp()
149 assertEquals(mStubInfo.loadIcon(getContext()).getConstantState(), in testLoadIcon()
150 mStubInfo.getServiceInfo().loadIcon(mPackageManager).getConstantState()); in testLoadIcon()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLevelListDrawableTest.java48 mDrawableContainerState = (DrawableContainerState) mLevelListDrawable.getConstantState(); in setUp()
55 assertNotNull(new LevelListDrawable().getConstantState()); in testLevelListDrawable()
177 assertEquals(3, ((DrawableContainerState) d1.getConstantState()).getChildCount()); in testMutate()
178 assertEquals(2, ((DrawableContainerState) d2.getConstantState()).getChildCount()); in testMutate()
179 assertEquals(2, ((DrawableContainerState) d3.getConstantState()).getChildCount()); in testMutate()
DAnimatedVectorDrawableTest.java133 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations()
145 constantState = avd.getConstantState(); in testGetChangingConfigurations()
156 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState()
161 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState()
DColorDrawableTest.java79 assertNotNull(colorDrawable.getConstantState()); in testGetConstantState()
81 colorDrawable.getConstantState().getChangingConfigurations()); in testGetConstantState()
DVectorDrawableTest.java235 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations()
247 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations()
258 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState()
263 constantState = vectorDrawable.getConstantState(); in testGetConstantState()
DNinePatchDrawableTest.java119 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations()
131 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations()
302 assertNotNull(mNinePatchDrawable.getConstantState()); in testGetConstantState()
304 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState()
309 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState()
DStateListDrawableTest.java51 mDrawableContainerState = (DrawableContainerState) mStateListDrawable.getConstantState(); in setUp()
58 assertNotNull(new StateListDrawable().getConstantState()); in testStateListDrawable()
176 mDrawableContainerState = (DrawableContainerState) mStateListDrawable.getConstantState(); in testInflate()
DClipDrawableTest.java92 assertNull(clipDrawable.getConstantState()); in testGetConstantState()
97 assertNotNull(clipDrawable.getConstantState()); in testGetConstantState()
98 assertEquals(1, clipDrawable.getConstantState().getChangingConfigurations()); in testGetConstantState()
409 public ConstantState getConstantState() { in getConstantState() method in ClipDrawableTest.MockDrawable
DGradientDrawableTest.java51 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii()
289 assertNotNull(gradientDrawable.getConstantState()); in testGetConstantState()
DAnimationDrawableTest.java77 assertNotNull(mAnimationDrawable.getConstantState()); in testConstructor()
290 (DrawableContainerState) dr.getConstantState(); in testInflateCorrect()
DShapeDrawableTest.java77 shapeDrawable.getConstantState(); in testGetChangingConfigurations()
86 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState()
DDrawableContainerTest.java46 (DrawableContainerState) new LevelListDrawable().getConstantState(); in setUp()
750 mDrawableContainer.getConstantState(); in testAccessConstantState()
756 assertSame(mDrawableContainerState, mDrawableContainer.getConstantState()); in testAccessConstantState()
785 mDrawableContainer.getConstantState(); in assertConstantStateNotSet()
DScaleDrawableTest.java395 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState()
400 constantState = scaleDrawable.getConstantState(); in testGetConstantState()
DBitmapDrawableTest.java295 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState()
300 constantState = bitmapDrawable.getConstantState(); in testGetConstantState()
DRotateDrawableTest.java206 ConstantState state = mRotateDrawable.getConstantState(); in testGetConstantState()
DDrawableContainerStateTest.java43 mDrawableContainerState = (DrawableContainerState) mDrawableContainer.getConstantState(); in setUp()
DInsetDrawableTest.java314 ConstantState constantState = insetDrawable.getConstantState(); in testGetConstantState()
DDrawableWrapperTest.java375 ConstantState constantState = wrapper.getConstantState(); in testGetConstantState()
DDrawableTest.java363 assertNull(mockDrawable.getConstantState()); in testGetConstantState()
DLayerDrawableTest.java780 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState()
785 constantState = layerDrawable.getConstantState(); in testGetConstantState()