Home
last modified time | relevance | path

Searched refs:ninePatchDrawable (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DThemedDrawableTest.java174 NinePatchDrawable ninePatchDrawable = (NinePatchDrawable) d.getDrawable(1); in testLayerDrawable() local
175 verifyNinePatchDrawable(ninePatchDrawable); in testLayerDrawable()
DNinePatchDrawableTest.java379 NinePatchDrawable ninePatchDrawable = new NinePatchDrawable( in testInflate() local
388 assertEquals(targetWidth, ninePatchDrawable.getIntrinsicWidth()); in testInflate()
389 assertEquals(targetHeight, ninePatchDrawable.getIntrinsicHeight()); in testInflate()
397 ninePatchDrawable.inflate(mResources, parser, attrs); in testInflate()
399 assertTrue(ninePatchDrawable.getPaint().isDither()); in testInflate()
400 assertTrue(sourceHeight != ninePatchDrawable.getIntrinsicHeight()); in testInflate()
401 assertTrue(sourceWidth != ninePatchDrawable.getIntrinsicWidth()); in testInflate()
DDefaultFocusHighlightTest.java328 NinePatchDrawable ninePatchDrawable = new NinePatchDrawable(res, np); in createNinePatchDrawable() local
329 return ninePatchDrawable; in createNinePatchDrawable()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java214 final NinePatchDrawable ninePatchDrawable = (NinePatchDrawable) in testBluePaddedSquare() local
216 ninePatchDrawable.setBounds(0, 0, 90, 90); in testBluePaddedSquare()
229 (canvas, width, height) -> ninePatchDrawable.draw(canvas)) in testBluePaddedSquare()