HomeSort by relevance Sort by last modified time
    Searched refs:constantState (Results 1 - 10 of 10) sorted by null

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
AnimatedVectorDrawableTest.java 37 import android.graphics.drawable.Drawable.ConstantState;
126 ConstantState constantState = avd.getConstantState();
129 assertEquals(0, constantState.getChangingConfigurations());
135 assertEquals(0, constantState.getChangingConfigurations());
138 constantState = avd.getConstantState();
139 assertEquals(0xff, constantState.getChangingConfigurations());
143 assertEquals(0xff, constantState.getChangingConfigurations());
150 ConstantState constantState = AnimatedVectorDrawable.getConstantState()
    [all...]
VectorDrawableTest.java 35 import android.graphics.drawable.Drawable.ConstantState;
313 ConstantState constantState = vectorDrawable.getConstantState();
316 assertEquals(0, constantState.getChangingConfigurations());
322 assertEquals(0, constantState.getChangingConfigurations());
325 constantState = vectorDrawable.getConstantState();
326 assertEquals(0xff, constantState.getChangingConfigurations());
330 assertEquals(0xff, constantState.getChangingConfigurations());
337 ConstantState constantState = vectorDrawable.getConstantState()
    [all...]
NinePatchDrawableTest.java 46 import android.graphics.drawable.Drawable.ConstantState;
152 ConstantState constantState = mNinePatchDrawable.getConstantState();
155 assertEquals(0, constantState.getChangingConfigurations());
161 assertEquals(0, constantState.getChangingConfigurations());
164 constantState = mNinePatchDrawable.getConstantState();
165 assertEquals(0xff, constantState.getChangingConfigurations());
169 assertEquals(0xff, constantState.getChangingConfigurations());
363 ConstantState constantState = mNinePatchDrawable.getConstantState()
    [all...]
ShapeDrawableTest.java 43 import android.graphics.drawable.Drawable.ConstantState;
107 ConstantState constantState = shapeDrawable.getConstantState();
108 assertNotNull(constantState);
109 assertEquals(1, constantState.getChangingConfigurations());
BitmapDrawableTest.java 46 import android.graphics.drawable.Drawable.ConstantState;
369 ConstantState constantState = bitmapDrawable.getConstantState();
370 assertNotNull(constantState);
371 assertEquals(0, constantState.getChangingConfigurations());
374 constantState = bitmapDrawable.getConstantState();
375 assertNotNull(constantState);
376 assertEquals(1, constantState.getChangingConfigurations());
ScaleDrawableTest.java 49 import android.graphics.drawable.Drawable.ConstantState;
426 ConstantState constantState = scaleDrawable.getConstantState();
427 assertNotNull(constantState);
428 assertEquals(0, constantState.getChangingConfigurations());
431 constantState = scaleDrawable.getConstantState();
432 assertNotNull(constantState);
433 assertEquals(1, constantState.getChangingConfigurations());
AdaptiveIconDrawableTest.java 26 import android.graphics.drawable.Drawable.ConstantState;
291 ConstantState constantState = iconDrawable.getConstantState();
292 assertNotNull(constantState);
InsetDrawableTest.java 36 import android.graphics.drawable.Drawable.ConstantState;
413 ConstantState constantState = mInsetDrawable.getConstantState();
414 assertNotNull(constantState);
474 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
LayerDrawableTest.java 57 import android.graphics.drawable.Drawable.ConstantState;
    [all...]
GradientDrawableTest.java 39 import android.graphics.drawable.Drawable.ConstantState;
143 ConstantState constantState = gradientDrawable.getConstantState();
144 assertNotNull(constantState);
782 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();

Completed in 1101 milliseconds