Searched refs:destRect (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 560 boolean isCandidate(Rect srcRect, Rect destRect, int direction) { in isCandidate() argument 563 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 564 && srcRect.left > destRect.left; in isCandidate() 566 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 567 && srcRect.right < destRect.right; in isCandidate() 569 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom) in isCandidate() 570 && srcRect.top > destRect.top; in isCandidate() 572 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top) in isCandidate() 573 && srcRect.bottom < destRect.bottom; in isCandidate() 778 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/FrontEnd/ |
D | RequestedLayerState.cpp | 371 Rect destRect = destinationFrame; in getTransform() local 372 int32_t destW = destRect.width(); in getTransform() 373 int32_t destH = destRect.height(); in getTransform() 374 if (destRect.left < 0) { in getTransform() 375 destRect.left = 0; in getTransform() 376 destRect.right = destW; in getTransform() 378 if (destRect.top < 0) { in getTransform() 379 destRect.top = 0; in getTransform() 380 destRect.bottom = destH; in getTransform() 385 transform.set(static_cast<float>(destRect.left), static_cast<float>(destRect.top)); in getTransform() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | ScreenshotAnimationController.kt | 143 destRect: Rect, in <lambda>() 159 destRect.offset(startX.toInt() - locInScreen[0], startY.toInt() - locInScreen[1]) in <lambda>() 171 val destinationScale: Float = destRect.width() / scrollTransitionPreview.width.toFloat() in <lambda>() 178 scrollTransitionPreview.x = MathUtils.lerp(startX, destRect.left.toFloat(), t) in <lambda>() 179 scrollTransitionPreview.y = MathUtils.lerp(startY, destRect.top.toFloat(), t) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/ |
D | ScrollCaptureExecutor.kt | 69 destRect: Rect, in <lambda>()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 3044 Rect destRect = mDrawingState.destinationFrame; in updateGeometry() local 3045 int32_t destW = destRect.width(); in updateGeometry() 3046 int32_t destH = destRect.height(); in updateGeometry() 3047 if (destRect.left < 0) { in updateGeometry() 3048 destRect.left = 0; in updateGeometry() 3049 destRect.right = destW; in updateGeometry() 3051 if (destRect.top < 0) { in updateGeometry() 3052 destRect.top = 0; in updateGeometry() 3053 destRect.bottom = destH; in updateGeometry() 3058 t.set(destRect.left, destRect.top); in updateGeometry() [all …]
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 431 Rect destRect = static_cast<const Rect&>(destination); in ASurfaceTransaction_setGeometry() local 440 transaction->setDestinationFrame(surfaceControl, destRect); in ASurfaceTransaction_setGeometry()
|