Searched refs:displayW (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 511 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot0() local 518 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_0); in testGetRotatedBounds_top_rot0() 524 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot90() local 526 new Rect(0, displayW - 75, 100, displayW - 50), ZERO_RECT, ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot90() 531 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_90); in testGetRotatedBounds_top_rot90() 537 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot180() local 540 new Rect(displayW - 75, displayH - 100, displayW - 50, displayH - 0), in testGetRotatedBounds_top_rot180() 545 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_180); in testGetRotatedBounds_top_rot180() 551 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot270() local 558 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_270); in testGetRotatedBounds_top_rot270() [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteAnimationRunnerCompat.java | 97 float displayW = 0; in wrap() local 115 displayW = change.getEndAbsBounds().width(); in wrap() 126 counterLauncher.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap() 167 counterWallpaper.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
D | CounterRotatorHelper.java | 51 final int displayW = displayBounds.width(); in handleClosingChanges() local 70 displayW, displayH); in handleClosingChanges()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 1388 public static Rect computeSafeInsets(int displayW, int displayH, DisplayCutout cutout) { 1389 return computeSafeInsets(displayW, displayH, cutout.getWaterfallInsets(), 1393 private static Rect computeSafeInsets(int displayW, int displayH, Insets waterFallInsets, 1397 displayW, displayH, bounds[BOUNDS_POSITION_LEFT], Gravity.LEFT)); 1399 displayW, displayH, bounds[BOUNDS_POSITION_TOP], Gravity.TOP)); 1401 displayW, displayH, bounds[BOUNDS_POSITION_RIGHT], Gravity.RIGHT)); 1403 displayW, displayH, bounds[BOUNDS_POSITION_BOTTOM], Gravity.BOTTOM)); 1408 private static int findCutoutInsetForSide(int displayW, int displayH, 1419 case Gravity.RIGHT -> Math.max(inset, displayW - boundingRect.left);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardService.java | 165 float displayW = parent.getEndAbsBounds().width(); in wrap() local 167 counterWallpaper.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap()
|