Home
last modified time | relevance | path

Searched refs:Intersects (Results 1 – 25 of 78) sorted by relevance

1234

/external/libchrome/ui/gfx/range/
Drange_unittest.cc24 EXPECT_TRUE(r1.Intersects(r1)); in TestContainsAndIntersects()
28 EXPECT_FALSE(r1.Intersects(r2)); in TestContainsAndIntersects()
31 EXPECT_FALSE(r2.Intersects(r1)); in TestContainsAndIntersects()
35 EXPECT_TRUE(r1.Intersects(r3)); in TestContainsAndIntersects()
36 EXPECT_TRUE(r3.Intersects(r1)); in TestContainsAndIntersects()
42 EXPECT_TRUE(r2.Intersects(r3)); in TestContainsAndIntersects()
43 EXPECT_TRUE(r3.Intersects(r2)); in TestContainsAndIntersects()
222 EXPECT_FALSE(invalid.Intersects(invalid)); in TYPED_TEST()
223 EXPECT_FALSE(invalid.Intersects(r1)); in TYPED_TEST()
225 EXPECT_FALSE(r1.Intersects(invalid)); in TYPED_TEST()
Drange_f.h67 constexpr bool Intersects(const RangeF& range) const { in Intersects() function
Drange.h97 constexpr bool Intersects(const Range& range) const { in Intersects() function
/external/skia/src/gpu/
DGrFixedClip.cpp19 if (!SkIRect::Intersects(fScissorState.rect(), pixelBounds)) { in preApply()
36 if (!SkIRect::Intersects(fScissorState.rect(), *bounds)) { in apply()
/external/skqp/tests/
DPathOpsBoundsTest.cpp38 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST()
46 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST()
DRTreeTest.cpp32 if (SkRect::Intersects(query, rects[i])) { in verify_query()
/external/skia/tests/
DPathOpsBoundsTest.cpp38 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST()
46 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST()
DRTreeTest.cpp32 if (SkRect::Intersects(query, rects[i])) { in verify_query()
/external/skia/docs/examples/
DIRect_Intersects.cpp7 … SkDebugf("%s intersection", SkIRect::Intersects({10, 40, 50, 80}, {30, 60, 70, 90}) ? "" : "no "); in draw()
DRect_Intersects.cpp7 … SkDebugf("%s intersection", SkRect::Intersects({10, 40, 50, 80}, {30, 60, 70, 90}) ? "" : "no "); in draw()
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dobject_detector.h109 inline bool Intersects(const Detection& other) { in Intersects() function
111 return bounding_box_.Intersects(other.bounding_box_); in Intersects()
/external/skia/src/core/
DSkRTree.cpp149 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) { in search()
156 if (SkRect::Intersects(node->fChildren[i].fBounds, query)) { in search()
DSkRect.cpp177 if (!R::Intersects(a, b)) { in subtract()
244 SkASSERT(!R::Intersects(*out, b)); in subtract()
/external/skqp/include/core/
DSkRect.h599 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() function
1274 static bool Intersects(SkScalar al, SkScalar at, SkScalar ar, SkScalar ab, in Intersects() function
1298 return Intersects(fLeft, fTop, fRight, fBottom, left, top, right, bottom); in intersects()
1308 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
1319 static bool Intersects(const SkRect& a, const SkRect& b) { in Intersects() function
1320 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
DSkRegion.h324 !SkIRect::Intersects(fBounds, rect); in quickReject()
336 !SkIRect::Intersects(fBounds, rgn.fBounds); in quickReject()
/external/skqp/src/core/
DSkRTree.cpp166 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) { in search()
173 if (SkRect::Intersects(node->fChildren[i].fBounds, query)) { in search()
DSkClipStack.cpp283 if (!SkRect::Intersects(this->getDeviceSpaceRect(), newR)) { in rectRectIntersectAllowed()
710 if (SkRect::Intersects(element->getBounds(), rect)) { in internalQuickContains()
735 if (SkRect::Intersects(element->getBounds(), rrect.getBounds())) { in internalQuickContains()
812 if (!SkRect::Intersects(prior->getBounds(), element.getBounds())) { in pushElement()
/external/skia/include/core/
DSkRegion.h322 !SkIRect::Intersects(fBounds, rect); in quickReject()
334 !SkIRect::Intersects(fBounds, rgn.fBounds); in quickReject()
DSkRect.h531 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() function
1109 static bool Intersects(SkScalar al, SkScalar at, SkScalar ar, SkScalar ab, in Intersects() function
1127 return Intersects(fLeft, fTop, fRight, fBottom, in intersects()
1138 static bool Intersects(const SkRect& a, const SkRect& b) { in Intersects() function
1139 return Intersects(a.fLeft, a.fTop, a.fRight, a.fBottom, in Intersects()
/external/skia/src/gpu/ccpr/
DGrCCClipPath.cpp29 SkASSERT(SkIRect::Intersects(fAccessRect, fPathDevIBounds));
/external/skqp/src/gpu/ops/
DGrClearOp.cpp20 if (clip.scissorEnabled() && !SkIRect::Intersects(clip.scissorRect(), rect)) { in Make()
DGrAAHairLinePathRenderer.cpp280 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
338 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
381 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
413 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
451 if (SkIRect::Intersects(devClipBounds, ibounds)) { in gather_lines_and_quads()
/external/skia/src/pathops/
DSkPathOpsBounds.h15 static bool Intersects(const SkPathOpsBounds& a, const SkPathOpsBounds& b) { in Intersects() function
/external/skqp/src/pathops/
DSkPathOpsBounds.h15 static bool Intersects(const SkPathOpsBounds& a, const SkPathOpsBounds& b) { in Intersects() function
/external/libchrome/ui/gfx/geometry/
Drect_f.cc93 bool RectF::Intersects(const RectF& rect) const { in Intersects() function in gfx::RectF
134 if (!Intersects(rect)) in Subtract()

1234