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.java519 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode() local
522 if (availableAreaWidth <= 0 || availableAreaHeight <= 0) { in applyDisplayMode()
530 + availableAreaHeight in applyDisplayMode()
533 availableAreaRatio = (float) availableAreaWidth / availableAreaHeight; in applyDisplayMode()
546 layoutParams.width = Math.round(availableAreaHeight * videoDisplayAspectRatio); in applyDisplayMode()
547 layoutParams.height = availableAreaHeight; in applyDisplayMode()
553 layoutParams.width = Math.round(availableAreaHeight * videoDisplayAspectRatio); in applyDisplayMode()
554 layoutParams.height = availableAreaHeight; in applyDisplayMode()
564 layoutParams.height = availableAreaHeight; in applyDisplayMode()
571 int tvViewFrameTop = (mWindowHeight - availableAreaHeight) / 2; in applyDisplayMode()