Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java743 final Rect visibleDisplayFrame = getVisibleDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight() local
746 final int bottomDecorationHeight = displayFrame.bottom - visibleDisplayFrame.bottom; in testGetMaxAvailableHeight()
748 visibleDisplayFrame.bottom - getViewBottom(upperAnchorView); in testGetMaxAvailableHeight()
749 final int availableAboveTopAnchor = getLoc(upperAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
815 final int availableAboveLowerAnchor = getLoc(lowerAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
822 final int availableAboveMiddleAnchor = getLoc(middleAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
824 visibleDisplayFrame.bottom - getViewBottom(middleAnchorView); in testGetMaxAvailableHeight()
881 final Rect visibleDisplayFrame = getVisibleDisplayFrame(anchorView); in testGetMaxAvailableHeight_topAnchor_largeOffset() local
882 final int maxOffset = visibleDisplayFrame.bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_topAnchor_largeOffset()
885 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset()
[all …]