Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java432 float currentAspectRatio = width * 1.0f / height; in constrainToAspectRatio() local
434 if (currentAspectRatio > aspectRatio) { in constrainToAspectRatio()
441 } else if (currentAspectRatio < aspectRatio) { in constrainToAspectRatio()