/external/skia/src/core/ |
D | SkRegion.cpp | 174 } 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 …]
|
D | SkRasterClip.h | 45 bool isRect() const { in isRect() function 105 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 112 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) {
|
D | SkDevice.cpp | 564 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()
|
D | SkRRectPriv.h | 36 return rr.isRect() || SkRRectPriv::IsCircle(rr) || SkRRectPriv::IsSimpleCircular(rr); in EqualRadii()
|
D | SkRasterClip.cpp | 40 fIsRect = that.isRect(); in operator =() 185 if (this->isRect() && op == SkClipOp::kIntersect) { in op()
|
/external/skia/docs/examples/ |
D | RRect_isRect.cpp | 13 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint); 18 canvas->drawString(rrect.isRect() ? "rect" : "not rect", 64, 90, paint);
|
D | Region_isRect.cpp | 8 SkDebugf("%s: region is %s" "rect\n", label, region.isRect() ? "" : "not "); in draw()
|
D | Path_addRoundRect.cpp | 13 paint.setColor(path.isRect(nullptr) ? SK_ColorRED : path.isOval(nullptr) ? in draw()
|
D | Path_isRect.cpp | 11 path.isRect(&rect, &isClosed, &direction) ? in draw()
|
/external/skia/src/gpu/ganesh/geometry/ |
D | GrShape.h | 85 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()
|
D | GrStyledShape.h | 147 bool isRect() const { in isRect() function 149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect()); in isRect() 150 return fShape.isRect(); in isRect()
|
D | GrShape.cpp | 87 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/ |
D | SkRegion.h | 146 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/ |
D | AnalyticRRectRenderStep.cpp | 254 } 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/ |
D | ClipStack.cpp | 310 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/ |
D | Shape.h | 61 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/ |
D | AAClipTest.cpp | 122 } 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()
|
D | PathOpsBuilderTest.cpp | 37 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()
|
D | PathTest.cpp | 662 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/ |
D | ClipStack.cpp | 220 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/ |
D | ShadowNativeRegion.java | 133 protected boolean isRect() { in isRect() method in ShadowNativeRegion 134 return regionNatives.isRect(); in isRect()
|
/external/robolectric/nativeruntime/src/main/java/org/robolectric/nativeruntime/ |
D | RegionNatives.java | 51 public native boolean isRect(); in isRect() method in RegionNatives
|
/external/skia/src/gpu/ganesh/ops/ |
D | FillRRectOp.cpp | 237 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/ |
D | SkSGRect.cpp | 55 if (fRRect.isRect()) { in onContains()
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/testing/bitmapverifiers/ |
D | RegionVerifier.java | 46 if (subRegionVerifier.region.isRect()) { in verify()
|