Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DFocusFinder.java368 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument
371 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate()
372 && srcRect.left > destRect.left; in isCandidate()
374 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate()
375 && srcRect.right < destRect.right; in isCandidate()
377 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate()
378 && srcRect.top > destRect.top; in isCandidate()
380 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate()
381 && srcRect.bottom < destRect.bottom; in isCandidate()
586 private boolean isTouchCandidate(int x, int y, Rect destRect, int direction) { in isTouchCandidate() argument
[all …]
DFocusFinderHelper.java44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument
45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()