Searched refs:displayBounds (Results 1 – 8 of 8) sorted by relevance
161 public static Matrix getBitmapToDisplayMatrix(RectF imageBounds, RectF displayBounds) { in getBitmapToDisplayMatrix() argument163 CropDrawingUtils.setBitmapToDisplayMatrix(m, imageBounds, displayBounds); in getBitmapToDisplayMatrix()168 RectF displayBounds) { in setBitmapToDisplayMatrix() argument170 return m.setRectToRect(imageBounds, displayBounds, Matrix.ScaleToFit.CENTER); in setBitmapToDisplayMatrix()
218 RectF displayBounds) { in getScaledCropBounds() argument220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); in getScaledCropBounds()
73 final Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in getBottomSheetPeekHeight() local74 return (int) (displayBounds.height() * 0.60); in getBottomSheetPeekHeight()
509 final Rect displayBounds = metrics.getBounds(); in getDisplayBounds() local512 displayBounds.inset(displayInsets); in getDisplayBounds()514 return displayBounds; in getDisplayBounds()
277 Rect displayBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getAppWindowRect() local280 int rightX = displayBounds.width() - systemBarInsets.right; in getAppWindowRect()282 int bottomY = displayBounds.height() - systemBarInsets.bottom; in getAppWindowRect()
648 final Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in getBottomSheetPeekHeight() local649 return (int) (displayBounds.height() * BOTTOM_SHEET_PEEK_HEIGHT_PERCENTAGE); in getBottomSheetPeekHeight()
2262 final Rect displayBounds = getContext().getSystemService(WindowManager.class) in getRealDisplaySize() local2265 return new Point(displayBounds.width(), displayBounds.height()); in getRealDisplaySize()
603 Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in onCreate() local604 int displayWidth = displayBounds.width(); in onCreate()605 int displayHeight = displayBounds.height(); in onCreate()