Home
last modified time | relevance | path

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

1234

/external/skia/src/core/
DSkRegion.cpp174 } else if (this->isRect()) { in computeRegionComplexity()
259 if (this->isRect()) { in count_runtype_values()
365 if (this->isRect()) { in contains()
423 if (this->isRect()) { in contains()
448 if (this->isRect()) { in contains()
451 if (rgn.isRect()) { in contains()
470 } else if (this->isRect()) { in getRuns()
508 if (this->isRect()) { in intersects()
535 bool weAreARect = this->isRect(); in intersects()
536 bool theyAreARect = rgn.isRect(); in intersects()
[all …]
DSkRasterClip.h45 bool isRect() const { in isRect() function
105 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect()
112 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
DSkDevice.cpp564 aa, /*fillsBounds=*/rrect.isRect()); in onClipRRect()
578 /*isAA=*/false, /*fillsBounds=*/globalRgn.isRect()); in onClipRegion()
609 const bool isRect = fillsBounds && SkMatrixPriv::IsScaleTranslateAsM33(transform); in op() local
619 fIsRect &= isRect; in op()
620 } else if (isRect) { in op()
DSkRRectPriv.h36 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
DSkRasterClip.cpp40 fIsRect = that.isRect(); in operator =()
185 if (this->isRect() && op == SkClipOp::kIntersect) { in op()
/external/skia/docs/examples/
DRRect_isRect.cpp13 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
18 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
DRegion_isRect.cpp8 SkDebugf("%s: region is %s" "rect\n", label, region.isRect() ? "" : "not "); in draw()
DPath_addRoundRect.cpp13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in draw()
DPath_isRect.cpp11 path.isRect(&rect, &isClosed, &direction) ? in draw()
/external/skia/src/gpu/ganesh/geometry/
DGrShape.h85 bool isRect() const { return this->type() == Type::kRect; } in isRect() function
112 SkASSERT((this->isRect() && start < 4) || (this->isRRect() && start < 8) || in setPathWindingParams()
133 SkRect& rect() { SkASSERT(this->isRect()); return fRect; } in rect()
134 const SkRect& rect() const { SkASSERT(this->isRect()); return fRect; } in rect()
DGrStyledShape.h147 bool isRect() const { in isRect() function
149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect()); in isRect()
150 return fShape.isRect(); in isRect()
DGrShape.cpp87 if (fPath.isRect(&rect, &closed) && (closed || (flags & kSimpleFill_Flag))) { in simplifyPath()
153 if (rrect.isEmpty() || rrect.isRect()) { in simplifyRRect()
188 if (!this->isRect()) { in simplifyRect()
395 if (fRRect.isEmpty() || fRRect.isRect()) { in segmentMask()
/external/skia/include/core/
DSkRegion.h146 bool isRect() const { return fRunHead == kRectRunHeadPtr; } in isRect() function
152 bool isComplex() const { return !this->isEmpty() && !this->isRect(); } in isComplex()
379 if (this->isRect() && kIntersect_Op == op) { in op()
/external/skia/src/gpu/graphite/render/
DAnalyticRRectRenderStep.cpp254 } else if (quad.isRect()) { in opposite_insets_intersect()
266 if (shape.isRect()) { in opposite_insets_intersect()
771 SkASSERT(shape.isRect() || params.strokeStyle().halfWidth() == 0.f || in writeVertices()
821 if (shape.isRect() || (shape.isRRect() && shape.rrect().isRect())) { in writeVertices()
/external/skia/src/gpu/graphite/
DClipStack.cpp310 if (fShape.isRect()) {
430 if (fShape.isRect() && other.fShape.isRect()) { in combine()
438 } else if ((fShape.isRect() || fShape.isRRect()) && in combine()
439 (other.fShape.isRect() || other.fShape.isRRect())) { in combine()
442 SkRRect a = fShape.isRect() ? SkRRect::MakeRect(fShape.rect().asSkRect()) in combine()
444 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect().asSkRect()) in combine()
450 if (joined.isRect()) { in combine()
/external/skia/src/gpu/graphite/geom/
DShape.h61 bool isRect() const { return fType == Type::kRect; } in isRect() function
104 const Rect& rect() const { SkASSERT(this->isRect()); return fRect; } in rect()
/external/skia/tests/
DAAClipTest.cpp122 } else if (a.isEmpty() != b.isEmpty() || a.isBW() != b.isBW() || a.isRect() != b.isRect()) { in operator ==()
354 REPORTER_ASSERT(reporter, !clip.isRect()); in test_really_a_rect()
364 REPORTER_ASSERT(reporter, clip.isRect()); in test_really_a_rect()
DPathOpsBuilderTest.cpp37 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
48 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
64 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); in DEF_TEST()
DPathTest.cpp662 REPORTER_ASSERT(reporter, path.isRect(nullptr)); in test_addrect()
667 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
672 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
677 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
682 REPORTER_ASSERT(reporter, !path.isRect(nullptr)); in test_addrect()
926 REPORTER_ASSERT(reporter, temp.isRect(&result)); in test_arb_zero_rad_round_rect_is_rect()
2069 REPORTER_ASSERT(reporter, path.isRect(nullptr, &isClosed, nullptr)); in test_isRect_open_close()
2173 REPORTER_ASSERT(reporter, tests[testIndex].fIsRect == path.isRect(nullptr)); in test_isRect()
2183 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction)); in test_isRect()
2194 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction)); in test_isRect()
[all …]
/external/skia/src/gpu/ganesh/
DClipStack.cpp220 if (e.fShape.isRect()) { in analytic_clip_fp()
553 if (forceAA && !(fShape.isRect() && fLocalToDevice.preservesAxisAlignment())) { in simplify()
562 if (fShape.isRect()) { in simplify()
619 if (fShape.isRect() && other.fShape.isRect()) { in combine()
645 } else if ((fShape.isRect() || fShape.isRRect()) && in combine()
646 (other.fShape.isRect() || other.fShape.isRRect())) { in combine()
650 SkRRect a = fShape.isRect() ? SkRRect::MakeRect(fShape.rect()) : fShape.rrect(); in combine()
651 SkRRect b = other.fShape.isRect() ? SkRRect::MakeRect(other.fShape.rect()) in combine()
657 if (joined.isRect()) { in combine()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNativeRegion.java133 protected boolean isRect() { in isRect() method in ShadowNativeRegion
134 return regionNatives.isRect(); in isRect()
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/
DRegionNatives.java51 public native boolean isRect(); in isRect() method in RegionNatives
/external/skia/src/gpu/ganesh/ops/
DFillRRectOp.cpp237 if ((shape.isRect() || shape.isRRect()) && in clipToShape()
243 if (shape.isRect()) { in clipToShape()
269 if (shape.isRect()) { in clipToShape()
282 if (fHeadInstance->fRRect.isRect() && clipRRect.isRect()) { in clipToShape()
/external/skia/modules/sksg/src/
DSkSGRect.cpp55 if (fRRect.isRect()) { in onContains()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/testing/bitmapverifiers/
DRegionVerifier.java46 if (subRegionVerifier.region.isRect()) { in verify()

1234