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()
305 val widthRatio = state.width.toFloat() / ghostedViewState.width in onTransitionAnimationProgress() constant307 val scale = min(widthRatio, heightRatio) in onTransitionAnimationProgress()
1114 val widthRatio = state.width.toFloat() / width in applyStateToWindow() constant1116 val scale = maxOf(widthRatio, heightRatio) in applyStateToWindow()
330 val widthRatio = in AnimatedContentInOverlay() constant342 val scale = min(widthRatio, heightRatio) in AnimatedContentInOverlay()