Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsLayoutTests.java88 final int[] locationOnScreen = new int[2]; in testSetFitInsetsTypesInner() local
89 childWindowRoot.getLocationOnScreen(locationOnScreen); in testSetFitInsetsTypesInner()
90 assertEquals(insets.left, locationOnScreen[0]); in testSetFitInsetsTypesInner()
91 assertEquals(insets.top, locationOnScreen[1]); in testSetFitInsetsTypesInner()
93 mainWindowRoot.getWidth() - locationOnScreen[0] - childWindowRoot.getWidth()); in testSetFitInsetsTypesInner()
95 mainWindowRoot.getHeight()- locationOnScreen[1] - childWindowRoot.getHeight()); in testSetFitInsetsTypesInner()
132 final int[] locationOnScreen = new int[2]; in testSetFitInsetsSidesInner() local
133 childWindowRoot.getLocationOnScreen(locationOnScreen); in testSetFitInsetsSidesInner()
134 assertEquals((sides & Side.LEFT) != 0 ? insets.left : 0, locationOnScreen[0]); in testSetFitInsetsSidesInner()
135 assertEquals((sides & Side.TOP) != 0 ? insets.top : 0, locationOnScreen[1]); in testSetFitInsetsSidesInner()
[all …]