Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DSelfManagedAnswerVideoCallScreen.java50 private static final float ASPECT_TOLERANCE = 0.1f; field in SelfManagedAnswerVideoCallScreen
200 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in getOptimalSize()
202 Math.abs(bestCandidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in getOptimalSize()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java377 final double ASPECT_TOLERANCE = 0.001; in getOptimalPreviewSize() local
400 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize()
426 final double ASPECT_TOLERANCE = 0.001; in getOptimalVideoSnapshotPictureSize() local
434 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalVideoSnapshotPictureSize()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java597 final double ASPECT_TOLERANCE = 0.001; in getOptimalVideoSnapshotPictureSize() local
617 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) { in getOptimalVideoSnapshotPictureSize()