Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/appCompatViewSandboxAllowed/src/android/server/wm/allowsandboxingviewboundsapis/
DTestCompatAllowViewSandboxActivity.java77 final Rect visibleDisplayFrame = new Rect(); in onDraw() local
78 mView.getWindowVisibleDisplayFrame(visibleDisplayFrame); in onDraw()
90 && visibleDisplayFrame.left == 0 in onDraw()
96 && visibleDisplayFrame.left > 0 in onDraw()
103 Log.e(TAG, "visibleDisplayFrame " + visibleDisplayFrame); in onDraw()
/cts/tests/framework/base/windowmanager/appCompatViewSandboxOptout/src/android/server/wm/optoutsandboxingviewboundsapis/
DTestCompatViewSandboxOptOutActivity.java75 final Rect visibleDisplayFrame = new Rect(); in onDraw() local
76 mView.getWindowVisibleDisplayFrame(visibleDisplayFrame); in onDraw()
93 && visibleDisplayFrame.left > 0 in onDraw()
100 Log.e(TAG, "left must be > 0: actual visibleDisplayFrame " + visibleDisplayFrame); in onDraw()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java813 final Rect visibleDisplayFrame = getVisibleDisplayFrame(upperAnchorView); in testGetMaxAvailableHeight() local
816 final int bottomDecorationHeight = displayFrame.bottom - visibleDisplayFrame.bottom; in testGetMaxAvailableHeight()
818 visibleDisplayFrame.bottom - getViewBottom(upperAnchorView); in testGetMaxAvailableHeight()
819 final int availableAboveTopAnchor = getLoc(upperAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
885 final int availableAboveLowerAnchor = getLoc(lowerAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
892 final int availableAboveMiddleAnchor = getLoc(middleAnchorView).y - visibleDisplayFrame.top; in testGetMaxAvailableHeight()
894 visibleDisplayFrame.bottom - getViewBottom(middleAnchorView); in testGetMaxAvailableHeight()
951 final Rect visibleDisplayFrame = getVisibleDisplayFrame(anchorView); in testGetMaxAvailableHeight_topAnchor_largeOffset() local
952 final int maxOffset = visibleDisplayFrame.bottom - getViewBottom(anchorView); in testGetMaxAvailableHeight_topAnchor_largeOffset()
955 final int distanceToTop = getLoc(anchorView).y - visibleDisplayFrame.top + offset; in testGetMaxAvailableHeight_topAnchor_largeOffset()
[all …]