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.java788 final View upperAnchorView = mActivity.findViewById(R.id.anchor_upper); in testGetMaxAvailableHeight() local
789 final Rect visibleDisplayFrame = getVisibleDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()
790 final Rect displayFrame = getDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight()
794 visibleDisplayFrame.bottom - getViewBottom(upperAnchorView); in testGetMaxAvailableHeight()
795 final int availableAboveTopAnchor = getLoc(upperAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
797 final int maxAvailableHeight = mPopupWindow.getMaxAvailableHeight(upperAnchorView); in testGetMaxAvailableHeight()
799 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 0, IGNORE_BOTTOM_DECOR); in testGetMaxAvailableHeight()
807 mPopupWindow.getMaxAvailableHeight(upperAnchorView, 2); in testGetMaxAvailableHeight()
813 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset); in testGetMaxAvailableHeight()
818 mPopupWindow.getMaxAvailableHeight(upperAnchorView, maxOffset / 2); in testGetMaxAvailableHeight()
[all …]