Home
last modified time | relevance | path

Searched refs:fromBoundingRect (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/utils/
DWmDisplayCutoutTest.java21 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/
DDisplayContentTests.java25 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()
DWindowFrameTests.java34 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/
DDisplayCutoutTest.java163 DisplayCutout.fromBoundingRect(50, 0, 75, 100).getBounds().getBounds()); in fromBoundingPolygon()
/frameworks/base/core/java/android/view/
DDisplayCutout.java327 public static DisplayCutout fromBoundingRect(int left, int top, int right, int bottom) { in fromBoundingRect() method in DisplayCutout