Searched refs:videoRatio (Results 1 – 1 of 1) sorted by relevance
738 double videoRatio = 0; in applyDisplayMode() local747 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()