Searched refs:cropSize (Results 1 – 1 of 1) sorted by relevance
720 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument722 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()