/external/skia/tests/ |
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 | PathOpsBuilderTest.cpp | 29 rectPath.addRect(0, 1, 2, 3, SkPath::kCW_Direction); in DEF_TEST() 41 rectPath.addRect(0, 1, 2, 3, SkPath::kCCW_Direction); in DEF_TEST() 54 rect2.addRect(2, 1, 4, 3, SkPath::kCW_Direction); in DEF_TEST() 55 rect3.addRect(4, 1, 5, 3, SkPath::kCCW_Direction); in DEF_TEST()
|
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 | 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 | 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 | 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 | 148 path->addRect(SkRect::MakeXYWH(10, 10, 10, 1)); in make_path1() 425 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 430 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 435 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 440 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 445 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect() 453 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 460 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 466 path.addRect(SkRect::MakeWH(50, 100)); in test_addrect_isfinite() 933 path0.addRect(rects[i]); in test_bounds() [all …]
|
D | ErrorTest.cpp | 49 path.addRect(r); in DEF_TEST()
|
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 | strokefill.cpp | 84 path3.addRect(r, SkPath::kCW_Direction); in onDraw() 86 path3.addRect(r, SkPath::kCCW_Direction); in onDraw() 93 path4.addRect(r, SkPath::kCCW_Direction); in onDraw() 95 path4.addRect(r, SkPath::kCW_Direction); in onDraw() 102 path4.addRect(r, SkPath::kCCW_Direction); in onDraw() 111 path4.addRect(r, SkPath::kCW_Direction); in onDraw()
|
D | pathreverse.cpp | 39 path.addRect(r); test_rev(canvas, path); in test_rev() 43 path.addRect(r); test_rev(canvas, path); in test_rev() 86 path.addRect(r); test_rev(canvas, path); in onDraw() 90 path.addRect(r); test_rev(canvas, path); in onDraw()
|
D | strokes.cpp | 149 path->addRect(bounds, SkPath::kCW_Direction); in make0() 150 path->addRect(inset(bounds), SkPath::kCW_Direction); in make0() 155 path->addRect(bounds, SkPath::kCW_Direction); in make1() 156 path->addRect(inset(bounds), SkPath::kCCW_Direction); in make1() 173 path->addRect(bounds, SkPath::kCW_Direction); in make4() 181 path->addRect(bounds, SkPath::kCW_Direction); in make5()
|
D | blurs.cpp | 121 path.addRect(outer, SkPath::kCW_Direction); in onDraw() 122 path.addRect(inner, SkPath::kCCW_Direction); in onDraw() 152 path.addRect(outer, SkPath::kCW_Direction); in onDraw() 153 path.addRect(inner, SkPath::kCW_Direction); in onDraw()
|
D | bigblurs.cpp | 44 rectori.addRect(bigRect); in onDraw() 45 rectori.addRect(insetRect, SkPath::kCCW_Direction); in onDraw()
|
D | pathinterior.cpp | 82 path.addRect(r, outerDir); in onDraw() 88 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 | 17 path.addRect(rect); in generate_square() 24 path.addRect(rect); in generate_rect_line()
|
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()
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 77 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 78 path.addRect(20, 20, 50, 50, SkPath::kCW_Direction); 79 path.addRect(50, 50, 90, 90, SkPath::kCCW_Direction); 84 path.addRect(10, 10, 100, 100, SkPath::kCW_Direction); 85 path.addRect(20, 20, 80, 80, SkPath::kCW_Direction); 172 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 | 45 p.addRect(outer); in onDraw() 46 p.addRect(inner); in onDraw()
|
/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
|