Searched refs:targetHeight (Results 1 – 6 of 6) sorted by relevance
70 int targetHeight = h; in getOptimalVideoSize() local79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize()91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
295 int targetHeight = h; in getOptimalPreviewSize() local302 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()304 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()312 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()314 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
275 int targetHeight = h; in getOptimalPreviewSize() local281 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()283 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()291 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize()293 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
150 int targetHeight = mPhotoTask.getTargetHeight(); in run() local177 int hScale = bitmapOptions.outHeight / targetHeight; in run()