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.java505 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode() local
508 if (availableAreaWidth <= 0 || availableAreaHeight <= 0) { in applyDisplayMode()
512 + availableAreaHeight + ")"); in applyDisplayMode()
514 availableAreaRatio = (float) availableAreaWidth / availableAreaHeight; in applyDisplayMode()
526 layoutParams.width = Math.round(availableAreaHeight * videoDisplayAspectRatio); in applyDisplayMode()
527 layoutParams.height = availableAreaHeight; in applyDisplayMode()
533 layoutParams.width = Math.round(availableAreaHeight * videoDisplayAspectRatio); in applyDisplayMode()
534 layoutParams.height = availableAreaHeight; in applyDisplayMode()
544 layoutParams.height = availableAreaHeight; in applyDisplayMode()
551 int tvViewFrameTop = (mWindowHeight - availableAreaHeight) / 2; in applyDisplayMode()