Home
last modified time | relevance | path

Searched defs:rect1 (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java162 static boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate()
213 static boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) { in beamBeats()
247 static boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap()
368 private static boolean containsOrIsContainedVertically(Rect rect1, Rect rect2) { in containsOrIsContainedVertically()
377 private static boolean containsOrIsContainedHorizontally(Rect rect1, Rect rect2) { in containsOrIsContainedHorizontally()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java156 final Rect rect1 = new Rect(0, 0, 20, 20); in testOverlapBeamsRightLeftUpToEdge() local
193 final Rect rect1 = new Rect(0, 0, 20, 20); in testOverlapBeamsUpDownUpToEdge() local
531 private void assertBeamsOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsOverlap()
539 private void assertBeamsDontOverlap(int direction, Rect rect1, Rect rect2) { in assertBeamsDontOverlap()
585 private void assertBeamBeats(int direction, Rect srcRect, Rect rect1, Rect rect2) { in assertBeamBeats()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHostView.java428 private static boolean isSameLocation(@NonNull RectF rect1, @Nullable RectF rect2, in isSameLocation()