Searched refs:constantState (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableTest.java | 115 ConstantState constantState = avd.getConstantState(); in testGetChangingConfigurations() local 118 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 124 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 127 constantState = avd.getConstantState(); in testGetChangingConfigurations() 128 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 132 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 139 ConstantState constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() local 140 assertNotNull(constantState); in testGetConstantState() 141 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 144 constantState = AnimatedVectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | VectorDrawableTest.java | 314 ConstantState constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() local 317 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 323 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 326 constantState = vectorDrawable.getConstantState(); in testGetChangingConfigurations() 327 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 331 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 338 ConstantState constantState = vectorDrawable.getConstantState(); in testGetConstantState() local 339 assertNotNull(constantState); in testGetConstantState() 340 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 343 constantState = vectorDrawable.getConstantState(); in testGetConstantState() [all …]
|
D | NinePatchDrawableTest.java | 150 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() local 153 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 159 assertEquals(0, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 162 constantState = mNinePatchDrawable.getConstantState(); in testGetChangingConfigurations() 163 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 167 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetChangingConfigurations() 351 ConstantState constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() local 354 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 356 constantState = mNinePatchDrawable.getConstantState(); in testGetConstantState() 357 assertEquals(0xff, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ScaleDrawableTest.java | 425 ConstantState constantState = scaleDrawable.getConstantState(); in testGetConstantState() local 426 assertNotNull(constantState); in testGetConstantState() 427 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 430 constantState = scaleDrawable.getConstantState(); in testGetConstantState() 431 assertNotNull(constantState); in testGetConstantState() 432 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | BitmapDrawableTest.java | 346 ConstantState constantState = bitmapDrawable.getConstantState(); in testGetConstantState() local 347 assertNotNull(constantState); in testGetConstantState() 348 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 351 constantState = bitmapDrawable.getConstantState(); in testGetConstantState() 352 assertNotNull(constantState); in testGetConstantState() 353 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | ShapeDrawableTest.java | 106 ConstantState constantState = shapeDrawable.getConstantState(); in testGetConstantState() local 107 assertNotNull(constantState); in testGetConstantState() 108 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|
D | InsetDrawableTest.java | 414 ConstantState constantState = mInsetDrawable.getConstantState(); in testGetConstantState() local 415 assertNotNull(constantState); in testGetConstantState()
|
D | AdaptiveIconDrawableTest.java | 264 ConstantState constantState = iconDrawable.getConstantState(); in testGetConstantState() local 265 assertNotNull(constantState); in testGetConstantState()
|
D | GradientDrawableTest.java | 129 ConstantState constantState = gradientDrawable.getConstantState(); in testSetCornerRadii() local 130 assertNotNull(constantState); in testSetCornerRadii()
|
D | LayerDrawableTest.java | 876 ConstantState constantState = layerDrawable.getConstantState(); in testGetConstantState() local 877 assertNotNull(constantState); in testGetConstantState() 878 assertEquals(0, constantState.getChangingConfigurations()); in testGetConstantState() 881 constantState = layerDrawable.getConstantState(); in testGetConstantState() 882 assertNotNull(constantState); in testGetConstantState() 883 assertEquals(1, constantState.getChangingConfigurations()); in testGetConstantState()
|