Searched refs:fromBoundingRect (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/ |
D | WmDisplayCutoutTest.java | 21 import static android.view.DisplayCutout.fromBoundingRect; 55 fromBoundingRect(0, 0, 100, 20), 200, 400) in calculateRelativeTo_top() 64 fromBoundingRect(0, 0, 20, 100), 400, 200) in calculateRelativeTo_left() 73 fromBoundingRect(0, 180, 100, 200), 100, 200) in calculateRelativeTo_bottom() 82 fromBoundingRect(180, 0, 200, 100), 200, 100) in calculateRelativeTo_right() 91 fromBoundingRect(0, 0, 100, 20), 200, 400) in calculateRelativeTo_bounds() 100 fromBoundingRect(0, 0, 100, 20), 200, 400); in computeSafeInsets_top() 108 fromBoundingRect(0, 0, 20, 100), 400, 200); in computeSafeInsets_left() 116 fromBoundingRect(0, 180, 100, 200), 100, 200); in computeSafeInsets_bottom() 124 fromBoundingRect(180, 0, 200, 100), 200, 100); in computeSafeInsets_right()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 25 import static android.view.DisplayCutout.fromBoundingRect; 426 fromBoundingRect(r.left, r.top, r.right, r.bottom), null) in testDisplayCutout_rot0() 445 fromBoundingRect(r1.left, r1.top, r1.right, r1.bottom), null) in testDisplayCutout_rot90() 454 fromBoundingRect(r.left, r.top, r.right, r.bottom), null) in testDisplayCutout_rot90()
|
D | WindowFrameTests.java | 34 import static android.view.DisplayCutout.fromBoundingRect; 434 fromBoundingRect(500, 0, 550, 50), pf.width(), pf.height()); in testDisplayCutout() 456 fromBoundingRect(500, 0, 550, 50), pf.width(), pf.height()); in testDisplayCutout_tempInsetBounds()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 163 DisplayCutout.fromBoundingRect(50, 0, 75, 100).getBounds().getBounds()); in fromBoundingPolygon()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 327 public static DisplayCutout fromBoundingRect(int left, int top, int right, int bottom) { in fromBoundingRect() method in DisplayCutout
|