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/v4/java/android/support/v4/widget/ |
D | FocusStrategy.java | 294 private static boolean isCandidate(@NonNull Rect srcRect, @NonNull Rect destRect, in isCandidate() argument 298 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 299 && srcRect.left > destRect.left; in isCandidate() 301 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 302 && srcRect.right < destRect.right; in isCandidate() 304 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 305 && srcRect.top > destRect.top; in isCandidate() 307 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 308 && 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()
|