Searched refs:destRect (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 549 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 552 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() 562 && srcRect.bottom < destRect.bottom; in isCandidate() 767 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/native/services/surfaceflinger/ |
D | BufferStateLayer.cpp | 327 Rect destRect = mDrawingState.destinationFrame; in updateGeometry() local 328 int32_t destW = destRect.width(); in updateGeometry() 329 int32_t destH = destRect.height(); in updateGeometry() 330 if (destRect.left < 0) { in updateGeometry() 331 destRect.left = 0; in updateGeometry() 332 destRect.right = destW; in updateGeometry() 334 if (destRect.top < 0) { in updateGeometry() 335 destRect.top = 0; in updateGeometry() 336 destRect.bottom = destH; in updateGeometry() 341 t.set(destRect.left, destRect.top); in updateGeometry() [all …]
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 392 Rect destRect = static_cast<const Rect&>(destination); in ASurfaceTransaction_setGeometry() local 401 transaction->setDestinationFrame(surfaceControl, destRect); in ASurfaceTransaction_setGeometry()
|