Searched refs:upperAnchorView (Results 1 – 1 of 1) sorted by relevance
742 final View upperAnchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight() local743 final Rect visibleDisplayFrame = getVisibleDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()744 final Rect displayFrame = getDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()748 visibleDisplayFrame.bottom - getViewBottom(upperAnchorView); in testGetMaxAvailableHeight()749 final int availableAboveTopAnchor = getLoc(upperAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()751 final int maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(upperAnchorView); in testGetMaxAvailableHeight()753 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 0, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()761 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 2); in testGetMaxAvailableHeight()767 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()772 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()[all …]