Home
last modified time | relevance | path

Searched defs:aspectRatio (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java84 public Float aspectRatio; field in ResolutionUtil.ResolutionBucket
143 Float aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
153 Number aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
223 private static float fuzzAspectRatio(float aspectRatio) { in fuzzAspectRatio()
246 Float aspectRatio = (float) size.getWidth() / (float) size.getHeight(); in parseAvailableSizes() local
279 Size aspectRatio = reduce(size); in aspectRatioDescription() local
290 public static Size reduce(Size aspectRatio) { in reduce()
306 Size aspectRatio = reduce(size); in aspectRatioNumerator() local
319 Size aspectRatio = reduce(size); in getApproximateSize() local
395 Rational aspectRatio = getAspectRatio(size); in getLargestPictureSize() local
DResolutionSetting.java68 public void setPictureAspectRatio(CameraId cameraId, Rational aspectRatio) in setPictureAspectRatio()
149 final Rational aspectRatio = ResolutionUtil.ASPECT_RATIO_4x3; in getPictureSize() local
DSettingsUtil.java235 float aspectRatio = size.width() / (float) size.height(); in getSelectedCameraPictureSizes() local
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java135 public void updateAspectRatio(float aspectRatio) { in updateAspectRatio()
148 private void setAspectRatio(float aspectRatio) { in setAspectRatio()
189 public void updateTransformFullScreen(Matrix matrix, float aspectRatio) { in updateTransformFullScreen()
DVideoController.java38 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
DPhotoController.java55 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
DVideoUI.java106 float aspectRatio; in setPreviewSize() local
155 float aspectRatio = ratio > 1 ? ratio : 1 / ratio; in setAspectRatio() local
DCaptureLayoutHelper.java83 public void onPreviewAspectRatioChanged(float aspectRatio) { in onPreviewAspectRatioChanged()
/packages/services/Car/cpp/evs/support_library/
DConfigManager.h61 float getDisplayRightLocation(float aspectRatio) const { in getDisplayRightLocation()
65 float getDisplayLeftLocation(float aspectRatio) const { in getDisplayLeftLocation()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DFixedAspectSurfaceView.java37 private float aspectRatio; field in FixedAspectSurfaceView
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewStatusListener.java78 public void onPreviewAspectRatioChanged(float aspectRatio); in onPreviewAspectRatioChanged()
/packages/apps/Camera2/src/com/android/camera/widget/
DAspectRatioDialogLayout.java107 private void setAspectRatio(Rational aspectRatio) { in setAspectRatio()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DFixedRatioImageView.java56 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
/packages/services/Car/cpp/evs/apps/default/
DConfigManager.h70 float getDisplayRightLocation(float aspectRatio) const { in getDisplayRightLocation()
74 float getDisplayLeftLocation(float aspectRatio) const { in getDisplayLeftLocation()
/packages/apps/Camera2/src/com/android/camera/app/
DAppController.java213 public void updatePreviewAspectRatio(float aspectRatio); in updatePreviewAspectRatio()
223 public void updatePreviewTransformFullscreen(Matrix matrix, float aspectRatio); in updatePreviewTransformFullscreen()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java82 final float aspectRatio = (float) mCameraWidth / (float) mCameraHeight; in getHeightMeasureSpec() local
DCameraManager.java995 final float aspectRatio = BugleGservices.get().getFloat( in chooseBestPictureSize() local
1015 final float aspectRatio = pictureSize.width / (float) pictureSize.height; in chooseBestPreviewSize() local
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java104 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraPreview.java105 final float aspectRatio = (float) cameraWidth / (float) cameraHeight; in getHeightMeasureSpec() local
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModuleUI.java173 public void updatePreviewAspectRatio(float aspectRatio) { in updatePreviewAspectRatio()
/packages/apps/Camera2/src/com/android/camera/util/
DSize.java127 public float aspectRatio() { in aspectRatio() method in Size
/packages/apps/TV/src/com/android/tv/data/
DPreviewDataManager.java435 int aspectRatio = in doInBackground() local
603 PreviewProgramContent program, int aspectRatio) { in createPreviewProgramFromContent()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAsyncImageView.java338 final float aspectRatio = measuredWidth / (float) measuredHeight; in onMeasure() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java50 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java451 int aspectRatio; in getAspectRatioFromPosterArtUri() local

12