Searched refs:beamsOverlap (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Car/RotaryController/src/com/android/car/rotary/ |
D | FocusFinder.java | 186 final boolean rect1InSrcBeam = beamsOverlap(direction, source, rect1); in beamBeats() 187 final boolean rect2InSrcBeam = beamsOverlap(direction, source, rect2); in beamBeats() 219 static boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap() method in FocusFinder
|
/packages/apps/Car/RotaryController/tests/robotests/src/com/android/car/rotary/ |
D | FocusFinderTest.java | 504 assertTrue(assertMsg, FocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsOverlap() 512 assertFalse(assertMsg, FocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsDontOverlap()
|