Home
last modified time | relevance | path

Searched refs:setNinePatch (Results 1 – 17 of 17) sorted by relevance

/external/skia/gm/
Dshapes.cpp57 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(140, -50, 90, 110), 10, 5, 25, 35); in onOnceBeforeDraw()
60 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(160, -60, 60, 90), 10, 60, 50, 30); in onOnceBeforeDraw()
63 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(220, -120, 60, 90), 1, 89, 59, 1); in onOnceBeforeDraw()
Dwindowrectangles.cpp94 nine.setNinePatch(SkRect::MakeXYWH(550 - 30.25 - 100, 370.75, 100, 150), 12, 35, 23, 20); in onDraw()
Dthinrects.cpp115 rrect.setNinePatch(horizRects[j], 1/32.f, 2/32.f, 3/32.f, 4/32.f); in drawHorizRects()
Dshadowutils.cpp52 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in draw_paths()
/external/skia/tests/
DRRectInPathTest.cpp259 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
294 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
311 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
325 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
DRoundRectTest.cpp97 r.setNinePatch(oooRects[i], 0, 1, 2, 3); in test_empty()
119 r.setNinePatch(emptyRects[i], 0, 1, 2, 3); in test_empty()
164 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
216 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
238 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
257 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
/external/skia/docs/examples/
DCanvas_drawRRect.cpp12 rRect.setNinePatch(outer, radii.fLeft, radii.fTop, radii.fRight, radii.fBottom); in draw()
DRRect_setNinePatch.cpp10 rrect.setNinePatch({30, 10, 100, 60}, 10, 20, 20, 10); in draw()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAssetInputStream.java28 slais.setNinePatch(asset.isNinePatch()); in createAssetInputStream()
DShadowLegacyAssetInputStream.java38 void setNinePatch(boolean ninePatch) { in setNinePatch() method in ShadowLegacyAssetInputStream
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAssetInputStream.java28 slais.setNinePatch(asset.isNinePatch()); in createAssetInputStream()
DShadowLegacyAssetInputStream.java36 void setNinePatch(boolean ninePatch) { in setNinePatch() method in ShadowLegacyAssetInputStream
/external/skia/include/core/
DSkRRect.h229 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad,
/external/skia/tools/viewer/
DShadowUtilsSlide.cpp47 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in load()
/external/skia/bench/
DShapesBench.cpp141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7); in onDelayedSetup()
/external/skia/src/gpu/ganesh/ops/
DFillRRectOp.cpp940 rrect.setNinePatch(rect, w / 3.0f, h / 4.0f, w / 5.0f, h / 6.0); in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/core/
DSkRRect.cpp88 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, in setNinePatch() function in SkRRect