Searched refs:stableRect (Results 1 – 1 of 1) sorted by relevance
528 final Rect stableRect = new Rect(); in ignoreRequestedOrientationInFreeformWindows() local538 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() local580 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 …]