Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java733 private final float targetAspectRatio; field in CameraManager.SizeComparator
741 final float targetAspectRatio, in SizeComparator() argument
745 this.targetAspectRatio = targetAspectRatio; in SizeComparator()
764 final float leftAspectRatioDiff = Math.abs(leftAspectRatio - targetAspectRatio); in compare()
765 final float rightAspectRatioDiff = Math.abs(rightAspectRatio - targetAspectRatio); in compare()
/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()