Searched refs:imageRatio (Results 1 – 1 of 1) sorted by relevance
422 float imageRatio = bounds.width() / (float) bounds.height(); in updateImageDimensions() local438 if (imageRatio > viewRatio) { in updateImageDimensions()441 imageHeight = (int) (previewHeight * viewRatio / imageRatio); in updateImageDimensions()450 imageWidth = (int) (previewWidth * imageRatio / viewRatio); in updateImageDimensions()454 mCropView.setImageWidth((int) (previewHeight * imageRatio)); in updateImageDimensions()