Searched refs:maxOffset (Results 1 – 1 of 1) sorted by relevance
834 final int maxOffset = maxAvailableHeight; in testGetMaxAvailableHeight() local837 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()839 assertTrue(maxAvailableHeightWithMaxOffset <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()842 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()847 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()848 availableBelowTopAnchor - maxOffset / 2)); in testGetMaxAvailableHeight()862 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()865 <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()870 maxOffset / 2, in testGetMaxAvailableHeight()875 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()[all …]