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

  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
ThemedDrawableTest.java 36 import android.graphics.drawable.NinePatchDrawable;
143 NinePatchDrawable d = (NinePatchDrawable) mContext.getDrawable(
149 private void verifyNinePatchDrawable(NinePatchDrawable d) {
174 NinePatchDrawable ninePatchDrawable = (NinePatchDrawable) d.getDrawable(1);
175 verifyNinePatchDrawable(ninePatchDrawable);
NinePatchDrawableTest.java 47 import android.graphics.drawable.NinePatchDrawable;
82 private NinePatchDrawable mNinePatchDrawable;
103 new NinePatchDrawable(bmp, chunk, r, name);
105 new NinePatchDrawable(new NinePatch(bmp, chunk, name));
110 new NinePatchDrawable(bmp, chunk, r, name);
176 NinePatchDrawable npd = (NinePatchDrawable) mResources.getDrawable(R.drawable.ninepatch_0);
184 npd = (NinePatchDrawable) mResources.getDrawable(R.drawable.ninepatch_1);
379 NinePatchDrawable ninePatchDrawable = new NinePatchDrawable
    [all...]
DefaultFocusHighlightTest.java 40 import android.graphics.drawable.NinePatchDrawable;
324 static NinePatchDrawable createNinePatchDrawable(Context context) {
328 NinePatchDrawable ninePatchDrawable = new NinePatchDrawable(res, np);
329 return ninePatchDrawable;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DrawableResourceLoaderTest.java 18 import android.graphics.drawable.NinePatchDrawable;
58 assertThat(resources.getDrawable(R.drawable.nine_patch_drawable)).isInstanceOf(NinePatchDrawable.class);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDrawable.java 12 import android.graphics.drawable.NinePatchDrawable;
80 return new NinePatchDrawable(res, bm, np, pad, srcName);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ExactCanvasTests.java 28 import android.graphics.drawable.NinePatchDrawable;
213 final NinePatchDrawable ninePatchDrawable = (NinePatchDrawable)
215 ninePatchDrawable.setBounds(0, 0, 90, 90);
228 (canvas, width, height) -> ninePatchDrawable.draw(canvas))
HardwareBitmapTests.java 36 import android.graphics.drawable.NinePatchDrawable;
225 NinePatchDrawable ninePatch = (NinePatchDrawable) Drawable.createFromResourceStream(
  /cts/tests/tests/graphics/src/android/graphics/cts/
ImageDecoderTest.java 45 import android.graphics.drawable.NinePatchDrawable;
588 assertFalse(drawable instanceof NinePatchDrawable);
    [all...]

Completed in 2184 milliseconds