Home
last modified time | relevance | path

Searched refs:constantState (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableTest.java173 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations() local
176 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
182 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
185 constantState = avd.getConstantState(); in testGetChangingConfigurations()
186 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
190 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
197 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() local
198 assertNotNull(constantState); in testGetConstantState()
199 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
202 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState()
[all …]
DVectorDrawableTest.java342 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() local
345 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
351 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
354 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations()
355 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
359 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
366 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() local
367 assertNotNull(constantState); in testGetConstantState()
368 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
371 constantState = vectorDrawable.getConstantState(); in testGetConstantState()
[all …]
DNinePatchDrawableTest.java135 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() local
138 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
144 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
147 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations()
148 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
152 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations()
320 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() local
323 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
325 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState()
326 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetConstantState()
DScaleDrawableTest.java419 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState() local
420 assertNotNull(constantState); in testGetConstantState()
421 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
424 constantState = scaleDrawable.getConstantState(); in testGetConstantState()
425 assertNotNull(constantState); in testGetConstantState()
426 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
DShapeDrawableTest.java86 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState() local
87 assertNotNull(constantState); in testGetConstantState()
88 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
DBitmapDrawableTest.java322 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState() local
323 assertNotNull(constantState); in testGetConstantState()
324 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
327 constantState = bitmapDrawable.getConstantState(); in testGetConstantState()
328 assertNotNull(constantState); in testGetConstantState()
329 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
DInsetDrawableTest.java338 ConstantState constantState = insetDrawable.getConstantState(); in testGetConstantState() local
339 assertNotNull(constantState); in testGetConstantState()
DGradientDrawableTest.java111 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii() local
112 assertNotNull(constantState); in testSetCornerRadii()
DLayerDrawableTest.java831 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState() local
832 assertNotNull(constantState); in testGetConstantState()
833 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState()
836 constantState = layerDrawable.getConstantState(); in testGetConstantState()
837 assertNotNull(constantState); in testGetConstantState()
838 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
DDrawableWrapperTest.java375 ConstantState constantState = wrapper.getConstantState(); in testGetConstantState() local