Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLayoutTests.java97 final Rect visibleFrame = new Rect(); in testLayoutAfterRemovingFocus() local
99 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(visibleFrame)); in testLayoutAfterRemovingFocus()
100 assertFalse("Visible frame must not be empty.", visibleFrame.isEmpty()); in testLayoutAfterRemovingFocus()
102 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_FULLSCREEN); in testLayoutAfterRemovingFocus()
103 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_HIDE_NAVIGATION); in testLayoutAfterRemovingFocus()
104 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_HIDE_ALL); in testLayoutAfterRemovingFocus()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java1787 Rect visibleFrame = new Rect(); in testClipToScreenClipsToInsets() local
1788 parentWindowView.getWindowVisibleDisplayFrame(visibleFrame); in testClipToScreenClipsToInsets()
1790 assertEquals(measuredWidth, visibleFrame.width()); in testClipToScreenClipsToInsets()
1791 assertEquals(measuredHeight, visibleFrame.height()); in testClipToScreenClipsToInsets()