Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitDisplayLayout.java80 tmpRect.inset(mDisplayLayout.nonDecorInsets()); in rotateTo()
81 config.windowConfiguration.setAppBounds(tmpRect); in rotateTo()
83 tmpRect.inset(mDisplayLayout.stableInsets()); in rotateTo()
248 Rect tmpRect = new Rect(); in getSmallestWidthDpForBounds() local
258 tmpRect.set(bounds); in getSmallestWidthDpForBounds()
272 tmpRect.intersect(insettedDisplay); in getSmallestWidthDpForBounds()
273 minWidth = Math.min(tmpRect.width(), minWidth); in getSmallestWidthDpForBounds()
284 tmpRect.inset(dl.nonDecorInsets()); in initSnapAlgorithmForRotation()
285 config.windowConfiguration.setAppBounds(tmpRect); in initSnapAlgorithmForRotation()
286 tmpRect.set(0, 0, dl.width(), dl.height()); in initSnapAlgorithmForRotation()
[all …]
/aosp12/frameworks/minikin/libs/minikin/
H A DBoundsCache.cpp30 MinikinRect tmpRect; in getBounds() local
36 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in getBounds()
37 tmpRect.offset(point.x, point.y); in getBounds()
38 pieceBounds.join(tmpRect); in getBounds()
H A DMeasuredText.cpp218 MinikinRect tmpRect; in operator ()() local
224 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in operator ()()
225 tmpRect.offset(point.x, point.y); in operator ()()
226 pieceBounds.join(tmpRect); in operator ()()
/aosp12/hardware/qcom/display/msm8084/libqdutils/
H A Dcb_utils.cpp60 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion() local
62 wormholeRegion.set(tmpRect); in getuiClearRegion()
72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() local
74 Region tmpRegion(tmpRect); in getuiClearRegion()
/aosp12/hardware/qcom/display/msm8226/libqdutils/
H A Dcb_utils.cpp60 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion() local
62 wormholeRegion.set(tmpRect); in getuiClearRegion()
72 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() local
74 Region tmpRegion(tmpRect); in getuiClearRegion()
/aosp12/hardware/qcom/display/msm8994/libqdutils/
H A Dcb_utils.cpp61 Rect tmpRect(displayFrame.left,displayFrame.top, in getuiClearRegion() local
63 wormholeRegion.set(tmpRect); in getuiClearRegion()
74 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right, in getuiClearRegion() local
76 Region tmpRegion(tmpRect); in getuiClearRegion()
/aosp12/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java300 Rect tmpRect = mPositionIconOutput; in positionIcon() local
301 getLineBounds(0, tmpRect); in positionIcon()
302 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top); in positionIcon()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotView.java274 final Rect tmpRect = new Rect(); in getTouchRegion() local
275 mScreenshotPreview.getBoundsOnScreen(tmpRect); in getTouchRegion()
276 tmpRect.inset((int) dpToPx(-SWIPE_PADDING_DP), (int) dpToPx(-SWIPE_PADDING_DP)); in getTouchRegion()
277 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion()
278 mActionsContainerBackground.getBoundsOnScreen(tmpRect); in getTouchRegion()
279 tmpRect.inset((int) dpToPx(-SWIPE_PADDING_DP), (int) dpToPx(-SWIPE_PADDING_DP)); in getTouchRegion()
280 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion()
281 mDismissButton.getBoundsOnScreen(tmpRect); in getTouchRegion()
282 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion()
285 mScrollingScrim.getBoundsOnScreen(tmpRect); in getTouchRegion()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowToken.java470 final Rect tmpRect = new Rect(); in getFixedRotationBarContentFrame() local
472 tmpRect.set(displayFrames.mInsetsState.getSource(InsetsState.ITYPE_NAVIGATION_BAR) in getFixedRotationBarContentFrame()
476 tmpRect.set(displayFrames.mInsetsState.getSource(InsetsState.ITYPE_STATUS_BAR) in getFixedRotationBarContentFrame()
479 tmpRect.intersect(displayFrames.mDisplayCutoutSafe); in getFixedRotationBarContentFrame()
480 return tmpRect; in getFixedRotationBarContentFrame()
H A DDisplayPolicy.java2952 final Rect tmpRect = new Rect();
2954 tmpRect.set(insetsState.getSource(InsetsState.ITYPE_NAVIGATION_BAR).getFrame());
2957 tmpRect.set(insetsState.getSource(InsetsState.ITYPE_STATUS_BAR).getFrame());
2959 tmpRect.intersect(mDisplayContent.mDisplayFrames.mDisplayCutoutSafe);
2960 return tmpRect;
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DRenderNodeDrawable.cpp409 Rect tmpRect; in setViewProperties() local
410 properties.getClippingRectForFlags(clipFlags, &tmpRect); in setViewProperties()
411 clipRect = tmpRect.toSkRect(); in setViewProperties()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DMagnificationModeSwitchTest.java520 final Rect tmpRect = new Rect(windowBounds); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition() local
521 tmpRect.scale(2); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition()
522 final Rect newWindowBounds = new Rect(tmpRect); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
H A DQuickstepTransitionManager.java1401 Rect tmpRect = new Rect(); in getFallbackClosingWindowAnimators() local
1431 tmpRect.set(target.screenSpaceBounds); in getFallbackClosingWindowAnimators()
1438 tmpRect.centerX(), in getFallbackClosingWindowAnimators()
1439 tmpRect.centerY()); in getFallbackClosingWindowAnimators()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspace.java2189 Rect tmpRect = new Rect(); in getPageAreaRelativeToDragLayer() local
2190 mLauncher.getDragLayer().getDescendantRectRelativeToSelf(boundingLayout, tmpRect); in getPageAreaRelativeToDragLayer()
2191 area.union(tmpRect); in getPageAreaRelativeToDragLayer()
/aosp12/frameworks/base/core/java/android/view/
H A DViewGroup.java7508 final Rect tmpRect = getTempRect(); in dispatchScrollCaptureSearch() local
7521 tmpRect.set(localVisibleRect); in dispatchScrollCaptureSearch()
7530 tmpRect.offset(-dx, -dy); in dispatchScrollCaptureSearch()
7537 rectIsVisible = tmpRect.intersect(0, 0, child.getWidth(), child.getHeight()); in dispatchScrollCaptureSearch()
7541 child.dispatchScrollCaptureSearch(tmpRect, childWindowOffset, targets); in dispatchScrollCaptureSearch()
H A DView.java18292 final RectF tmpRect = mAttachInfo.mTmpTransformRect; in getHitRect() local
18293 tmpRect.set(0, 0, getWidth(), getHeight()); in getHitRect()
18294 getMatrix().mapRect(tmpRect); // TODO: mRenderNode.mapRect(tmpRect) in getHitRect()
18295 outRect.set((int) tmpRect.left + mLeft, (int) tmpRect.top + mTop, in getHitRect()
18296 (int) tmpRect.right + mLeft, (int) tmpRect.bottom + mTop); in getHitRect()