Searched refs:widthRatio (Results 1 – 5 of 5) sorted by relevance
82 final float widthRatio = (float) currentWidth / physicalWidth; in getPhysicalPixelDisplaySizeRatio() local84 return Math.min(widthRatio, heightRatio); in getPhysicalPixelDisplaySizeRatio()
272 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth; in startPreview() local275 transform.setScale(1, heightRatio/widthRatio); in startPreview()277 mPreviewTexHeight * (1 - heightRatio/widthRatio)/2); in startPreview()
271 val widthRatio = state.width.toFloat() / ghostedViewState.width in onLaunchAnimationProgress() constant273 val scale = min(widthRatio, heightRatio) in onLaunchAnimationProgress()
626 val widthRatio = state.width.toFloat() / width in applyStateToWindow() constant628 val scale = maxOf(widthRatio, heightRatio) in applyStateToWindow()
328 val widthRatio = in AnimatedContentInOverlay() constant340 val scale = min(widthRatio, heightRatio) in AnimatedContentInOverlay()