Home
last modified time | relevance | path

Searched refs:targetHeight (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java70 int targetHeight = h; in getOptimalVideoSize() local
79 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()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java70 int targetHeight = h; in getOptimalVideoSize() local
79 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()
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java70 int targetHeight = h; in getOptimalVideoSize() local
79 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()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java295 int targetHeight = h; in getOptimalPreviewSize() local
302 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()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java275 int targetHeight = h; in getOptimalPreviewSize() local
281 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()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoDecodeRunnable.java150 int targetHeight = mPhotoTask.getTargetHeight(); in run() local
177 int hScale = bitmapOptions.outHeight / targetHeight; in run()