Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java812 float targetAspectRatio; field in PhotoModule.ResizeBundle
824 float targetAspectRatio = dataBundle.targetAspectRatio; in cropJpegDataToAspectRatio() local
833 newHeight = (int) (originalWidth / targetAspectRatio); in cropJpegDataToAspectRatio()
836 newWidth = (int) (originalHeight / targetAspectRatio); in cropJpegDataToAspectRatio()
911 dataBundle.targetAspectRatio = ResolutionUtil.NEXUS_5_LARGE_16_BY_9_ASPECT_RATIO; in onPictureTaken()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java228 final float targetAspectRatio = selectedSizes.large.width() in getSelectedCameraPictureSizes() local
237 if (Math.abs(aspectRatio - targetAspectRatio) < 0.01) { in getSelectedCameraPictureSizes()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java1050 final float targetAspectRatio, final int targetPixels) { in SizeComparator() argument
1053 mTargetAspectRatio = targetAspectRatio; in SizeComparator()