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

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
Drawable_ConstantStateTest.java 29 import android.graphics.drawable.Drawable.ConstantState;
47 ConstantState cs = mock;
64 ConstantState cs = new MockConstantState();
68 public static class MockConstantState extends ConstantState {
RippleDrawableTest.java 32 import android.graphics.drawable.Drawable.ConstantState;
97 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
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...]
InsetDrawableTest.java 36 import android.graphics.drawable.Drawable.ConstantState;
413 ConstantState constantState = mInsetDrawable.getConstantState();
414 assertNotNull(constantState);
474 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
RotateDrawableTest.java 44 import android.graphics.drawable.Drawable.ConstantState;
286 ConstantState state = mRotateDrawable.getConstantState();
ShapeDrawableTest.java 43 import android.graphics.drawable.Drawable.ConstantState;
107 ConstantState constantState = shapeDrawable.getConstantState();
108 assertNotNull(constantState);
109 assertEquals(1, constantState.getChangingConfigurations());
ColorStateListDrawableTest.java 169 Drawable.ConstantState oldState = mDrawable.getConstantState();
AdaptiveIconDrawableTest.java 26 import android.graphics.drawable.Drawable.ConstantState;
291 ConstantState constantState = iconDrawable.getConstantState();
292 assertNotNull(constantState);
ClipDrawableTest.java 48 import android.graphics.drawable.Drawable.ConstantState;
400 private class MockConstantState extends ConstantState {
StateListDrawableTest.java 34 import android.graphics.drawable.Drawable.ConstantState;
213 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
GradientDrawableTest.java 39 import android.graphics.drawable.Drawable.ConstantState;
143 ConstantState constantState = gradientDrawable.getConstantState();
144 assertNotNull(constantState);
782 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
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());
LayerDrawableTest.java 57 import android.graphics.drawable.Drawable.ConstantState;
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
BitmapDrawableTest.java 30 import android.graphics.drawable.Drawable.ConstantState;
91 final ConstantState preloadedConstantState = preloadedDrawable.getConstantState();
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
GlideBitmapDrawable.java 91 public ConstantState getConstantState() {
139 static class BitmapState extends ConstantState {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifDrawable.java 275 public ConstantState getConstantState() {
312 static class GifState extends ConstantState {

Completed in 356 milliseconds