Searched refs:minDiff (Results 1 – 5 of 5) sorted by relevance
67 double minDiff = Double.MAX_VALUE; in getOptimalVideoSize() local79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()87 minDiff = Double.MAX_VALUE; in getOptimalVideoSize()89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
273 double minDiff = Double.MAX_VALUE; in getOptimalPreviewSize() local281 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()283 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()289 minDiff = Double.MAX_VALUE; in getOptimalPreviewSize()291 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()293 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
293 double minDiff = Double.MAX_VALUE; in getOptimalPreviewSize() local302 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()304 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()310 minDiff = Double.MAX_VALUE; in getOptimalPreviewSize()312 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()314 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()