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.java50 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DCameraHelper.java50 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize()
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DCameraHelper.java50 final double ASPECT_TOLERANCE = 0.1; in getOptimalPreviewSize() local
69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) 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/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/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DHdrViewfinderActivity.java324 final float ASPECT_TOLERANCE = 0.1f; in configureSurfaces() local
337 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()
339 Math.abs(outputAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()