Searched refs:cutoutPath (Results 1 – 1 of 1) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplayCutoutTests.java | 240 final Path cutoutPath = displayCutout.getCutoutPath(); in testDisplayCutout_CutoutPaths() 241 assertCutoutPath(LEFT, displayCutout.getBoundingRectLeft(), cutoutPath); in testDisplayCutout_CutoutPaths() 242 assertCutoutPath(TOP, displayCutout.getBoundingRectTop(), cutoutPath); in testDisplayCutout_CutoutPaths() 243 assertCutoutPath(RIGHT, displayCutout.getBoundingRectRight(), cutoutPath); in testDisplayCutout_CutoutPaths() 244 assertCutoutPath(BOTTOM, displayCutout.getBoundingRectBottom(), cutoutPath); in testDisplayCutout_CutoutPaths() 248 private void assertCutoutPath(String position, Rect cutoutRect, Path cutoutPath) { in assertCutoutPath() argument 255 intersected.op(cutoutPath, Path.Op.INTERSECT); in assertCutoutPath()
|