Home
last modified time | relevance | path

Searched refs:isRect (Results 1 – 25 of 122) sorted by relevance

12345

/external/skqp/src/core/
DSkRegion.cpp172 } else if (this->isRect()) { in computeRegionComplexity()
257 if (this->isRect()) { in count_runtype_values()
363 if (this->isRect()) { in contains()
421 if (this->isRect()) { in contains()
446 if (this->isRect()) { in contains()
449 if (rgn.isRect()) { in contains()
468 } else if (this->isRect()) { in getRuns()
506 if (this->isRect()) { in intersects()
533 bool weAreARect = this->isRect(); in intersects()
534 bool theyAreARect = rgn.isRect(); in intersects()
[all …]
DSkRasterClip.h34 bool isRect() const { return true; } in isRect() function
84 bool isRect() const { in isRect() function
147 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
154 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkRRectPriv.h32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
DSkScanPriv.h86 if (!path.isRect(&rect)) { in TryBlitFatAntiRect()
DSkScan.cpp27 if (clip->isRect()) { in FillIRect()
/external/skia/src/core/
DSkRegion.cpp172 } else if (this->isRect()) { in computeRegionComplexity()
257 if (this->isRect()) { in count_runtype_values()
363 if (this->isRect()) { in contains()
421 if (this->isRect()) { in contains()
446 if (this->isRect()) { in contains()
449 if (rgn.isRect()) { in contains()
468 } else if (this->isRect()) { in getRuns()
506 if (this->isRect()) { in intersects()
533 bool weAreARect = this->isRect(); in intersects()
534 bool theyAreARect = rgn.isRect(); in intersects()
[all …]
DSkRasterClip.h34 bool isRect() const { return true; } in isRect() function
84 bool isRect() const { in isRect() function
147 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
154 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkRRectPriv.h32 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
DSkScanPriv.h86 if (!path.isRect(&rect)) { in TryBlitFatAntiRect()
DSkScan.cpp27 if (clip->isRect()) { in FillIRect()
/external/skia/src/utils/
DSkDashPath.cpp186 bool isRect = !isLine && srcPath.isRect(nullptr); in cull_path() local
187 if (!isLine && !isRect) { in cull_path()
192 if (isRect) { in cull_path()
317 if (src.isRect(nullptr) && src.isLastContourClosed() && is_even(initialDashIndex)) { in InternalFilter()
/external/skqp/src/utils/
DSkDashPath.cpp186 bool isRect = !isLine && srcPath.isRect(nullptr); in cull_path() local
187 if (!isLine && !isRect) { in cull_path()
192 if (isRect) { in cull_path()
317 if (src.isRect(nullptr) && src.isLastContourClosed() && is_even(initialDashIndex)) { in InternalFilter()
/external/skia/include/core/
DSkRegion.h141 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function
147 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex()
381 if (this->isRect() && kIntersect_Op == op) { in op()
/external/skqp/include/core/
DSkRegion.h141 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function
147 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex()
381 if (this->isRect() && kIntersect_Op == op) { in op()
/external/skqp/tests/
DPathOpsBuilderTest.cpp34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
DPathTest.cpp616 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect()
621 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
626 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
631 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
636 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
881 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
2042 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close()
2146 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect()
2156 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
2167 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
/external/skia/tests/
DPathOpsBuilderTest.cpp34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
DPathTest.cpp616 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect()
621 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
626 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
631 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
636 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
881 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
2042 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close()
2146 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect()
2156 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
2167 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
/external/skia/tools/lua/
Dscrape.lua68 "isRect", tostring(t.path:isRect()), tostr(t.path:getBounds()))
Dpaths.lua60 if path:isRect() then
/external/skqp/tools/lua/
Dscrape.lua68 "isRect", tostring(t.path:isRect()), tostr(t.path:getBounds()))
Dpaths.lua60 if path:isRect() then
/external/skia/modules/sksg/src/
DSkSGRect.cpp57 if (fRRect.isRect()) { in onContains()
/external/skqp/src/pathops/
DSkPathOpsOp.cpp256 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug()
/external/skia/src/pathops/
DSkPathOpsOp.cpp256 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) { in OpDebug()

12345