Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java931 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset() local
935 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset()
951 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration() local
954 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration()
1019 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor() local
1022 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor()
1036 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration() local
1039 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration()