Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java82 public Float aspectRatio; field in ResolutionUtil.ResolutionBucket
141 Float aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
151 Number aspectRatio = bucket.aspectRatio; in getDisplayableSizesFromSupported() local
221 private static float fuzzAspectRatio(float aspectRatio) { in fuzzAspectRatio()
244 Float aspectRatio = (float) size.getWidth() / (float) size.getHeight(); in parseAvailableSizes() local
277 Size aspectRatio = reduce(size); in aspectRatioDescription() local
288 public static Size reduce(Size aspectRatio) { in reduce()
304 Size aspectRatio = reduce(size); in aspectRatioNumerator() local
317 Size aspectRatio = reduce(size); in getApproximateSize() local
393 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.java134 public void updateAspectRatio(float aspectRatio) { in updateAspectRatio()
147 private void setAspectRatio(float aspectRatio) { in setAspectRatio()
188 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()
DPhotoUI.java258 public void updatePreviewAspectRatio(float aspectRatio) { in updatePreviewAspectRatio()
/packages/services/Car/evs/app/
DConfigManager.h57 float getDisplayRightLocation(float aspectRatio) const { in getDisplayRightLocation()
61 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/widget/
DAspectRatioDialogLayout.java107 private void setAspectRatio(Rational aspectRatio) { in setAspectRatio()
/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewStatusListener.java78 public void onPreviewAspectRatioChanged(float aspectRatio); in onPreviewAspectRatioChanged()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DFixedRatioImageView.java56 public void setAspectRatio(float aspectRatio) { in setAspectRatio()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java44 float aspectRatio = width / (float) height; in wallpaperTravelToScreenWidthRatio() local
/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/TV/src/com/android/tv/util/images/
DImageLoader.java451 int aspectRatio; in getAspectRatioFromPosterArtUri() local

12