Home
last modified time | relevance | path

Searched refs:ASPECT_TOLERANCE (Results 1 – 4 of 4) 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/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()