Home
last modified time | relevance | path

Searched refs:beamsOverlap (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java214 final boolean rect1InSrcBeam = beamsOverlap(direction, source, rect1); in beamBeats()
215 final boolean rect2InSrcBeam = beamsOverlap(direction, source, rect2); in beamBeats()
247 static boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap() method in FocusFinder
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java536 assertTrue(assertMsg, FocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsOverlap()
544 assertFalse(assertMsg, FocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsDontOverlap()