Home
last modified time | relevance | path

Searched refs:windowBounds (Results 1 – 8 of 8) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlInputReceiverTest.java144 Rect windowBounds) throws InterruptedException { in assertMotionEventOnWindowCenter() argument
150 final Point centerCoordRelativeToWindow = new Point(windowBounds.width() / 2, in assertMotionEventOnWindowCenter()
151 windowBounds.height() / 2); in assertMotionEventOnWindowCenter()
/cts/tests/tests/view/src/android/view/cts/
DViewGroup_ScrollCaptureTest.java336 Rect windowBounds = new Rect(0, 0, 200, 200); in testOnScrollCaptureSearch_withPadding() local
358 parent.dispatchScrollCaptureSearch(windowBounds, windowOffset, receiver); in testOnScrollCaptureSearch_withPadding()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java221 Rect windowBounds = windowMetrics.getBounds(); in setUp() local
225 int navBarCenterY = windowBounds.bottom - (navBarInsets.bottom / 2); in setUp()
DAccessibilityDisplayProxyTest.java1644 final Rect windowBounds = wm.getCurrentWindowMetrics().getBounds(); in showTopWindowAndWaitForItToShowUp() local
1648 WindowManager.LayoutParams.MATCH_PARENT, windowBounds.height() / 2); in showTopWindowAndWaitForItToShowUp()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java946 Rect windowBounds = windowMetrics.getBounds();
947 return new Size(windowBounds.width(), windowBounds.height());
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java985 Rect windowBounds = windowManager.getCurrentWindowMetrics().getBounds(); in findCommonPreviewSize() local
987 int windowWidth = windowBounds.width(); in findCommonPreviewSize()
988 int windowHeight = windowBounds.height(); in findCommonPreviewSize()
992 windowWidth = windowBounds.height(); in findCommonPreviewSize()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3943 Rect windowBounds = windowMetrics.getBounds(); in getPreviewSizeBound() local
3945 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() local
5397 int width = windowBounds.width(); in getMaxPreviewSize()
5398 int height = windowBounds.height(); in getMaxPreviewSize()
5402 width = windowBounds.height(); in getMaxPreviewSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1736 Rect windowBounds = metrics.getBounds();
1738 int width = windowBounds.width();
1739 int height = windowBounds.height();
1742 width = windowBounds.height();