Home
last modified time | relevance | path

Searched refs:kBaseRect (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathTest.cpp1460 static const SkRect kBaseRect = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in test_conservativelyContains() local
1463 SkScalar circleR = SkMaxScalar(kBaseRect.width(), kBaseRect.height()); in test_conservativelyContains()
1465 static const SkPoint kCircleC = {kBaseRect.centerX(), kBaseRect.centerY()}; in test_conservativelyContains()
1477 {kBaseRect, true, true, false, false}, in test_conservativelyContains()
1480 {SkRect::MakeLTRB(kBaseRect.fLeft + 0.25f*kBaseRect.width(), in test_conservativelyContains()
1481 kBaseRect.fTop + 0.25f*kBaseRect.height(), in test_conservativelyContains()
1482 kBaseRect.fRight - 0.25f*kBaseRect.width(), in test_conservativelyContains()
1483 kBaseRect.fBottom - 0.25f*kBaseRect.height()), in test_conservativelyContains()
1487 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, in test_conservativelyContains()
1488 kBaseRect.width(), kBaseRect.height() + 1), in test_conservativelyContains()
[all …]
/external/skia/bench/
DPathBench.cpp742 fPath.addRect(kBaseRect); in ConservativelyContainsBench()
746 fPath.addRoundRect(kBaseRect, kRRRadii[0], kRRRadii[1]); in ConservativelyContainsBench()
750 fPath.addOval(kBaseRect); in ConservativelyContainsBench()
793 static const SkRect kBaseRect; // rect that is used to construct the path member in ConservativelyContainsBench
992 const SkRect ConservativelyContainsBench::kBaseRect = SkRect::MakeXYWH(SkIntToScalar(25), SkIntToSc… member in ConservativelyContainsBench