Home
last modified time | relevance | path

Searched refs:displayBounds (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java112 Rect displayBounds = mActivity.getSystemService(WindowManager.class) in testCreateVirtualDisplayFromShell() local
117 ImageReader imageReader = ImageReader.newInstance(displayBounds.width(), in testCreateVirtualDisplayFromShell()
118 displayBounds.height(), HardwareBuffer.RGBA_8888, 1, in testCreateVirtualDisplayFromShell()
155 displayBounds.width(), displayBounds.height(), DEFAULT_DISPLAY, in testCreateVirtualDisplayFromShell()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java280 private VirtualDisplay createVirtualDisplay(Rect displayBounds, String methodName) { in createVirtualDisplay() argument
281 mImageReader = ImageReader.newInstance(displayBounds.width(), displayBounds.height(), in createVirtualDisplay()
292 displayBounds.width(), displayBounds.height(), in createVirtualDisplay()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java729 final Rect displayBounds = wm.getCurrentWindowMetrics().getBounds(); in testChangeWindowSize_transitionTimeIsChanged() local
730 params.width = displayBounds.width() / 2; in testChangeWindowSize_transitionTimeIsChanged()
731 params.height = displayBounds.height() / 2; in testChangeWindowSize_transitionTimeIsChanged()
744 params.width = displayBounds.width() / 4; in testChangeWindowSize_transitionTimeIsChanged()
745 params.height = displayBounds.height() / 4; in testChangeWindowSize_transitionTimeIsChanged()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java3324 Rect displayBounds = metrics.getBounds(); in testCameraOrientationAlignedWithDevice() local
3325 int widthPixels = displayBounds.width(); in testCameraOrientationAlignedWithDevice()
3326 int heightPixels = displayBounds.height(); in testCameraOrientationAlignedWithDevice()