Searched refs:constantState (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 133 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations() local 136 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 142 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 145 constantState = avd.getConstantState(); in testGetChangingConfigurations() 146 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 150 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 156 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() local 157 assertNotNull(constantState); in testGetConstantState() 158 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 161 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | VectorDrawableTest.java | 235 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() local 238 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 244 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 247 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 248 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 252 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 258 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() local 259 assertNotNull(constantState); in testGetConstantState() 260 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 263 constantState = vectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | NinePatchDrawableTest.java | 119 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() local 122 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 128 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 131 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() 132 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 136 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 304 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() local 307 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 309 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() 310 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ScaleDrawableTest.java | 395 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState() local 396 assertNotNull(constantState); in testGetConstantState() 397 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 400 constantState = scaleDrawable.getConstantState(); in testGetConstantState() 401 assertNotNull(constantState); in testGetConstantState() 402 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | BitmapDrawableTest.java | 295 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState() local 296 assertNotNull(constantState); in testGetConstantState() 297 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 300 constantState = bitmapDrawable.getConstantState(); in testGetConstantState() 301 assertNotNull(constantState); in testGetConstantState() 302 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ShapeDrawableTest.java | 86 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState() local 87 assertNotNull(constantState); in testGetConstantState() 88 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | GradientDrawableTest.java | 51 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii() local 52 assertNotNull(constantState); in testSetCornerRadii()
|
D | InsetDrawableTest.java | 314 ConstantState constantState = insetDrawable.getConstantState(); in testGetConstantState() local 315 assertNotNull(constantState); in testGetConstantState()
|
D | LayerDrawableTest.java | 780 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState() local 781 assertNotNull(constantState); in testGetConstantState() 782 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 785 constantState = layerDrawable.getConstantState(); in testGetConstantState() 786 assertNotNull(constantState); in testGetConstantState() 787 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | DrawableWrapperTest.java | 375 ConstantState constantState = wrapper.getConstantState(); in testGetConstantState() local
|