Searched refs:destRect (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 372 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 375 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 376 && srcRect.left > destRect.left; in isCandidate() 378 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 379 && srcRect.right < destRect.right; in isCandidate() 381 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 382 && srcRect.top > destRect.top; in isCandidate() 384 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 385 && srcRect.bottom < destRect.bottom; in isCandidate() 590 private boolean isTouchCandidate(int x, int y, Rect destRect, int direction) { in isTouchCandidate() argument [all …]
|
D | FocusFinderHelper.java | 44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 295 private static boolean isCandidate(@NonNull Rect srcRect, @NonNull Rect destRect, in isCandidate() argument 299 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 300 && srcRect.left > destRect.left; in isCandidate() 302 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 303 && srcRect.right < destRect.right; in isCandidate() 305 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 306 && srcRect.top > destRect.top; in isCandidate() 308 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 309 && srcRect.bottom < destRect.bottom; in isCandidate()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 165 Rect destRect(destWidth, destHeight); in copySurfaceInto() local 172 .setModelViewMapUnitToRect(destRect) in copySurfaceInto()
|