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