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.cpp71 static bool intersects(const SkISize screenSize, const Matrix4& mat, const SkRect& bounds) { in intersects() function
91 return SkRect::Make(screenSize).intersects(SkRect::MakeLTRB(minX, minY, maxX, maxY)); in intersects()
165 if (intersects(info.screenSize, totalMatrix, bounds)) { in prepareListAndChildren()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt198 content != fromContent && Rect.intersects(conflictingNewBounds, bounds) } in <lambda>()
343 if (!Rect.intersects(proposedNewBounds, exclusionRect)) { in <lambda>()
/frameworks/base/libs/hwui/
DRect.h108 bool intersects(float l, float t, float r, float b) const { in intersects() function
117 bool intersects(const Rect& r) const { return intersects(r.left, r.top, r.right, r.bottom); } in intersects() function
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPhonePipKeepClearAlgorithm.java129 if (Rect.intersects(r, outBounds)) { in findUnoccludedPosition()
163 if (!Rect.intersects(rectToAvoid, tmp) && allowedBounds.contains(tmp)) { in tryOffset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt533 if (protectionRect?.intersects(cutoutRect) == true) { in getStatusBarContentBounds()
563 private fun Rect.intersects(other: Rect): Boolean = in Rect() method
564 intersects(other.left, other.top, other.right, other.bottom) in Rect()
634 return sbRect.intersects(0, cutoutRect.top, currentWidth, cutoutRect.bottom) in shareShortEdge()
637 return sbRect.intersects(cutoutRect.left, 0, cutoutRect.right, currentHeight) in shareShortEdge()
DLetterboxAppearanceCalculator.kt208 return this.intersects(other.left, other.top, other.right, other.bottom) in Rect()
/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.cpp360 if (!Range::intersects(range, runRange)) { in buildLayout()
380 if (!Range::intersects(range, runRange)) { in getBounds()
395 if (!Range::intersects(range, runRange)) { in getExtent()
408 if (!Range::intersects(range, runRange)) { in getLineMetrics()
/frameworks/minikin/include/minikin/
DRange.h73 inline static bool intersects(const Range& left, const Range& right) { in intersects() function
/frameworks/base/graphics/java/android/graphics/
DRectF.java424 public boolean intersects(float left, float top, float right, in intersects() method in RectF
440 public static boolean intersects(@NonNull RectF a, @NonNull RectF b) { in intersects() method in RectF
DRect.java619 public boolean intersects(int left, int top, int right, int bottom) { in intersects() method in Rect
633 public static boolean intersects(@NonNull Rect a, @NonNull Rect b) { in intersects() method in Rect
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipKeepClearAlgorithm.kt175 if (keepClearAreas.none { it.intersects(pipAnchorBounds) }) { in <lambda>()
196 keepClearAreas.filterTo(mutableSetOf()) { it.intersects(unstashBounds) } in <lambda>()
770 private fun Rect.intersects(other: Rect) = intersectsX(other) && intersectsY(other) in <lambda>() method in com.android.wm.shell.pip.tv.TvPipKeepClearAlgorithm
/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DAbsCaptureHelperTest.java352 if (!Rect.intersects(localVisible, requested)) { in assertAvailableAreaPartiallyVisible()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterbox.java167 } else if (!Rect.intersects(surfaceRect, rect)) { in notIntersectsOrFullyContains()
DImmersiveModeConfirmation.java408 final boolean intersectsTopCutout = topDisplayCutout.intersects( in onApplyWindowInsets()
DDisplayPolicy.java3065 if (Rect.intersects(bounds, source.getFrame())) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DImmersiveModeConfirmation.java485 final boolean intersectsTopCutout = topDisplayCutout.intersects( in onApplyWindowInsets()
/frameworks/base/core/java/android/view/
DInsetsController.java734 || !(Rect.intersects(mFrame, source1.getFrame())
735 || Rect.intersects(mFrame, source2.getFrame()))) {
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java438 && (RectF.intersects(candidate, existingRectangle) in mergeRectangleIntoList()
DEditor.java5554 return Rect.intersects(handleRect, magnifierRect); in handleOverlapsMagnifier()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationController.java535 if (!magnifiedFrame.intersects(left, top, right, bottom)) { in requestRectangleOnScreen()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1233 if (Rect.intersects(visibleRectArray[i], visibleRectArray[j])) { in onMeasure()
/frameworks/base/core/java/android/text/
DLayout.java207 RectF::intersects;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12