Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java956 final int distanceToBottom = in testGetMaxAvailableHeight_topAnchor_largeOffset() local
959 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset()
976 final int distanceToBottom = displayFrame.bottom - getViewBottom(anchorView) - offset; in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration() local
978 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_topAnchor_largeOffset_ignoringBottomDecoration()
1044 final int distanceToBottom = visibleDisplayFrame.bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_middleAnchor() local
1046 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor()
1061 final int distanceToBottom = displayFrame.bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration() local
1063 final int expected = Math.max(distanceToTop, distanceToBottom); in testGetMaxAvailableHeight_middleAnchor_ignoreBottomDecoration()