Home
last modified time | relevance | path

Searched refs:mTmpRect2 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTask.java87 private Rect mTmpRect2 = new Rect(); field in Task
424 getBounds(mTmpRect2); in alignToAdjustedBounds()
426 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom; in alignToAdjustedBounds()
427 mTmpRect2.offset(0, offsetY); in alignToAdjustedBounds()
429 mTmpRect2.offsetTo(adjustedBounds.left, adjustedBounds.top); in alignToAdjustedBounds()
433 setBounds(mTmpRect2); in alignToAdjustedBounds()
435 setOverrideDisplayedBounds(mTmpRect2); in alignToAdjustedBounds()
576 mTmpRect2.set(getBounds()); in adjustBoundsForDisplayChangeIfNeeded()
579 setBounds(mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
583 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
[all …]
DDockedStackDividerController.java114 private final Rect mTmpRect2 = new Rect(); field in DockedStackDividerController
170 mTmpRect2.set(0, 0, in getSmallestWidthDpForBounds()
173 final int orientation = mTmpRect2.width() <= mTmpRect2.height() in getSmallestWidthDpForBounds()
176 final int dockSide = getDockSide(mTmpRect, mTmpRect2, orientation, rotation); in getSmallestWidthDpForBounds()
188 mTmpRect2.width(), mTmpRect2.height(), getContentWidth()); in getSmallestWidthDpForBounds()
189 mDisplayContent.getDisplayPolicy().getStableInsetsLw(rotation, mTmpRect2.width(), in getSmallestWidthDpForBounds()
190 mTmpRect2.height(), displayCutout, mTmpRect3); in getSmallestWidthDpForBounds()
191 mService.intersectDisplayInsetBounds(mTmpRect2, mTmpRect3, mTmpRect); in getSmallestWidthDpForBounds()
743 mDisplayContent.getBounds(mTmpRect2); in isWithinDisplay()
744 return mTmpRect.intersect(mTmpRect2); in isWithinDisplay()
DTaskStack.java98 private Rect mTmpRect2 = new Rect(); field in TaskStack
391 getFinalAnimationBounds(mTmpRect2); in calculatePinnedBoundsForConfigChange()
393 mTmpRect2.set(inOutBounds); in calculatePinnedBoundsForConfigChange()
396 mTmpRect2, mTmpRect3); in calculatePinnedBoundsForConfigChange()
929 displayRect.width(), displayRect.height(), displayCutout, mTmpRect2); in getStackDockedModeBounds() local
935 mTmpRect2).getMiddleTarget().position; in getStackDockedModeBounds()
1187 final Rect contentBounds = mTmpRect2; in adjustForIME()
DActivityStack.java285 mTmpRect /* outStackBounds */, mTmpRect2 /* outTempTaskBounds */); in onParentChanged()
287 mTmpRect2, null, null, PRESERVE_WINDOWS); in onParentChanged() local
399 private final Rect mTmpRect2 = new Rect(); field in ActivityStack
519 createTaskStack(display.mDisplayId, onTop, mTmpRect2); in ActivityStack()
628 newBounds /* outStackBounds */, mTmpRect2 /* outTempTaskBounds */); in onConfigurationChanged()
645 newBounds /* outStackBounds */, mTmpRect2 /* outTempTaskBounds */); in onConfigurationChanged()
824 mTmpRect2.setEmpty(); in setWindowingModeInSurfaceTransaction()
827 mTmpRect2.setEmpty(); in setWindowingModeInSurfaceTransaction()
829 mTaskStack.getRawBounds(mTmpRect2); in setWindowingModeInSurfaceTransaction()
833 if (!Objects.equals(getRequestedOverrideBounds(), mTmpRect2)) { in setWindowingModeInSurfaceTransaction()
[all …]
DDisplayContent.java441 private final Rect mTmpRect2 = new Rect(); field in DisplayContent
2488 mTmpRect2.setEmpty(); in updateTouchExcludeRegion()
2493 mDisplayFrames.mContent, mTmpRect2); in updateTouchExcludeRegion()
2498 if (!mTmpRect2.isEmpty()) { in updateTouchExcludeRegion()
2499 mTouchExcludeRegion.op(mTmpRect2, Region.Op.UNION); in updateTouchExcludeRegion()
DWindowManagerService.java568 final Rect mTmpRect2 = new Rect(); field in WindowManagerService
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DWindowManagerProxy.java49 private final Rect mTmpRect2 = new Rect(); field in WindowManagerProxy
68 mTmpRect2.set(mTempDockedTaskRect);
76 mTmpRect2.isEmpty() ? null : mTmpRect2,