Home
last modified time | relevance | path

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

/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DCameraHelper.java52 final double ASPECT_TOLERANCE = 0.1; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java52 final double ASPECT_TOLERANCE = 0.1; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java52 final double ASPECT_TOLERANCE = 0.1; in getOptimalVideoSize() local
77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCameraPreview.java268 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local
280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraFragment.java287 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local
300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java467 final float ASPECT_TOLERANCE = 0.1f; in configureSurfaces() local
480 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()
482 Math.abs(outputAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()