/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 506 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() 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 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/ |
D | InputChannelCompat.java | 57 /*@Surface.Rotation*/ int rotation, int displayW, int displayH) { in createRotationMatrix() argument 58 return MotionEvent.createRotateMatrix(rotation, displayW, displayH); in createRotationMatrix()
|
D | RemoteAnimationRunnerCompat.java | 91 float displayW = 0; in toRemoteTransition() local 109 displayW = change.getEndAbsBounds().width(); 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/ |
D | CounterRotatorHelper.java | 50 final int displayW = displayBounds.width(); in handleClosingChanges() local 69 displayW, displayH); in handleClosingChanges()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | RemoteTransitionAdapter.kt | 237 var displayW = 0f in adaptRemoteRunner() variable 260 displayW = change.endAbsBounds.width().toFloat() in adaptRemoteRunner() 273 displayW, in adaptRemoteRunner() 313 displayW, in adaptRemoteRunner()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 1203 public static Rect computeSafeInsets(int displayW, int displayH, DisplayCutout cutout) { in computeSafeInsets() argument 1204 if (displayW == displayH) { in computeSafeInsets() 1205 throw new UnsupportedOperationException("not implemented: display=" + displayW + "x" 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 1236 return Math.max(inset, displayW - boundingRect.left); in findCutoutInsetForSide()
|