Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java518 int availableAreaWidth = mWindowWidth - mTvViewStartMargin - mTvViewEndMargin; in applyDisplayMode() local
519 int availableAreaHeight = availableAreaWidth * mWindowHeight / mWindowWidth; in applyDisplayMode()
522 if (availableAreaWidth <= 0 || availableAreaHeight <= 0) { in applyDisplayMode()
528 + availableAreaWidth in applyDisplayMode()
533 availableAreaRatio = (float) availableAreaWidth / availableAreaHeight; in applyDisplayMode()
542 layoutParams.width = availableAreaWidth; in applyDisplayMode()
543 layoutParams.height = Math.round(availableAreaWidth / videoDisplayAspectRatio); in applyDisplayMode()
557 layoutParams.width = availableAreaWidth; in applyDisplayMode()
558 layoutParams.height = Math.round(availableAreaWidth / videoDisplayAspectRatio); in applyDisplayMode()
563 layoutParams.width = availableAreaWidth; in applyDisplayMode()
[all …]