Searched refs:visibleFrame (Results 1 – 2 of 2) sorted by relevance
97 final Rect visibleFrame = new Rect(); in testLayoutAfterRemovingFocus() local99 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()
1787 Rect visibleFrame = new Rect(); in testClipToScreenClipsToInsets() local1788 parentWindowView.getWindowVisibleDisplayFrame(visibleFrame); in testClipToScreenClipsToInsets()1790 assertEquals(measuredWidth, visibleFrame.width()); in testClipToScreenClipsToInsets()1791 assertEquals(measuredHeight, visibleFrame.height()); in testClipToScreenClipsToInsets()