Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java810 final int maxOffset = maxAvailableHeight; in testGetMaxAvailableHeight() local
813 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()
815 assertTrue(maxAvailableHeightWithMaxOffset <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()
818 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()
823 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()
824 availableBelowTopAnchor - maxOffset / 2)); in testGetMaxAvailableHeight()
838 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()
841 <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()
846 maxOffset / 2, in testGetMaxAvailableHeight()
851 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()
[all …]