Home
last modified time | relevance | path

Searched refs:displayBounds (Results 1 – 8 of 8) 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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DBottomSheetTestUtils.java73 final Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in getBottomSheetPeekHeight() local
74 return (int) (displayBounds.height() * 0.60); in getBottomSheetPeekHeight()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityUtil.java509 final Rect displayBounds = metrics.getBounds(); in getDisplayBounds() local
512 displayBounds.inset(displayInsets); in getDisplayBounds()
514 return displayBounds; in getDisplayBounds()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DActivityBlockingActivity.java277 Rect displayBounds = getWindowManager().getCurrentWindowMetrics().getBounds(); in getAppWindowRect() local
280 int rightX = displayBounds.width() - systemBarInsets.right; in getAppWindowRect()
282 int bottomY = displayBounds.height() - systemBarInsets.bottom; in getAppWindowRect()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java648 final Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in getBottomSheetPeekHeight() local
649 return (int) (displayBounds.height() * BOTTOM_SHEET_PEEK_HEIGHT_PERCENTAGE); in getBottomSheetPeekHeight()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java2262 final Rect displayBounds = getContext().getSystemService(WindowManager.class) in getRealDisplaySize() local
2265 return new Point(displayBounds.width(), displayBounds.height()); in getRealDisplaySize()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java603 Rect displayBounds = windowManager.getCurrentWindowMetrics().getBounds(); in onCreate() local
604 int displayWidth = displayBounds.width(); in onCreate()
605 int displayHeight = displayBounds.height(); in onCreate()