Searched refs:viewRatio (Results 1 – 2 of 2) sorted by relevance
315 final int viewRatio = (int)getRatio(viewSize.getWidth(), viewSize.getHeight()); in setTransformationMatrix() local316 if (viewRatio != 1) { in setTransformationMatrix()
244 float viewRatio = viewWidth / (float) viewHeight; in isDisplayModeAvailable() local245 return Math.abs(viewRatio - videoDisplayAspectRatio) >= DISPLAY_MODE_EPSILON; in isDisplayModeAvailable()