Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java733 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode() local
739 if (availableAreaWidth <= 0 || availableAreaHeight <= 0) { in applyDisplayMode()
743 + availableAreaHeight + ")"); in applyDisplayMode()
745 availableAreaRatio = (double) availableAreaWidth / availableAreaHeight; in applyDisplayMode()
753 int tvViewFrameTop = (mWindowHeight - availableAreaHeight) / 2; in applyDisplayMode()
757 layoutParams.height = availableAreaHeight; in applyDisplayMode()
761 layoutParams.height = availableAreaHeight; in applyDisplayMode()
770 layoutParams.width = (int) (availableAreaHeight * videoRatio); in applyDisplayMode()
771 layoutParams.height = availableAreaHeight; in applyDisplayMode()
777 layoutParams.width = (int) (availableAreaHeight * videoRatio); in applyDisplayMode()
[all …]