Home
last modified time | relevance | path

Searched refs:displayBounds (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropDrawingUtils.java161 public static Matrix getBitmapToDisplayMatrix(RectF imageBounds, RectF displayBounds) { in getBitmapToDisplayMatrix() argument
163 CropDrawingUtils.setBitmapToDisplayMatrix(m, imageBounds, displayBounds); in getBitmapToDisplayMatrix()
168 RectF displayBounds) { in setBitmapToDisplayMatrix() argument
170 return m.setRectToRect(imageBounds, displayBounds, Matrix.ScaleToFit.CENTER); in setBitmapToDisplayMatrix()
DCropMath.java218 RectF displayBounds) { in getScaledCropBounds() argument
220 m.setRectToRect(photoBounds, displayBounds, Matrix.ScaleToFit.FILL); in getScaledCropBounds()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java231 Rect displayBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getAppWindowRect() local
234 int rightX = displayBounds.width() - systemBarInsets.right; in getAppWindowRect()
236 int bottomY = displayBounds.height() - systemBarInsets.bottom; in getAppWindowRect()