Searched refs:targetAspectRatio (Results 1 – 4 of 4) sorted by relevance
733 private final float targetAspectRatio; field in CameraManager.SizeComparator741 final float targetAspectRatio, in SizeComparator() argument745 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()
812 float targetAspectRatio; field in PhotoModule.ResizeBundle824 float targetAspectRatio = dataBundle.targetAspectRatio; in cropJpegDataToAspectRatio() local833 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()
228 final float targetAspectRatio = selectedSizes.large.width() in getSelectedCameraPictureSizes() local237 if (Math.abs(aspectRatio - targetAspectRatio) < 0.01) { in getSelectedCameraPictureSizes()
1050 final float targetAspectRatio, final int targetPixels) { in SizeComparator() argument1053 mTargetAspectRatio = targetAspectRatio; in SizeComparator()