Searched refs:constantState (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 126 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations() local 129 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 135 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 138 constantState = avd.getConstantState(); in testGetChangingConfigurations() 139 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 143 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 150 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() local 151 assertNotNull(constantState); in testGetConstantState() 152 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 155 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | VectorDrawableTest.java | 313 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() local 316 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 322 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 325 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 326 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 330 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 337 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() local 338 assertNotNull(constantState); in testGetConstantState() 339 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 342 constantState = vectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | NinePatchDrawableTest.java | 152 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() local 155 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 161 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 164 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() 165 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 169 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 363 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() local 366 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 368 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() 369 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ScaleDrawableTest.java | 426 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState() local 427 assertNotNull(constantState); in testGetConstantState() 428 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 431 constantState = scaleDrawable.getConstantState(); in testGetConstantState() 432 assertNotNull(constantState); in testGetConstantState() 433 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | BitmapDrawableTest.java | 369 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState() local 370 assertNotNull(constantState); in testGetConstantState() 371 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 374 constantState = bitmapDrawable.getConstantState(); in testGetConstantState() 375 assertNotNull(constantState); in testGetConstantState() 376 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ShapeDrawableTest.java | 107 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState() local 108 assertNotNull(constantState); in testGetConstantState() 109 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | InsetDrawableTest.java | 413 ConstantState constantState = mInsetDrawable.getConstantState(); in testGetConstantState() local 414 assertNotNull(constantState); in testGetConstantState()
|
D | AdaptiveIconDrawableTest.java | 291 ConstantState constantState = iconDrawable.getConstantState(); in testGetConstantState() local 292 assertNotNull(constantState); in testGetConstantState()
|
D | LayerDrawableTest.java | 877 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState() local 878 assertNotNull(constantState); in testGetConstantState() 879 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 882 constantState = layerDrawable.getConstantState(); in testGetConstantState() 883 assertNotNull(constantState); in testGetConstantState() 884 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | GradientDrawableTest.java | 143 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii() local 144 assertNotNull(constantState); in testSetCornerRadii()
|