Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/flutter/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()
Dshadowutils.cpp52 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in draw_paths()
Dwindowrectangles.cpp77 nine.setNinePatch(SkRect::MakeXYWH(550 - 30.25 - 100, 370.75, 100, 150), 12, 35, 23, 20); in onDraw()
/third_party/skia/tests/
DRRectInPathTest.cpp246 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
281 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
298 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
312 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
DRoundRectTest.cpp87 r.setNinePatch(oooRects[i], 0, 1, 2, 3); in test_empty()
109 r.setNinePatch(emptyRects[i], 0, 1, 2, 3); in test_empty()
154 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
206 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
228 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
247 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
/third_party/flutter/skia/tests/
DRRectInPathTest.cpp250 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
285 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
302 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
316 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
DRoundRectTest.cpp84 r.setNinePatch(oooRects[i], 0, 1, 2, 3); in test_empty()
106 r.setNinePatch(emptyRects[i], 0, 1, 2, 3); in test_empty()
151 rr.setNinePatch(rect, l, t, r, b); in test_9patch_rrect()
203 rr1_3.setNinePatch(rect, 0, 0, 0, 0); in test_round_rect_basic()
225 rr2_3.setNinePatch(rect, halfPoint.fX, halfPoint.fY, halfPoint.fX, halfPoint.fY); in test_round_rect_basic()
244 rr3_3.setNinePatch(rect, 5, 5, 5, 5); in test_round_rect_basic()
/third_party/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()
/third_party/flutter/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()
/third_party/skia/include/core/
DSkRRect.h225 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad,
/third_party/flutter/skia/include/core/
DSkRRect.h248 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad,
/third_party/flutter/skia/samplecode/
DSampleShadowUtils.cpp47 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in onOnceBeforeDraw()
/third_party/skia/samplecode/
DSampleShadowUtils.cpp46 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in onOnceBeforeDraw()
/third_party/skia/bench/
DShapesBench.cpp141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7); in onDelayedSetup()
/third_party/flutter/skia/bench/
DShapesBench.cpp141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7); in onDelayedSetup()
/third_party/skia/src/gpu/ops/
DFillRRectOp.cpp880 rrect.setNinePatch(rect, w / 3.0f, h / 4.0f, w / 5.0f, h / 6.0); in GR_DRAW_OP_TEST_DEFINE()
/third_party/flutter/skia/src/core/
DSkRRect.cpp55 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, in setNinePatch() function in SkRRect
/third_party/skia/src/core/
DSkRRect.cpp79 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, in setNinePatch() function in SkRRect
/third_party/flutter/skia/site/user/api/
DSkRRect_Reference.md45 …void <a href='#SkRRect_setNinePatch'>setNinePatch</a>(const <a href='SkRect_Reference#SkRect'>SkRe…
752 void <a href='#SkRRect_setNinePatch'>setNinePatch</a>(const <a href='SkRect_Reference#SkRect'>SkRec…
830 <a href='#SkRRect_setNinePatch'>setNinePatch</a> <a href='SkPath_Reference#SkPath'>SkPath</a>::<a h…

12