Home
last modified time | relevance | path

Searched refs:inOutBounds (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java490 @NonNull Rect inOutBounds) { in getTaskBounds() argument
494 inOutBounds.setEmpty(); in getTaskBounds()
507 final int orientation = resolveOrientation(root, display, inOutBounds); in getTaskBounds()
517 if (hasInitialBounds || sizeMatches(inOutBounds, mTmpBounds)) { in getTaskBounds()
522 if (orientation == orientationFromBounds(inOutBounds)) { in getTaskBounds()
523 if (DEBUG) appendLog("freeform-size-orientation-match=" + inOutBounds); in getTaskBounds()
526 centerBounds(display, inOutBounds.height(), inOutBounds.width(), inOutBounds); in getTaskBounds()
527 if (DEBUG) appendLog("freeform-orientation-mismatch=" + inOutBounds); in getTaskBounds()
535 centerBounds(display, mTmpBounds.width(), mTmpBounds.height(), inOutBounds); in getTaskBounds()
536 adjustBoundsToFitInDisplay(display, inOutBounds); in getTaskBounds()
[all …]
DTaskStack.java387 boolean calculatePinnedBoundsForConfigChange(Rect inOutBounds) { in calculatePinnedBoundsForConfigChange() argument
393 mTmpRect2.set(inOutBounds); in calculatePinnedBoundsForConfigChange()
398 inOutBounds.set(mTmpRect3); in calculatePinnedBoundsForConfigChange()
402 if (animating && !inOutBounds.equals(mBoundsAnimationTarget)) { in calculatePinnedBoundsForConfigChange()
429 void calculateDockedBoundsForConfigChange(Configuration parentConfig, Rect inOutBounds) { in calculateDockedBoundsForConfigChange() argument
432 repositionSplitScreenStackAfterRotation(parentConfig, primary, inOutBounds); in calculateDockedBoundsForConfigChange()
434 snapDockedStackAfterRotation(parentConfig, cutout, inOutBounds); in calculateDockedBoundsForConfigChange()
436 final int newDockSide = getDockSide(parentConfig, inOutBounds); in calculateDockedBoundsForConfigChange()
457 Rect inOutBounds) { in repositionSplitScreenStackAfterRotation() argument
458 final int dockSide = getDockSide(mDisplayContent, parentConfig, inOutBounds); in repositionSplitScreenStackAfterRotation()
[all …]
DTaskRecord.java2011 Rect inOutBounds, Rect intersectBounds, Rect intersectInsets) { in intersectWithInsetsIfFits() argument
2012 if (inOutBounds.right <= intersectBounds.right) { in intersectWithInsetsIfFits()
2013 inOutBounds.right = in intersectWithInsetsIfFits()
2014 Math.min(intersectBounds.right - intersectInsets.right, inOutBounds.right); in intersectWithInsetsIfFits()
2016 if (inOutBounds.bottom <= intersectBounds.bottom) { in intersectWithInsetsIfFits()
2017 inOutBounds.bottom = in intersectWithInsetsIfFits()
2018 Math.min(intersectBounds.bottom - intersectInsets.bottom, inOutBounds.bottom); in intersectWithInsetsIfFits()
2020 if (inOutBounds.left >= intersectBounds.left) { in intersectWithInsetsIfFits()
2021 inOutBounds.left = in intersectWithInsetsIfFits()
2022 Math.max(intersectBounds.left + intersectInsets.left, inOutBounds.left); in intersectWithInsetsIfFits()
[all …]
DWindowManagerService.java6687 void intersectDisplayInsetBounds(Rect display, Rect insets, Rect inOutBounds) { in intersectDisplayInsetBounds() argument
6690 inOutBounds.intersect(mTmpRect3); in intersectDisplayInsetBounds()