Home
last modified time | relevance | path

Searched refs:displaySession (Results 1 – 9 of 9) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/layout/
DExtensionWindowLayoutComponentTest.java192 try (DisplayMetricsSession displaySession = new DisplayMetricsSession(DEFAULT_DISPLAY)) { in testWindowLayoutComponent_onWindowLayoutChangeListener_windowContext() argument
194 changeDisplayMetricThenVerifyWindowLayout(context, displaySession); in testWindowLayoutComponent_onWindowLayoutChangeListener_windowContext()
207 try (DisplayMetricsSession displaySession = new DisplayMetricsSession(DEFAULT_DISPLAY)) { in testWindowLayoutComponent_onWindowLayoutChangeListener_wrappedWindowContext() argument
215 changeDisplayMetricThenVerifyWindowLayout(wrappedContext, displaySession); in testWindowLayoutComponent_onWindowLayoutChangeListener_wrappedWindowContext()
396 try (DisplayMetricsSession displaySession = new DisplayMetricsSession(DEFAULT_DISPLAY)) { in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates() argument
412 displaySession.changeDisplayMetrics(displayResizeRatio, 1.0 /* densityRatio */); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()
439 displaySession.restoreDisplayMetrics(); in testGetWindowLayoutInfo_displayMetricsChanged_windowLayoutUpdates()
892 Context context, DisplayMetricsSession displaySession) throws Exception { in changeDisplayMetricThenVerifyWindowLayout() argument
910 displaySession.changeDisplayMetrics( in changeDisplayMetricThenVerifyWindowLayout()
926 displaySession.restoreDisplayMetrics(); in changeDisplayMetricThenVerifyWindowLayout()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDetectorTest.java191 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testRecognizeGesturePathOnVirtualDisplay() argument
192 final int displayId = displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in testRecognizeGesturePathOnVirtualDisplay()
442 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testVerifyGestureTouchEventOnVirtualDisplay() argument
443 final int displayId = displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in testVerifyGestureTouchEventOnVirtualDisplay()
514 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testDispatchGesture_privateDisplay_gestureCancelled() argument
515 final int displayId = displaySession.createDisplayWithDefaultDisplayMetricsAndWait in testDispatchGesture_privateDisplay_gestureCancelled()
DAccessibilityTakeScreenshotTest.java180 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult() argument
182 displaySession.createDisplayWithDefaultDisplayMetricsAndWait(mContext, in testTakeScreenshotOnVirtualDisplay_GetScreenshotResult()
204 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testTakeScreenshotOnPrivateDisplay_GetErrorCode() argument
206 displaySession.createDisplayWithDefaultDisplayMetricsAndWait(mContext, in testTakeScreenshotOnPrivateDisplay_GetErrorCode()
DAccessibilityOverlayTest.java462 try (DisplayUtils.VirtualDisplaySession displaySession = in addOverlayToVirtualDisplayAndCheck() argument
465 displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in addOverlayToVirtualDisplayAndCheck()
DAccessibilityWindowReportingTest.java274 try (VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() argument
276 displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
DAccessibilityWindowQueryTest.java632 try (final VirtualDisplaySession displaySession = new VirtualDisplaySession()) { in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending() argument
634 displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in testGetWindowsOnAllDisplays_resultIsSortedByLayerDescending()
DAccessibilityDisplayProxyTest.java460 try (DisplayUtils.VirtualDisplaySession displaySession = in testRegisterAccessibilityProxy_withNonDeviceDisplay_throwsSecurityException() argument
463 displaySession.createDisplayWithDefaultDisplayMetricsAndWait( in testRegisterAccessibilityProxy_withNonDeviceDisplay_throwsSecurityException()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplayImeTests.java164 var displaySession = createManagedVirtualDisplaySession()) { in testFallbackImmMaintainsParameters()
165 final var newDisplay = displaySession.setSimulateDisplay(true).createDisplay(); in testFallbackImmMaintainsParameters()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java923 try (DisplayMetricsSession displaySession = new DisplayMetricsSession(displayId)) {
947 displaySession.changeDisplayMetrics(resizeRatio /* sizeRatio */,
995 displaySession.restoreDisplayMetrics();