Home
last modified time | relevance | path

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

/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()
DAnimatedStateListDrawableTest.java64 assertNotNull(new AnimatedStateListDrawable().getConstantState()); in testStateListDrawable()
69 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in testAddState()
90 DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in testAddTransition()
172 final DrawableContainerState cs = (DrawableContainerState) asld.getConstantState(); in runPreloadDensityTestForDrawableInner()
228 DrawableContainerState asldState = (DrawableContainerState) asld.getConstantState(); in testInflate()
DStateListDrawableTest.java55 mDrawableContainerState = (DrawableContainerState) mMockDrawable.getConstantState(); in setUp()
62 assertNotNull(new StateListDrawable().getConstantState()); in testStateListDrawable()
187 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in runPreloadDensityTestForDrawableInner()
252 mDrawableContainerState = (DrawableContainerState) mMockDrawable.getConstantState(); in testInflate()
DColorDrawableTest.java79 assertNotNull(colorDrawable.getConstantState()); in testGetConstantState()
81 colorDrawable.getConstantState().getChangingConfigurations()); in testGetConstantState()
DVectorDrawableTest.java342 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations()
354 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations()
366 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState()
371 constantState = vectorDrawable.getConstantState(); in testGetConstantState()
450 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DAnimatedVectorDrawableTest.java173 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations()
185 constantState = avd.getConstantState(); in testGetChangingConfigurations()
197 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState()
202 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState()
DNinePatchDrawableTest.java135 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations()
147 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations()
318 assertNotNull(mNinePatchDrawable.getConstantState()); in testGetConstantState()
320 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState()
325 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState()
511 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
580 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testOutlinePreloadDensityInner()
DDrawableContainerStateTest.java43 mDrawableContainerState = (DrawableContainerState) mDrawableContainer.getConstantState(); in setUp()
257 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState(); in testCanConstantState()
266 DrawableContainerState cs = (DrawableContainerState) dr.getConstantState(); in testGrowArray()
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
DDrawableContainerTest.java48 (DrawableContainerState) new LevelListDrawable().getConstantState(); in setUp()
82 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetEnterFadeDuration()
94 DrawableContainerState cs = ((DrawableContainerState) container.getConstantState()); in helpTestSetExitFadeDuration()
805 mDrawableContainer.getConstantState(); in testAccessConstantState()
811 assertSame(mDrawableContainerState, mDrawableContainer.getConstantState()); in testAccessConstantState()
843 mDrawableContainer.getConstantState(); in assertConstantStateNotSet()
DRippleDrawableTest.java74 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DShapeDrawableTest.java77 shapeDrawable.getConstantState(); in testGetChangingConfigurations()
86 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState()
DGradientDrawableTest.java111 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii()
461 assertNotNull(gradientDrawable.getConstantState()); in testGetConstantState()
517 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DAnimationDrawableTest.java77 assertNotNull(mAnimationDrawable.getConstantState()); in testConstructor()
321 (DrawableContainerState) dr.getConstantState(); in testInflateCorrect()
DScaleDrawableTest.java314 ScaleDrawable clone = (ScaleDrawable) dr.getConstantState().newDrawable(res); in testInitialLevel()
419 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState()
424 constantState = scaleDrawable.getConstantState(); in testGetConstantState()
DInsetDrawableTest.java338 ConstantState constantState = insetDrawable.getConstantState(); in testGetConstantState()
378 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DBitmapDrawableTest.java322 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState()
327 constantState = bitmapDrawable.getConstantState(); in testGetConstantState()
542 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DRotateDrawableTest.java260 ConstantState state = mRotateDrawable.getConstantState(); in testGetConstantState()
DDrawableWrapperTest.java375 ConstantState constantState = wrapper.getConstantState(); in testGetConstantState()
DLayerDrawableTest.java831 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState()
836 constantState = layerDrawable.getConstantState(); in testGetConstantState()
1708 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState(); in testPreloadDensityInner()
DDrawableTest.java396 assertNull(mockDrawable.getConstantState()); in testGetConstantState()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java112 assertEquals(mStubInfo.loadIcon(getContext()).getConstantState(), in testTvInputInfoOp()
113 infoFromParcel.loadIcon(getContext()).getConstantState()); in testTvInputInfoOp()
168 assertEquals(mStubInfo.loadIcon(getContext()).getConstantState(), in testLoadIcon()
169 mStubInfo.getServiceInfo().loadIcon(mPackageManager).getConstantState()); in testLoadIcon()
/cts/tools/dex-tools/dex/
Dclasses.out.dex34924 public android.graphics.drawable.Drawable$ConstantState getConstantState()
35069 public android.graphics.drawable.Drawable$ConstantState getConstantState()
35276 public final android.graphics.drawable.Drawable$ConstantState getConstantState()
35403 public android.graphics.drawable.Drawable$ConstantState getConstantState()
35512 public android.graphics.drawable.Drawable$ConstantState getConstantState()
35792 public android.graphics.drawable.Drawable$ConstantState getConstantState()
35943 public android.graphics.drawable.Drawable$ConstantState getConstantState()
36108 public android.graphics.drawable.Drawable$ConstantState getConstantState()
36324 public android.graphics.drawable.Drawable$ConstantState getConstantState()
36385 public android.graphics.drawable.Drawable$ConstantState getConstantState()
[all …]