Home
last modified time | relevance | path

Searched refs:tmpRect (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPhonePipKeepClearAlgorithm.java126 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/
DScreenshotShelfView.kt46 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/
DClipboardOverlayView.java262 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/
DScreenshotView.java275 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/
DTrustedPresentationListenerController.java248 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()
DWindowState.java1021 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/
DIconMenuItemView.java300 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/
DRenderNodeDrawable.cpp436 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/
DMagnificationModeSwitchTest.java606 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/
DSplitLayout.java357 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/
DViewGroup.java7637 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()
DView.java20252 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()