Home
last modified time | relevance | path

Searched refs:intersects (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/libs/hwui/
DSnapshot.h53 return rect.intersects(dangerRects[0]) in areaRequiresRoundRectClip()
54 || rect.intersects(dangerRects[1]) in areaRequiresRoundRectClip()
55 || rect.intersects(dangerRects[2]) in areaRequiresRoundRectClip()
56 || rect.intersects(dangerRects[3]); in areaRequiresRoundRectClip()
DLayerBuilder.cpp38 bool intersects(const Rect& rect) const { in intersects() function in android::uirenderer::BatchBase
39 if (!rect.intersects(mBounds)) return false; in intersects()
42 if (rect.intersects(op->computedState.clippedBounds)) { in intersects()
132 if (intersects(op->computedState.clippedBounds)) return false; in canMergeWith()
225 if (overBatch->intersects(clippedBounds)) { in locateInsertIndex()
DShadowTessellator.cpp49 if (!localClip.intersects(ambientShadowBounds)) { in tessellateAmbientShadow()
100 if (!lightRect.intersects(casterBounds)) { in tessellateSpotShadow()
DRect.h135 bool intersects(float l, float t, float r, float b) const { in intersects() function
144 bool intersects(const Rect& r) const { in intersects() function
145 return intersects(r.left, r.top, r.right, r.bottom); in intersects()
DCanvasState.cpp259 if (!clipRect.intersects(r)) return true; in calculateQuickRejectForScissor()
287 if (!clipRect.intersects(r)) return true; in quickRejectConservative()
DBakedOpState.cpp60 if (CC_UNLIKELY(clipRect.isEmpty() || !clippedBounds.intersects(clipRect))) { in ResolvedRenderState()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsHistoryTest.java472 assertFalse(stats.intersects(10, 20)); in testIntersects()
473 assertFalse(stats.intersects(TEST_START + YEAR_IN_MILLIS, TEST_START + YEAR_IN_MILLIS + 1)); in testIntersects()
474 assertFalse(stats.intersects(Long.MAX_VALUE, Long.MIN_VALUE)); in testIntersects()
476 assertTrue(stats.intersects(Long.MIN_VALUE, Long.MAX_VALUE)); in testIntersects()
477 assertTrue(stats.intersects(10, TEST_START + YEAR_IN_MILLIS)); in testIntersects()
478 assertTrue(stats.intersects(TEST_START, TEST_START)); in testIntersects()
479 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, TEST_START + DAY_IN_MILLIS + 1)); in testIntersects()
480 assertTrue(stats.intersects(TEST_START + DAY_IN_MILLIS, Long.MAX_VALUE)); in testIntersects()
481 assertTrue(stats.intersects(TEST_START + 1, Long.MAX_VALUE)); in testIntersects()
483 assertFalse(stats.intersects(Long.MIN_VALUE, TEST_START - 1)); in testIntersects()
[all …]
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp77 inline static bool intersects(const Range& left, const Range& right) { in intersects() function
124 } else if (!Range::intersects(left, right)) { in mergeRanges()
139 while (Range::intersects(merged, left) || Range::intersects(merged, right)) { in mergeRanges()
140 if (Range::intersects(merged, left)) { in mergeRanges()
/frameworks/base/graphics/java/android/graphics/
DRectF.java417 public boolean intersects(float left, float top, float right, in intersects() method in RectF
433 public static boolean intersects(RectF a, RectF b) { in intersects() method in RectF
DRect.java497 public boolean intersects(int left, int top, int right, int bottom) { in intersects() method in Rect
511 public static boolean intersects(Rect a, Rect b) { in intersects() method in Rect
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; in quickReject()
217 regionDelegate.mArea.getBounds().intersects( in quickReject()
DRoundRectangle.java209 public boolean intersects(double x, double y, double w, double h) { in intersects() method in RoundRectangle
/frameworks/support/core-ui/java/android/support/v4/widget/
DExploreByTouchHelper.java880 final boolean intersects = mTempScreenRect.intersect(mTempVisibleRect); in createNodeForChild()
881 if (intersects) { in createNodeForChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java697 if (ob.intersects(p) && !DEBUG_IDDQD) {
1207 public boolean intersects(Player p) {
1263 public boolean intersects(Player p) {
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationController.java707 if (!magnifiedFrame.intersects(left, top, right, bottom)) { in requestRectangleOnScreen()
/frameworks/support/compat/java/android/support/v4/view/
DViewCompat.java1403 needInvalidateWorkaround = !parentRect.intersects(view.getLeft(), view.getTop(), in offsetLeftAndRight()
1429 needInvalidateWorkaround = !parentRect.intersects(view.getLeft(), view.getTop(), in offsetTopAndBottom()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java584 public boolean intersects(long start, long end) { in intersects() method in NetworkStatsHistory
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java684 if (!visibleWinFrame.intersects(boundsInScreen.left, boundsInScreen.top, in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1233 if (Rect.intersects(visibleRectArray[i], visibleRectArray[j])) { in onMeasure()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2994 if (!Rect.intersects(frame, stackBounds)) { in screenshotApplications()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11368 method public boolean intersects(int, int, int, int);
11369 method public static boolean intersects(android.graphics.Rect, android.graphics.Rect);
11408 method public boolean intersects(float, float, float, float);
11409 method public static boolean intersects(android.graphics.RectF, android.graphics.RectF);
47791 method public boolean intersects(java.util.BitSet);
/frameworks/base/api/
Dcurrent.txt13591 method public boolean intersects(int, int, int, int);
13592 method public static boolean intersects(android.graphics.Rect, android.graphics.Rect);
13631 method public boolean intersects(float, float, float, float);
13632 method public static boolean intersects(android.graphics.RectF, android.graphics.RectF);
63349 method public boolean intersects(java.util.BitSet);
Dsystem-current.txt14371 method public boolean intersects(int, int, int, int);
14372 method public static boolean intersects(android.graphics.Rect, android.graphics.Rect);
14411 method public boolean intersects(float, float, float, float);
14412 method public static boolean intersects(android.graphics.RectF, android.graphics.RectF);
67257 method public boolean intersects(java.util.BitSet);