Searched refs:screenAspectRatio (Results 1 – 4 of 4) sorted by relevance
39 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>() constant49 var height = (width * screenAspectRatio).toInt() in <lambda>()52 width = (height / screenAspectRatio).toInt() in <lambda>()60 var width = (height / screenAspectRatio).toInt() in <lambda>()63 height = (width * screenAspectRatio).toInt() in <lambda>()
37 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>() constant48 (child.measuredHeight / screenAspectRatio).toInt().coerceAtMost(measuredWidth) in <lambda>()55 (childWidth * screenAspectRatio).toInt() in <lambda>()
36 val screenAspectRatio = ScreenSizeCalculator.getInstance().getScreenAspectRatio(context) in <lambda>() constant38 val height = (width * screenAspectRatio).toInt() in <lambda>()
604 float screenAspectRatio = (float) mCaptionLayout.getWidth() / mCaptionLayout.getHeight(); in getScreenColumnCount() local605 boolean isWideAspectRationScreen = screenAspectRatio > WIDE_SCREEN_ASPECT_RATIO_THRESHOLD; in getScreenColumnCount()