Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityRecordTests.java528 final Rect stableRect = new Rect(); in ignoreRequestedOrientationInFreeformWindows() local
538 Task.intersectWithInsetsIfFits(stableRect, stableRect, insets); in ignoreRequestedOrientationInFreeformWindows()
540 final boolean isScreenPortrait = stableRect.width() <= stableRect.height(); in ignoreRequestedOrientationInFreeformWindows()
541 final Rect bounds = new Rect(stableRect); in ignoreRequestedOrientationInFreeformWindows()
545 bounds.top = stableRect.top + (stableRect.height() - newHeight) / 2; in ignoreRequestedOrientationInFreeformWindows()
550 bounds.left = stableRect.left + (stableRect.width() - newWidth) / 2; in ignoreRequestedOrientationInFreeformWindows()
570 final Rect stableRect = new Rect(); in ignoreRequestedOrientationForResizableInSplitWindows() local
580 Task.intersectWithInsetsIfFits(stableRect, stableRect, insets); in ignoreRequestedOrientationForResizableInSplitWindows()
582 final boolean isScreenPortrait = stableRect.width() <= stableRect.height(); in ignoreRequestedOrientationForResizableInSplitWindows()
587 bounds.top = stableRect.top + (stableRect.height() - newHeight) / 2; in ignoreRequestedOrientationForResizableInSplitWindows()
[all …]