Searched refs:viewRatio (Results 1 – 1 of 1) sorted by relevance
427 float viewRatio = previewWidth / (float) previewHeight; in updateImageDimensions() local438 if (imageRatio > viewRatio) { in updateImageDimensions()441 imageHeight = (int) (previewHeight * viewRatio / imageRatio); in updateImageDimensions()450 imageWidth = (int) (previewWidth * imageRatio / viewRatio); in updateImageDimensions()