Home
last modified time | relevance | path

Searched refs:displayW (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DDisplayCutoutTest.java506 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot0() local
513 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_0); in testGetRotatedBounds_top_rot0()
519 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot90() local
521 new Rect(0, displayW - 75, 100, displayW - 50), ZERO_RECT, ZERO_RECT, ZERO_RECT, in testGetRotatedBounds_top_rot90()
526 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_90); in testGetRotatedBounds_top_rot90()
532 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot180() local
535 new Rect(displayW - 75, displayH - 100, displayW - 50, displayH - 0), in testGetRotatedBounds_top_rot180()
546 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot270() local
559 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot90to180() local
562 new Rect(displayW - 75, displayH - 100, displayW - 50, displayH - 0), in testGetRotatedBounds_top_rot90to180()
[all …]
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DInputChannelCompat.java57 /*@Surface.Rotation*/ int rotation, int displayW, int displayH) { in createRotationMatrix() argument
58 return MotionEvent.createRotateMatrix(rotation, displayW, displayH); in createRotationMatrix()
H A DRemoteAnimationRunnerCompat.java96 float displayW = 0; in wrap() local
114 displayW = change.getEndAbsBounds().width(); in wrap()
125 counterLauncher.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap()
166 counterWallpaper.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DCounterRotatorHelper.java51 final int displayW = displayBounds.width(); in handleClosingChanges() local
70 displayW, displayH); in handleClosingChanges()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplayCutout.java1204 public static Rect computeSafeInsets(int displayW, int displayH, DisplayCutout cutout) { in computeSafeInsets() argument
1205 if (displayW == displayH) { in computeSafeInsets()
1206 throw new UnsupportedOperationException("not implemented: display=" + displayW + "x" in computeSafeInsets()
1211 displayW, displayH, cutout.getBoundingRectLeft(), Gravity.LEFT)); in computeSafeInsets()
1213 displayW, displayH, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets()
1215 displayW, displayH, cutout.getBoundingRectRight(), Gravity.RIGHT)); in computeSafeInsets()
1217 displayW, displayH, cutout.getBoundingRectBottom(), Gravity.BOTTOM)); in computeSafeInsets()
1222 private static int findCutoutInsetForSide(int displayW, int displayH, Rect boundingRect, in findCutoutInsetForSide() argument
1237 return Math.max(inset, displayW - boundingRect.left); in findCutoutInsetForSide()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java161 float displayW = parent.getEndAbsBounds().width(); in wrap() local
163 counterWallpaper.setup(t, parent.getLeash(), rotateDelta, displayW, in wrap()