Searched refs:videoDisplayAspectRatio (Results 1 – 2 of 2) sorted by relevance
247 float videoDisplayAspectRatio = mTvView.getVideoDisplayAspectRatio(); in isDisplayModeAvailable() local248 if (viewWidth <= 0 || viewHeight <= 0 || videoDisplayAspectRatio <= 0f) { in isDisplayModeAvailable()254 + ", videoDisplayAspectRatio=" + videoDisplayAspectRatio in isDisplayModeAvailable()261 return Math.abs(viewRatio - videoDisplayAspectRatio) >= DISPLAY_MODE_EPSILON; in isDisplayModeAvailable()567 float videoDisplayAspectRatio = mPipView.getVideoDisplayAspectRatio(); in updatePipView() local568 if (videoDisplayAspectRatio <= 0f) { in updatePipView()571 width = (int) (height * videoDisplayAspectRatio); in updatePipView()605 float videoDisplayAspectRatio = mPipView.getVideoDisplayAspectRatio(); in updatePipView() local606 if (videoDisplayAspectRatio <= 0f) { in updatePipView()609 width = (int) (height * videoDisplayAspectRatio); in updatePipView()[all …]
453 public static String getAspectRatioString(float videoDisplayAspectRatio) { in getAspectRatioString() argument454 if (videoDisplayAspectRatio <= 0) { in getAspectRatioString()459 if (Math.abs((float) ratio.width / ratio.height - videoDisplayAspectRatio) < 0.05f) { in getAspectRatioString()