Searched refs:maxOffset (Results 1 – 1 of 1) sorted by relevance
810 final int maxOffset = maxAvailableHeight; in testGetMaxAvailableHeight() local813 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 …]