Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java971 float targetAspectRatio;
983 float targetAspectRatio = dataBundle.targetAspectRatio;
992 newHeight = (int) (originalWidth / targetAspectRatio);
995 newWidth = (int) (originalHeight / targetAspectRatio);
1071 dataBundle.targetAspectRatio = ResolutionUtil.NEXUS_5_LARGE_16_BY_9_ASPECT_RATIO;
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java248 final float targetAspectRatio = selectedSizes.large.width() in getSelectedCameraPictureSizes() local
257 if (Math.abs(aspectRatio - targetAspectRatio) < 0.01) { in getSelectedCameraPictureSizes()