Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java812 final View upperAnchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight() local
813 final Rect visibleDisplayFrame = getVisibleDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()
814 final Rect displayFrame = getDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()
818 visibleDisplayFrame.bottom - getViewBottom(upperAnchorView); in testGetMaxAvailableHeight()
819 final int availableAboveTopAnchor = getLoc(upperAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
821 final int maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(upperAnchorView); in testGetMaxAvailableHeight()
823 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 0, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()
831 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 2); in testGetMaxAvailableHeight()
837 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()
842 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()
[all …]