Searched refs:maxOffset (Results 1 – 2 of 2) sorted by relevance
87 float maxOffset = Collections.max(mOffsetMagnitudes); in verify() local88 boolean pass = maxOffset < (mMaximumOffset * (1.0 + ALLOWED_ERROR_PERCENT)); in verify()
764 final int maxOffset = maxAvailableHeight; in testGetMaxAvailableHeight() local767 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()769 assertTrue(maxAvailableHeightWithMaxOffset <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()772 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()777 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()778 availableBelowTopAnchor - maxOffset / 2)); in testGetMaxAvailableHeight()792 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()795 <= availableAboveTopAnchor + maxOffset); in testGetMaxAvailableHeight()800 maxOffset / 2, in testGetMaxAvailableHeight()805 availableAboveTopAnchor + maxOffset / 2, in testGetMaxAvailableHeight()[all …]