Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DFocusFinderHelper.java48 public boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap() method in FocusFinderHelper
49 return mFocusFinder.beamsOverlap(direction, rect1, rect2); in beamsOverlap()
DFocusFinder.java323 final boolean rect1InSrcBeam = beamsOverlap(direction, source, rect1); in beamBeats()
324 final boolean rect2InSrcBeam = beamsOverlap(direction, source, rect2); in beamBeats()
399 boolean beamsOverlap(int direction, Rect rect1, Rect rect2) { in beamsOverlap() method in FocusFinder
/frameworks/support/v4/java/android/support/v4/widget/
DFocusStrategy.java242 final boolean rect1InSrcBeam = beamsOverlap(direction, source, rect1); in beamBeats()
243 final boolean rect2InSrcBeam = beamsOverlap(direction, source, rect2); in beamBeats()
323 private static boolean beamsOverlap(@FocusRealDirection int direction, in beamsOverlap() method in FocusStrategy
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java479 assertTrue(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsOverlap()
486 assertFalse(assertMsg, mFocusFinder.beamsOverlap(direction, rect1, rect2)); in assertBeamsDontOverlap()