Home
last modified time | relevance | path

Searched refs:isCandidate (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/
DFocusFinderHelper.java44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() method in FocusFinderHelper
45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()
DFocusFinder.java461 if (!isCandidate(source, rect1, direction)) { in isBetterCandidate()
467 if (!isCandidate(source, rect2, direction)) { in isBetterCandidate()
546 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() method in FocusFinder
/frameworks/support/customview/src/main/java/androidx/customview/widget/
DFocusStrategy.java203 if (!isCandidate(source, candidate, direction)) { in isBetterCandidate()
209 if (!isCandidate(source, currentBest, direction)) { in isBetterCandidate()
295 private static boolean isCandidate(@NonNull Rect srcRect, @NonNull Rect destRect, in isCandidate() method in FocusStrategy
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java529 assertFalse(assertMsg, mFocusFinder.isCandidate(src, dest, direction)); in assertIsNotCandidate()
550 assertTrue(assertMsg, mFocusFinder.isCandidate(src, dest, direction)); in assertDirectionIsCandidate()
/frameworks/base/config/
Dboot-image-profile.txt32555 HSPLandroid/view/FocusFinder;->isCandidate(Landroid/graphics/Rect;Landroid/graphics/Rect;I)Z