Searched refs:stableRect (Results 1 – 1 of 1) sorted by relevance
409 final Rect stableRect = new Rect(); in ignoreRequestedOrientationInFreeformWindows() local410 mStack.getDisplay().mDisplayContent.getStableRect(stableRect); in ignoreRequestedOrientationInFreeformWindows()419 Task.intersectWithInsetsIfFits(stableRect, stableRect, insets); in ignoreRequestedOrientationInFreeformWindows()421 final boolean isScreenPortrait = stableRect.width() <= stableRect.height(); in ignoreRequestedOrientationInFreeformWindows()422 final Rect bounds = new Rect(stableRect); in ignoreRequestedOrientationInFreeformWindows()425 final int newHeight = stableRect.width() - 10; in ignoreRequestedOrientationInFreeformWindows()426 bounds.top = stableRect.top + (stableRect.height() - newHeight) / 2; in ignoreRequestedOrientationInFreeformWindows()430 final int newWidth = stableRect.height() - 10; in ignoreRequestedOrientationInFreeformWindows()431 bounds.left = stableRect.left + (stableRect.width() - newWidth) / 2; in ignoreRequestedOrientationInFreeformWindows()448 final Rect stableRect = new Rect(); in ignoreRequestedOrientationInSplitWindows() local[all …]