Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
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()
553 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_270); in testGetRotatedBounds_top_rot270()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInputChannelCompat.java57 /*@Surface.Rotation*/ int rotation, int displayW, int displayH) { in createRotationMatrix() argument
58 return MotionEvent.createRotateMatrix(rotation, displayW, displayH); in createRotationMatrix()
DRemoteAnimationRunnerCompat.java92 float displayH = 0; in toRemoteTransition() local
110 displayH = change.getEndAbsBounds().height(); in toRemoteTransition()
119 rotateDelta, displayW, displayH); in toRemoteTransition()
154 rotateDelta, displayW, displayH); in toRemoteTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DCounterRotatorHelper.java51 final int displayH = displayBounds.height(); in handleClosingChanges() local
69 displayW, displayH); in handleClosingChanges()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DRemoteTransitionAdapter.kt238 var displayH = 0f in adaptRemoteRunner() variable
261 displayH = change.endAbsBounds.height().toFloat() in adaptRemoteRunner()
274 displayH in adaptRemoteRunner()
314 displayH in adaptRemoteRunner()
/frameworks/base/core/java/android/view/
DDisplayCutout.java1203 public static Rect computeSafeInsets(int displayW, int displayH, DisplayCutout cutout) { in computeSafeInsets() argument
1204 if (displayW == displayH) { in computeSafeInsets()
1206 + displayH + " cutout=" + cutout); in computeSafeInsets()
1210 displayW, displayH, cutout.getBoundingRectLeft(), Gravity.LEFT)); in computeSafeInsets()
1212 displayW, displayH, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets()
1214 displayW, displayH, cutout.getBoundingRectRight(), Gravity.RIGHT)); in computeSafeInsets()
1216 displayW, displayH, cutout.getBoundingRectBottom(), Gravity.BOTTOM)); in computeSafeInsets()
1221 private static int findCutoutInsetForSide(int displayW, int displayH, Rect boundingRect, in findCutoutInsetForSide() argument
1232 return Math.max(inset, displayH - boundingRect.top); in findCutoutInsetForSide()