Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionSetting.java87 supportedPictureSizes = ResolutionUtil.getDisplayableSizesFromSupported( in setPictureAspectRatio()
91 supportedPictureSizes = ResolutionUtil.filterBlackListedSizes(supportedPictureSizes, in setPictureAspectRatio()
95 ResolutionUtil.getLargestPictureSize(aspectRatio, supportedPictureSizes); in setPictureAspectRatio()
133 ResolutionUtil.isBlackListed(pictureSize, blacklist); in getPictureSize()
146 final Rational aspectRatio = ResolutionUtil.ASPECT_RATIO_4x3; in getPictureSize()
152 ResolutionUtil.filterBlackListedSizes( in getPictureSize()
156 ResolutionUtil.getLargestPictureSize(aspectRatio, supportedPictureSizes); in getPictureSize()
DPictureSizeLoader.java137 sizes = ResolutionUtil in computeSizesForCamera()
142 sizes = ResolutionUtil.filterBlackListedSizes(sizes, blacklisted); in computeSizesForCamera()
DCameraSettingsActivity.java523 Size approximateSize = ResolutionUtil.getApproximateSize(size); in getSizeSummaryString()
525 int numerator = ResolutionUtil.aspectRatioNumerator(approximateSize); in getSizeSummaryString()
526 int denominator = ResolutionUtil.aspectRatioDenominator(approximateSize); in getSizeSummaryString()
DSettingsUtil.java161 if (ResolutionUtil.NEXUS_5_LARGE_16_BY_9.equals(sizeSetting)) { in getPhotoSize()
162 return ResolutionUtil.NEXUS_5_LARGE_16_BY_9_SIZE; in getPhotoSize()
DResolutionUtil.java52 public class ResolutionUtil { class
/packages/apps/Camera2/src/com/android/camera/widget/
DAspectRatioDialogLayout.java25 import com.android.camera.settings.ResolutionUtil;
88 setAspectRatio(ResolutionUtil.ASPECT_RATIO_4x3); in updateSubviewReferences()
94 setAspectRatio(ResolutionUtil.ASPECT_RATIO_16x9); in updateSubviewReferences()
110 if (mAspectRatio.equals(ResolutionUtil.ASPECT_RATIO_4x3)) { in setAspectRatio()
114 } else if (mAspectRatio.equals(ResolutionUtil.ASPECT_RATIO_16x9)) { in setAspectRatio()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java34 import com.android.camera.settings.ResolutionUtil;
52 private static final Rational DEFAULT_ASPECT_RATIO = ResolutionUtil.ASPECT_RATIO_4x3;
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java65 import com.android.camera.settings.ResolutionUtil;
911 dataBundle.targetAspectRatio = ResolutionUtil.NEXUS_5_LARGE_16_BY_9_ASPECT_RATIO; in onPictureTaken()
1994 if (ResolutionUtil.NEXUS_5_LARGE_16_BY_9.equals(pictureSize)) { in updateParametersPictureSize()
DCameraActivity.java127 import com.android.camera.settings.ResolutionUtil;
1470 ResolutionUtil.getDisplayMetrics(this)); in onCreateTasks()