Searched refs:displayBounds (Results 1 – 3 of 3) 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()
231 Rect displayBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getAppWindowRect() local234 int rightX = displayBounds.width() - systemBarInsets.right; in getAppWindowRect()236 int bottomY = displayBounds.height() - systemBarInsets.bottom; in getAppWindowRect()