/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PhonePipKeepClearAlgorithm.java | 126 Rect tmpRect = new Rect(r); in findUnoccludedPosition() local 128 tmpRect.inset(-mKeepClearAreasPadding, -mKeepClearAreasPadding); in findUnoccludedPosition() 130 if (tryOffsetUp(outBounds, tmpRect, allowedBounds)) continue; in findUnoccludedPosition() 131 if (tryOffsetLeft(outBounds, tmpRect, allowedBounds)) continue; in findUnoccludedPosition() 132 if (tryOffsetDown(outBounds, tmpRect, allowedBounds)) continue; in findUnoccludedPosition() 133 if (tryOffsetRight(outBounds, tmpRect, allowedBounds)) continue; in findUnoccludedPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | ScreenshotShelfView.kt | 46 private val tmpRect = Rect() in <lambda>() constant 64 actionsContainer.getBoundsOnScreen(tmpRect) in <lambda>() 66 tmpRect.contains(ev2.rawX.toInt(), ev2.rawY.toInt()) in <lambda>() 197 view.getBoundsOnScreen(tmpRect) in <lambda>() 198 tmpRect.inset(padding, padding) in <lambda>() 199 this.op(tmpRect, Region.Op.UNION) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardOverlayView.java | 262 final Rect tmpRect = new Rect(); in isInTouchRegion() local 264 mPreviewBorder.getBoundsOnScreen(tmpRect); in isInTouchRegion() 265 tmpRect.inset( in isInTouchRegion() 268 touchRegion.op(tmpRect, Region.Op.UNION); in isInTouchRegion() 270 mActionContainerBackground.getBoundsOnScreen(tmpRect); in isInTouchRegion() 271 tmpRect.inset( in isInTouchRegion() 274 touchRegion.op(tmpRect, Region.Op.UNION); in isInTouchRegion() 276 mMinimizedPreview.getBoundsOnScreen(tmpRect); in isInTouchRegion() 277 tmpRect.inset( in isInTouchRegion() 280 touchRegion.op(tmpRect, Region.Op.UNION); in isInTouchRegion() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 275 final Rect tmpRect = new Rect(); in getSwipeRegion() local 278 mScreenshotPreview.getBoundsOnScreen(tmpRect); in getSwipeRegion() 279 tmpRect.inset(swipePadding, swipePadding); in getSwipeRegion() 280 swipeRegion.op(tmpRect, Region.Op.UNION); in getSwipeRegion() 281 mActionsContainerBackground.getBoundsOnScreen(tmpRect); in getSwipeRegion() 282 tmpRect.inset(swipePadding, swipePadding); in getSwipeRegion() 283 swipeRegion.op(tmpRect, Region.Op.UNION); in getSwipeRegion() 284 mDismissButton.getBoundsOnScreen(tmpRect); in getSwipeRegion() 285 swipeRegion.op(tmpRect, Region.Op.UNION); in getSwipeRegion() 289 messageContainer.getBoundsOnScreen(tmpRect); in getSwipeRegion() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TrustedPresentationListenerController.java | 248 Rect tmpRect = new Rect(); in computeTpl() local 262 tmpRect.set(windowHandle.frame); in computeTpl() 266 region.op(tmpRect, coveredRegionsAbove, Region.Op.DIFFERENCE); in computeTpl() 274 float fractionRendered = computeFractionRendered(region, new RectF(tmpRect), in computeTpl() 282 coveredRegionsAbove.op(tmpRect, Region.Op.UNION); in computeTpl() 284 windowHandle.name, tmpRect.toShortString(), coveredRegionsAbove); in computeTpl()
|
D | WindowState.java | 1021 final RectF tmpRect = new RectF(); in getRectsInScreenSpace() local 1024 tmpRect.set(r); in getRectsInScreenSpace() 1025 tmpMatrix.mapRect(tmpRect); in getRectsInScreenSpace() 1027 tmpRect.roundOut(curr); in getRectsInScreenSpace()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 300 Rect tmpRect = mPositionIconOutput; in positionIcon() local 301 getLineBounds(0, tmpRect); in positionIcon() 302 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top); in positionIcon()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 436 Rect tmpRect; in setViewProperties() local 437 properties.getClippingRectForFlags(clipFlags, &tmpRect); in setViewProperties() 438 clipRect = tmpRect.toSkRect(); in setViewProperties()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MagnificationModeSwitchTest.java | 606 final Rect tmpRect = new Rect(windowBounds); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition() local 607 tmpRect.scale(2); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition() 608 final Rect newWindowBounds = new Rect(tmpRect); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitLayout.java | 357 Rect tmpRect = new Rect(mRootBounds); in rotateTo() local 359 tmpRect.set(mRootBounds.top, mRootBounds.left, mRootBounds.bottom, mRootBounds.right); in rotateTo() 367 mRootBounds.set(tmpRect); in rotateTo()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 7637 final Rect tmpRect = getTempRect(); in dispatchScrollCaptureSearch() local 7650 tmpRect.set(localVisibleRect); in dispatchScrollCaptureSearch() 7659 tmpRect.offset(-dx, -dy); in dispatchScrollCaptureSearch() 7666 rectIsVisible = tmpRect.intersect(0, 0, child.getWidth(), child.getHeight()); in dispatchScrollCaptureSearch() 7670 child.dispatchScrollCaptureSearch(tmpRect, childWindowOffset, targets); in dispatchScrollCaptureSearch()
|
D | View.java | 20252 final RectF tmpRect = mAttachInfo.mTmpTransformRect; in getHitRect() local 20253 tmpRect.set(0, 0, getWidth(), getHeight()); in getHitRect() 20254 getMatrix().mapRect(tmpRect); // TODO: mRenderNode.mapRect(tmpRect) in getHitRect() 20255 outRect.set((int) tmpRect.left + mLeft, (int) tmpRect.top + mTop, in getHitRect() 20256 (int) tmpRect.right + mLeft, (int) tmpRect.bottom + mTop); in getHitRect()
|