Searched refs:canvasWidth (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | PreviewPositionHelper.java | 62 int canvasWidth, int canvasHeight, boolean isLargeScreen, int currentRotation, in updateThumbnailMatrix() argument 79 if (canvasWidth == 0 || canvasHeight == 0 || scale == 0) { in updateThumbnailMatrix() 92 float canvasAspect = canvasWidth / (float) canvasHeight; in updateThumbnailMatrix() 120 targetH = canvasWidth; in updateThumbnailMatrix() 122 targetW = canvasWidth; in updateThumbnailMatrix()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | BackPanel.kt | 462 val canvasWidth = width in hasOverlappingRendering() constant 468 if (!isLeftPanel) canvas.scale(-1f, 1f, canvasWidth / 2.0f, 0f) in hasOverlappingRendering()
|
D | BackPanelController.kt | 1102 val canvasWidth = canvas.width.toFloat() in <lambda>() constant 1104 canvas.drawRect(0f, 0f, canvasWidth, canvasHeight, debugPaint) in <lambda>() 1108 val x = if (mView.isLeftPanel) x else canvasWidth - x in <lambda>()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 1051 public static void getNavigationBarRect(int canvasWidth, int canvasHeight, Rect systemBarInsets, in getNavigationBarRect() argument 1058 outRect.set(canvasWidth - size, 0, canvasWidth, canvasHeight); in getNavigationBarRect() 1062 outRect.set(0, canvasHeight - size, canvasWidth, canvasHeight); in getNavigationBarRect()
|