Home
last modified time | relevance | path

Searched refs:setRectXY (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/gm/
Droundrects.cpp152 circleRRect.setRectXY(kRect, 5, 5); in onDraw()
196 ellipseRect.setRectXY(rect, 5, 10); in onDraw()
215 ellipseRect.setRectXY(rect, 20, 5); in onDraw()
235 circleRect.setRectXY(rect, 5, 5); in onDraw()
253 circleRect.setRectXY(rect, 5, 5); in onDraw()
309 circleRect.setRectXY(kRect, radii[i][0], radii[i][1]); in onDraw()
353 circleRect.setRectXY(smallRect, 5, 5); in onDraw()
Dcomplexclip2.cpp68 fRRects[0].setRectXY(fRects[0], 7, 7); in onOnceBeforeDraw()
73 fRRects[1].setRectXY(fRects[1], 7, 7); in onOnceBeforeDraw()
78 fRRects[2].setRectXY(fRects[2], 7, 7); in onOnceBeforeDraw()
83 fRRects[3].setRectXY(fRects[3], 7, 7); in onOnceBeforeDraw()
88 fRRects[4].setRectXY(fRects[4], 7, 7); in onOnceBeforeDraw()
Drrects.cpp187 fRRects[2].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 10); in setUpRRects()
188 fRRects[3].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 10, 5); in setUpRRects()
190 fRRects[4].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 1, 1); in setUpRRects()
191 fRRects[5].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.5f, 0.5f); in setUpRRects()
192 fRRects[6].setRectXY(SkRect::MakeWH(kTileX-2, kTileY-2), 0.2f, 0.2f); in setUpRRects()
201 fRRects[kNumRRects - 1].setRectXY({9.f, 9.f, 1699.f, 1699.f}, 843.749f, 843.75f); in setUpRRects()
Ddrrect.cpp49 outers[2].setRectXY(r, 20, 20); in onDraw()
58 inners[3].setRectXY(r, 20, 20); in onDraw()
Dshapes.cpp49 fShapes.push_back().setRectXY(SkRect::MakeXYWH(0, 75, 150, 100), 1e-5f, 1e-5f); in onOnceBeforeDraw()
52 fShapes.push_back().setRectXY(SkRect::MakeXYWH(15, -20, 100, 100), 20, 15); in onOnceBeforeDraw()
Dblurroundrect.cpp86 rrect.setRectXY(r, SkIntToScalar(cornerRadii[j]), in onDraw()
Dfilterfastbounds.cpp51 rr.setRectXY(r, xRad, yRad); in draw_rrect()
60 outer.setRectXY(r, xRad, yRad); in draw_drrect()
Dnested.cpp63 rr.setRectXY(rect, 5, 5); in AddShape()
Dthinrects.cpp137 rrect.setRectXY(squares[j], 1/32.f, 2/32.f); in drawSquares()
Drrect.cpp159 rrect[2].setRectXY(r, 20, 20); in onDraw()
/external/skia/tests/
DRRectInPathTest.cpp214 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
242 rr.setRectXY(r, 20, 20); in test_inset()
317 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
359 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
388 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
402 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
DRoundRectTest.cpp55 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524()
93 r.setRectXY(oooRects[i], 1, 2); in test_empty()
115 r.setRectXY(emptyRects[i], 1, 2); in test_empty()
151 rr.setRectXY(r, 20, 20); in test_inset()
244 rr3.setRectXY(rect, p.fX, p.fY); in test_round_rect_basic()
307 rr1.setRectXY(rect, 0, 0); in test_round_rect_rects()
337 rr1.setRectXY(rect, SkScalarHalf(kWidth), SkScalarHalf(kHeight)); in test_round_rect_ovals()
349 rr1.setRectXY(rect, 20, 20); in test_round_rect_general()
382 rr2.setRectXY(rect, -10, -20); in test_round_rect_iffy_parameters()
922 rrect.setRectXY(r, SkIntToScalar(4), SkIntToScalar(7)); in test_round_rect_transform()
DMaskCacheTest.cpp45 rrect.setRectXY(rect, 30, 30); in DEF_TEST()
DBlurTest.cpp469 rr.setRectXY(r, kCornerRad, kCornerRad); in DEF_TEST()
486 rr.setRectXY(r, kXCornerRad, kYCornerRad); in DEF_TEST()
/external/skia/docs/examples/
DSKIA_LOGO_ANIMATE.cpp107 rrectClip.setRectXY({138, 291, 138 + pos*(341-138), 300}, 25.0, 5.0); in draw()
110 rrect.setRectXY({138, 291, 341, 300}, 25.0, 5.0); in draw()
DRRect_setRectXY.cpp10 rrect.setRectXY(rrect.getBounds(), 5, 5); in draw()
DRRect_isOval.cpp14 rrect.setRectXY(rrect.getBounds(), 35, 25);
DRRect_getSimpleRadii.cpp21 rrect.setRectXY(rrect.getBounds(), 5, 8);
DPath_addRRect_2.cpp10 rrect.setRectXY({40, 40, 215, 215}, 50, 50); in draw()
DSKIA_LOGO_svg.cpp58 rrect.setRectXY({138, 291, 341, 300}, 25.0, 5.0); in draw()
DSKIA_LOGO.cpp92 rrect.setRectXY({138, 291, 341, 300}, 25.0, 5.0); in draw()
/external/skia/include/core/
DSkRRect.h182 rr.setRectXY(rect, xRad, yRad); in MakeRectXY()
207 void setRectXY(const SkRect& rect, SkScalar xRad, SkScalar yRad);
/external/skia/src/gpu/ganesh/
DGrTestUtils.cpp155 gRRect[0].setRectXY(rectangle, 1.f, 1.f); in TestRRectSimple()
157 gRRect[1].setRectXY(rectangle, 2.0f, 1.0f); in TestRRectSimple()
/external/skia/bench/
DGeometryBench.cpp290 rr.setRectXY({0, 0, 100, 100}, 20, 30); in preparePath()
DShapesBench.cpp147 fInnerRRect.setRectXY(fInnerRect.rect(), w / 13, w / 7); in onDelayedSetup()

12