Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java738 double videoRatio = 0; in applyDisplayMode() local
747 videoRatio = (double) mWindowWidth / mWindowHeight; in applyDisplayMode()
749 videoRatio = videoDisplayAspectRatio; in applyDisplayMode()
764 if (videoRatio < availableAreaRatio) { in applyDisplayMode()
767 layoutParams.height = (int) (availableAreaWidth / videoRatio); in applyDisplayMode()
770 layoutParams.width = (int) (availableAreaHeight * videoRatio); in applyDisplayMode()
775 if (videoRatio < availableAreaRatio) { in applyDisplayMode()
777 layoutParams.width = (int) (availableAreaHeight * videoRatio); in applyDisplayMode()
782 layoutParams.height = (int) (availableAreaWidth / videoRatio); in applyDisplayMode()