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

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
NinePatchDrawableTest.java 45 import android.graphics.drawable.Drawable.ConstantState;
150 ConstantState constantState = mNinePatchDrawable.getConstantState();
153 assertEquals(0, constantState.getChangingConfigurations());
159 assertEquals(0, constantState.getChangingConfigurations());
162 constantState = mNinePatchDrawable.getConstantState();
163 assertEquals(0xff, constantState.getChangingConfigurations());
167 assertEquals(0xff, constantState.getChangingConfigurations());
369 ConstantState constantState = mNinePatchDrawable.getConstantState()
    [all...]
BitmapDrawableTest.java 41 import android.graphics.drawable.Drawable.ConstantState;
407 ConstantState constantState = bitmapDrawable.getConstantState();
408 assertNotNull(constantState);
409 assertEquals(0, constantState.getChangingConfigurations());
412 constantState = bitmapDrawable.getConstantState();
413 assertNotNull(constantState);
414 assertEquals(1, constantState.getChangingConfigurations());
ShapeDrawableTest.java 38 import android.graphics.drawable.Drawable.ConstantState;
120 ConstantState constantState = shapeDrawable.getConstantState();
121 assertNotNull(constantState);
122 assertEquals(1, constantState.getChangingConfigurations());
ScaleDrawableTest.java 32 import android.graphics.drawable.Drawable.ConstantState;
493 ConstantState constantState = scaleDrawable.getConstantState();
494 assertNotNull(constantState);
495 assertEquals(0, constantState.getChangingConfigurations());
498 constantState = scaleDrawable.getConstantState();
499 assertNotNull(constantState);
500 assertEquals(1, constantState.getChangingConfigurations());
LayerDrawableTest.java 36 import android.graphics.drawable.Drawable.ConstantState;
    [all...]
GradientDrawableTest.java 36 import android.graphics.drawable.Drawable.ConstantState;
79 ConstantState constantState = gradientDrawable.getConstantState();
80 assertNotNull(constantState);
InsetDrawableTest.java 37 import android.graphics.drawable.Drawable.ConstantState;
440 ConstantState constantState = insetDrawable.getConstantState();
441 assertNotNull(constantState);

Completed in 50 milliseconds