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.java723 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument
725 checkNotNull(cropSize, "cropSize must not be null"); in getZoomRatio()
726 checkArgumentPositive(cropSize.getWidth(), "cropSize.width must be positive"); in getZoomRatio()
727 checkArgumentPositive(cropSize.getHeight(), "cropSize.height must be positive"); in getZoomRatio()
729 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth(); in getZoomRatio()
730 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight(); in getZoomRatio()