Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DFloatingContentCoordinatorTest.kt135 assertFalse(Rect.intersects(rect100px, rect200px)) in testOnContentMoved_threeRects()
136 assertFalse(Rect.intersects(rect100px, rect300px)) in testOnContentMoved_threeRects()
137 assertFalse(Rect.intersects(rect200px, rect300px)) in testOnContentMoved_threeRects()
143 assertFalse(Rect.intersects(rect100px, rect200px)) in testOnContentMoved_threeRects()
144 assertFalse(Rect.intersects(rect100px, rect300px)) in testOnContentMoved_threeRects()
145 assertFalse(Rect.intersects(rect200px, rect300px)) in testOnContentMoved_threeRects()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp68 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() function
88 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
157 if (intersects(info.screenSize, totalMatrix, bounds)) { in prepareListAndChildren()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt199 content != fromContent && Rect.intersects(conflictingNewBounds, bounds) } in <lambda>()
344 if (!Rect.intersects(proposedNewBounds, exclusionRect)) { in <lambda>()
/frameworks/base/libs/hwui/
DRect.h103 bool intersects(float l, float t, float r, float b) const { in intersects() function
112 bool intersects(const Rect& r) const { return intersects(r.left, r.top, r.right, r.bottom); } in intersects() function
/frameworks/base/services/core/java/com/android/server/timedetector/
DServerFlags.java185 if (intersects(listenerEntry.getValue(), properties.getKeyset())) { in handlePropertiesChanged()
192 private static boolean intersects(@NonNull Set<String> one, @NonNull Set<String> two) { in intersects() method in ServerFlags
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp116 } else if (!Range::intersects(left, right)) { in mergeRanges()
133 while (Range::intersects(merged, left) || Range::intersects(merged, right)) { in mergeRanges()
134 if (Range::intersects(merged, left)) { in mergeRanges()
DMeasuredText.cpp292 if (!Range::intersects(range, runRange)) { in buildLayout()
312 if (!Range::intersects(range, runRange)) { in getBounds()
328 if (!Range::intersects(range, runRange)) { in getExtent()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java95 if (!Rect.intersects(inOutRect, windowRect)) { in transformToWindowSpaceRect()
/frameworks/minikin/include/minikin/
DRange.h72 inline static bool intersects(const Range& left, const Range& right) { in intersects() function
/frameworks/base/graphics/java/android/graphics/
DRectF.java423 public boolean intersects(float left, float top, float right, in intersects() method in RectF
439 public static boolean intersects(@NonNull RectF a, @NonNull RectF b) { in intersects() method in RectF
DRect.java610 public boolean intersects(int left, int top, int right, int bottom) { in intersects() method in Rect
624 public static boolean intersects(@NonNull Rect a, @NonNull Rect b) { in intersects() method in Rect
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt371 return sbRect.intersects(0, cutoutRect.top, currentWidth, cutoutRect.bottom) in shareShortEdge()
374 return sbRect.intersects(cutoutRect.left, 0, cutoutRect.right, currentHeight) in shareShortEdge()
/frameworks/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/base/services/core/java/com/android/server/wm/
DLetterbox.java141 } else if (!Rect.intersects(surfaceRect, rect)) { in notIntersectsOrFullyContains()
DDisplayPolicy.java2694 return source != null && Rect.intersects(win.getFrame(), source.getFrame());
3064 return Rect.intersects(targetWindow.getFrame(), navBarWindow.getFrame());
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DRecyclerViewCaptureHelperTest.java344 if (!Rect.intersects(localVisible, requested)) { in assertAvailableAreaPartiallyVisible()
DScrollViewCaptureHelperTest.java360 if (!Rect.intersects(captured, requestRect)) { in assertRequestedRectPartiallyVisible()
/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/magnification/
DFullScreenMagnificationController.java381 if (!magnifiedFrame.intersects(left, top, right, bottom)) { in requestRectangleOnScreen()
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java652 public boolean intersects(long start, long end) { in intersects() method in NetworkStatsHistory
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java428 && (RectF.intersects(candidate, existingRectangle) in mergeRectangleIntoList()
DEditor.java5269 return Rect.intersects(handleRect, magnifierRect); in handleOverlapsMagnifier()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1233 if (Rect.intersects(visibleRectArray[i], visibleRectArray[j])) { in onMeasure()
/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);

12