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.java89 supportedPictureSizes = ResolutionUtil.getDisplayableSizesFromSupported( in setPictureAspectRatio()
93 supportedPictureSizes = ResolutionUtil.filterDisallowedListedSizes(supportedPictureSizes, in setPictureAspectRatio()
97 ResolutionUtil.getLargestPictureSize(aspectRatio, supportedPictureSizes); in setPictureAspectRatio()
135 ResolutionUtil.isDisallowedListed(pictureSize, disallowedlist); in getPictureSize()
149 final Rational aspectRatio = ResolutionUtil.ASPECT_RATIO_4x3; in getPictureSize()
155 ResolutionUtil.filterDisallowedListedSizes( in getPictureSize()
159 ResolutionUtil.getLargestPictureSize(aspectRatio, supportedPictureSizes); in getPictureSize()
DPictureSizeLoader.java137 sizes = ResolutionUtil in computeSizesForCamera()
142 sizes = ResolutionUtil.filterDisallowedListedSizes(sizes, disallowedlisted); 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.java128 import com.android.camera.settings.ResolutionUtil;
1471 ResolutionUtil.getDisplayMetrics(this)); in onCreateTasks()