Searched refs:visibleFrame (Results 1 – 2 of 2) sorted by relevance
94 final Rect visibleFrame = new Rect(); in testLayoutAfterRemovingFocus() local96 activity.getWindow().getDecorView().getWindowVisibleDisplayFrame(visibleFrame)); in testLayoutAfterRemovingFocus()97 assertFalse("Visible frame must not be empty.", visibleFrame.isEmpty()); in testLayoutAfterRemovingFocus()99 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_FULLSCREEN); in testLayoutAfterRemovingFocus()100 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_HIDE_NAVIGATION); in testLayoutAfterRemovingFocus()101 doTestLayoutAfterRemovingFocus(activity, visibleFrame, SYSTEM_UI_FLAG_HIDE_ALL); in testLayoutAfterRemovingFocus()
1739 Rect visibleFrame = new Rect(); in testClipToScreenClipsToInsets() local1740 parentWindowView.getWindowVisibleDisplayFrame(visibleFrame); in testClipToScreenClipsToInsets()1742 assertEquals(measuredWidth, visibleFrame.width()); in testClipToScreenClipsToInsets()1743 assertEquals(measuredHeight, visibleFrame.height()); in testClipToScreenClipsToInsets()