Home
last modified time | relevance | path

Searched refs:setNinePatch (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/gm/
H A Dshapes.cpp57 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(140, -50, 90, 110), 10, 5, 25, 35);
60 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(160, -60, 60, 90), 10, 60, 50, 30);
63 fShapes.push_back().setNinePatch(SkRect::MakeXYWH(220, -120, 60, 90), 1, 89, 59, 1);
H A Dwindowrectangles.cpp94 nine.setNinePatch(SkRect::MakeXYWH(550 - 30.25 - 100, 370.75, 100, 150), 12, 35, 23, 20); in onDraw()
H A Dthinrects.cpp115 rrect.setNinePatch(horizRects[j], 1/32.f, 2/32.f, 3/32.f, 4/32.f); in drawHorizRects()
H A Dshadowutils.cpp52 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16); in draw_paths()
/third_party/skia/tests/
H A 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()
H A 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/skia/docs/examples/
H A DRRect_setNinePatch.cpp10 rrect.setNinePatch({30, 10, 100, 60}, 10, 20, 20, 10); in REG_FIDDLE()
H A DCanvas_drawRRect.cpp12 rRect.setNinePatch(outer, radii.fLeft, radii.fTop, radii.fRight, radii.fBottom); in REG_FIDDLE()
/third_party/skia/include/core/
H A DSkRRect.h225 void setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad,
/third_party/skia/samplecode/
H A DSampleShadowUtils.cpp46 oddRRect.setNinePatch(SkRect::MakeWH(50, 50), 9, 13, 6, 16);
/third_party/skia/bench/
H A DShapesBench.cpp141 fRRect.setNinePatch(fRect.rect(), w / 8, h / 13, w / 11, h / 7);
/third_party/skia/src/gpu/ops/
H A DFillRRectOp.cpp886 rrect.setNinePatch(rect, w / 3.0f, h / 4.0f, w / 5.0f, h / 6.0);
/third_party/skia/src/core/
H A DSkRRect.cpp79 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, in setNinePatch() function in SkRRect

Completed in 10 milliseconds