Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java224 for (float desiredAspectRatio : sDesiredAspectRatios) { in fuzzAspectRatio()
225 if ((Math.abs(aspectRatio - desiredAspectRatio)) < ASPECT_RATIO_TOLERANCE) { in fuzzAspectRatio()
226 return desiredAspectRatio; in fuzzAspectRatio()
374 public static Size getLargestPictureSize(Rational desiredAspectRatio, List<Size> sizes) { in getLargestPictureSize() argument
397 if (!hasSameAspectRatio(aspectRatio, desiredAspectRatio)) { in getLargestPictureSize()