Home
last modified time | relevance | path

Searched refs:displayH (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
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()
540 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_180); in testGetRotatedBounds_top_rot180()
546 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot270() local
548 ZERO_RECT, ZERO_RECT, new Rect(displayH - 100, 50, displayH - 0, 75), ZERO_RECT, in testGetRotatedBounds_top_rot270()
559 int displayW = 500, displayH = 1000; in testGetRotatedBounds_top_rot90to180() local
[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.java97 float displayH = 0; in wrap() local
115 displayH = change.getEndAbsBounds().height(); in wrap()
126 displayH); in wrap()
167 displayH); in wrap()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DCounterRotatorHelper.java52 final int displayH = displayBounds.height(); 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()
1207 + displayH + " cutout=" + cutout); 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
1233 return Math.max(inset, displayH - boundingRect.top); in findCutoutInsetForSide()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java162 float displayH = parent.getEndAbsBounds().height(); in wrap() local
164 displayH); in wrap()