Home
last modified time | relevance | path

Searched refs:cropSize (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java720 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument
722 checkNotNull(cropSize, "cropSize must not be null"); in getZoomRatio()
723 checkArgumentPositive(cropSize.getWidth(), "cropSize.width must be positive"); in getZoomRatio()
724 checkArgumentPositive(cropSize.getHeight(), "cropSize.height must be positive"); in getZoomRatio()
726 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth(); in getZoomRatio()
727 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight(); in getZoomRatio()