Home
last modified time | relevance | path

Searched refs:targetRatio (Results 1 – 5 of 5) sorted by relevance

/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java53 double targetRatio = (double) w / h; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java53 double targetRatio = (double) w / h; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java53 double targetRatio = (double) w / h; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java269 double targetRatio = (double) w / h; in getOptimalPreviewSize() local
280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java288 double targetRatio = (double) w / h; in getOptimalPreviewSize() local
300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()