Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/
H A DFocusFinder.java552 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate()
553 && srcRect.left > destRect.left; in isCandidate()
555 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate()
556 && srcRect.right < destRect.right; in isCandidate()
558 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate()
559 && srcRect.top > destRect.top; in isCandidate()
561 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate()
770 return destRect.left <= x && destRect.top <= y && y <= destRect.bottom; in isTouchCandidate()
772 return destRect.left >= x && destRect.top <= y && y <= destRect.bottom; in isTouchCandidate()
774 return destRect.top <= y && destRect.left <= x && x <= destRect.right; in isTouchCandidate()
[all …]
H A DFocusFinderHelper.java44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument
45 return mFocusFinder.isCandidate(srcRect, destRect, direction); in isCandidate()
/aosp14/frameworks/base/native/android/
H A Dsurface_control.cpp431 Rect destRect = static_cast<const Rect&>(destination); in ASurfaceTransaction_setGeometry() local
440 transaction->setDestinationFrame(surfaceControl, destRect); in ASurfaceTransaction_setGeometry()