Searched refs:windowBounds (Results 1 – 8 of 8) sorted by relevance
144 Rect windowBounds) throws InterruptedException { in assertMotionEventOnWindowCenter() argument150 final Point centerCoordRelativeToWindow = new Point(windowBounds.width() / 2, in assertMotionEventOnWindowCenter()151 windowBounds.height() / 2); in assertMotionEventOnWindowCenter()
336 Rect windowBounds = new Rect(0, 0, 200, 200); in testOnScrollCaptureSearch_withPadding() local358 parent.dispatchScrollCaptureSearch(windowBounds, windowOffset, receiver); in testOnScrollCaptureSearch_withPadding()
221 Rect windowBounds = windowMetrics.getBounds(); in setUp() local225 int navBarCenterY = windowBounds.bottom - (navBarInsets.bottom / 2); in setUp()
1644 final Rect windowBounds = wm.getCurrentWindowMetrics().getBounds(); in showTopWindowAndWaitForItToShowUp() local1648 WindowManager.LayoutParams.MATCH_PARENT, windowBounds.height() / 2); in showTopWindowAndWaitForItToShowUp()
946 Rect windowBounds = windowMetrics.getBounds();947 return new Size(windowBounds.width(), windowBounds.height());
985 Rect windowBounds = windowManager.getCurrentWindowMetrics().getBounds(); in findCommonPreviewSize() local987 int windowWidth = windowBounds.width(); in findCommonPreviewSize()988 int windowHeight = windowBounds.height(); in findCommonPreviewSize()992 windowWidth = windowBounds.height(); in findCommonPreviewSize()
3943 Rect windowBounds = windowMetrics.getBounds(); in getPreviewSizeBound() local3945 int windowHeight = windowBounds.height(); in getPreviewSizeBound()3946 int windowWidth = windowBounds.width(); in getPreviewSizeBound()3950 windowWidth = windowBounds.height(); in getPreviewSizeBound()5395 Rect windowBounds = windowMetrics.getBounds(); in getMaxPreviewSize() local5397 int width = windowBounds.width(); in getMaxPreviewSize()5398 int height = windowBounds.height(); in getMaxPreviewSize()5402 width = windowBounds.height(); in getMaxPreviewSize()
1736 Rect windowBounds = metrics.getBounds();1738 int width = windowBounds.width();1739 int height = windowBounds.height();1742 width = windowBounds.height();