/external/skia/tests/ |
D | PathOpsBuilderTest.cpp | 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 42 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 55 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 56 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST() 142 path.addRect(0, 0, 1, 1, SkPath::kCW_Direction); in DEF_TEST() 143 path.addRect(2, 2, 3, 3, SkPath::kCW_Direction); in DEF_TEST() 145 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 146 pathB.addRect(3, 3, 4, 4, SkPath::kCW_Direction); in DEF_TEST() 215 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() 216 inner.addRect(10, 30, 10+0, 30+60); // <rect x="10" y="30" width="0" height="60" /> in DEF_TEST() [all …]
|
D | PathOpsSimplifyTest.cpp | 444 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15() 451 path.addRect(0, 0, 9, 9, SkPath::kCW_Direction); in testLine15x() 457 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16() 458 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16() 465 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine16x() 466 path.addRect(0, 4, 9, 9, SkPath::kCW_Direction); in testLine16x() 472 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17() 473 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17() 480 path.addRect(0, 0, 12, 12, SkPath::kCW_Direction); in testLine17x() 481 path.addRect(4, 12, 13, 13, SkPath::kCW_Direction); in testLine17x() [all …]
|
D | PathOpsOpRectThreadedTest.cpp | 59 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 61 pathA.addRect(SkIntToScalar(state.fC), SkIntToScalar(state.fC), SkIntToScalar(state.fD), in testPathOpsRectsMain() 65 pathB.addRect(SkIntToScalar(a), SkIntToScalar(a), SkIntToScalar(b), in testPathOpsRectsMain() 67 pathB.addRect(SkIntToScalar(c), SkIntToScalar(c), SkIntToScalar(d), in testPathOpsRectsMain()
|
D | PathOpsSimplifyRectThreadedTest.cpp | 67 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 98 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 129 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain() 160 path.addRect(SkIntToScalar(l), SkIntToScalar(t), SkIntToScalar(r), SkIntToScalar(b), in testSimplify4x4RectsMain()
|
D | PathOpsOpTest.cpp | 380 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect1() 381 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testIntersect1() 387 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testUnion1() 388 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testUnion1() 394 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testDiff1() 395 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testDiff1() 401 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testXor1() 402 two.addRect(3, 3, 9, 9, SkPath::kCW_Direction); in testXor1() 408 one.addRect(0, 0, 6, 6, SkPath::kCW_Direction); in testIntersect2() 409 two.addRect(0, 3, 9, 9, SkPath::kCW_Direction); in testIntersect2() [all …]
|
D | PathOpsInverseTest.cpp | 17 one.addRect(0, 0, 6, 6, (SkPath::Direction) oneDir); in DEF_TEST() 24 two.addRect(3, 3, 9, 9, (SkPath::Direction) twoDir); in DEF_TEST()
|
D | GpuRectanizerTest.cpp | 27 REPORTER_ASSERT(reporter, rectanizer->addRect(50, 50, &loc)); in test_rectanizer_basic() 39 if (!rectanizer->addRect(rects[i].fWidth, rects[i].fHeight, &loc)) { in test_rectanizer_inserts()
|
D | PathTest.cpp | 150 path->addRect(SkRect::MakeXYWH(10, 10, 10, 1)); in make_path1() 489 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 494 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 499 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 504 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 509 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 517 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 524 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 530 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 591 path.addRect(SkRect::MakeLTRB(1, 2, 3, 4)); in test_bounds_crbug_513799() [all …]
|
D | ClipStackTest.cpp | 78 rp.addRect(r); in test_assign_and_comparison() 111 p.addRect(r); in test_assign_and_comparison() 401 path.addRect(rect); in test_rect_inverse_fill() 730 path.addRect(outsideRect); in test_quickContains() 739 path.addRect(insideRect); in test_quickContains() 748 path.addRect(intersectingRect); in test_quickContains() 757 path.addRect(nonIntersectingRect); in test_quickContains() 827 path.addRect(rect); in add_rect()
|
/external/skia/gm/ |
D | blurs.cpp | 91 path.addRect(outer, SkPath::kCW_Direction); 92 path.addRect(inner, SkPath::kCCW_Direction); 110 path.addRect(outer, SkPath::kCW_Direction); 111 path.addRect(inner, SkPath::kCW_Direction);
|
D | strokes.cpp | 101 fRefPath[2].addRect(i * 10.f - 4, -2, i * 10.f + 4, 6); in onOnceBeforeDraw() 102 fRefPath[3].addRect(i * 10.f - 10, -10, i * 10.f + 10, 10); in onOnceBeforeDraw() 339 path->addRect(bounds, SkPath::kCW_Direction); in make0() 340 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0() 345 path->addRect(bounds, SkPath::kCW_Direction); in make1() 346 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1() 363 path->addRect(bounds, SkPath::kCW_Direction); in make4() 371 path->addRect(bounds, SkPath::kCW_Direction); in make5()
|
D | strokefill.cpp | 302 path3.addRect(r, SkPath::kCW_Direction); 304 path3.addRect(r, SkPath::kCCW_Direction); 311 path4.addRect(r, SkPath::kCCW_Direction); 313 path4.addRect(r, SkPath::kCW_Direction); 320 path4.addRect(r, SkPath::kCCW_Direction); 329 path4.addRect(r, SkPath::kCW_Direction);
|
D | blurrect.cpp | 28 path.addRect(rect); in draw_donut() 32 path.addRect(rect); in draw_donut() 44 path.addRect(rect); in draw_donut_skewed() 50 path.addRect(rect); in draw_donut_skewed()
|
D | pathreverse.cpp | 77 path.addRect(r); test_rev(canvas, path); 81 path.addRect(r); test_rev(canvas, path);
|
D | bigblurs.cpp | 44 rectori.addRect(bigRect); in onDraw() 45 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
|
D | pathinterior.cpp | 83 path.addRect(r, outerDir); in onDraw() 89 path.addRect(r, innerDir); in onDraw()
|
D | pathopsinverse.cpp | 72 one.addRect(10, 10, 70, 70); in onDraw() 75 two.addRect(40, 40, 100, 100); in onDraw()
|
D | inversepaths.cpp | 15 path.addRect(rect); in generate_square() 22 path.addRect(rect); in generate_rect_line()
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 82 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 83 path.addRect(20, 20, 50, 50, SkPath::kCW_Direction); 84 path.addRect(50, 50, 90, 90, SkPath::kCCW_Direction); 89 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 90 path.addRect(20, 20, 80, 80, SkPath::kCW_Direction); 177 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g);\n",
|
/external/skia/bench/ |
D | BlurRectsBench.cpp | 37 path.addRect(fOuter, SkPath::kCW_Direction); in onDraw() 38 path.addRect(fInner, SkPath::kCW_Direction); in onDraw()
|
D | RectoriBench.cpp | 46 p.addRect(outer); in onDraw() 47 p.addRect(inner); in onDraw()
|
/external/skia/src/core/ |
D | SkPictureRecord.cpp | 103 this->addRect(*rec.fBounds); in recordSaveLayer() 314 this->addRect(rect); in recordClipRect() 415 this->addRect(oval); in onDrawOval() 424 this->addRect(rect); in onDrawRect() 484 this->addRect(dst); in onDrawBitmapRect() 514 this->addRect(dst); in onDrawImageRect() 528 this->addRect(dst); in onDrawImageNine() 540 this->addRect(dst); in onDrawBitmapNine() 923 void SkPictureRecord::addRect(const SkRect& rect) { in addRect() function in SkPictureRecord
|
/external/skia/src/gpu/ |
D | GrRectanizer.h | 31 virtual bool addRect(int width, int height, SkIPoint16* loc) = 0;
|
D | GrRectanizer_skyline.h | 33 bool addRect(int w, int h, SkIPoint16* loc) override;
|
D | GrRectanizer_pow2.cpp | 11 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() function in GrRectanizerPow2
|