Searched refs:DISPLAY_0 (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationGestureHandlerTest.java | 76 private static final int DISPLAY_0 = MockWindowMagnificationConnection.TEST_DISPLAY; field in WindowMagnificationGestureHandlerTest 100 /** detectTripleTap= */true, /** detectShortcutTrigger= */true, DISPLAY_0); in setUp() 109 mWindowMagnificationManager.disableWindowMagnification(DISPLAY_0, true); in tearDown() 203 check(!isWindowMagnifierEnabled(DISPLAY_0), state); in assertIn() 210 check(isWindowMagnifierEnabled(DISPLAY_0), state); in assertIn() 217 check(isWindowMagnifierEnabled(DISPLAY_0), state); in assertIn() 223 check(isWindowMagnifierEnabled(DISPLAY_0), state); in assertIn() 256 TouchEventGenerator.twoPointersDownEvents(DISPLAY_0, in goFromStateIdleTo() 306 mWindowMagnificationManager.disableWindowMagnification(DISPLAY_0, false); in returnToNormalFrom() 364 return TouchEventGenerator.downEvent(DISPLAY_0, x, y); in downEvent() [all …]
|
H A D | MagnificationGestureHandlerTest.java | 49 private static final int DISPLAY_0 = 0; field in MagnificationGestureHandlerTest 61 mMgh = new TestMagnificationGestureHandler(DISPLAY_0, in setUp() 90 verify(mCallback).onTouchInteractionStart(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_downEvent_handleInteractionStart() 104 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_upEvent_handleInteractionEnd() 118 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_cancelEvent_handleInteractionEnd()
|
H A D | FullScreenMagnificationControllerTest.java | 101 static final int DISPLAY_0 = 0; field in FullScreenMagnificationControllerTest 177 register(DISPLAY_0); in testRegister_WindowManagerAndContextRegisterListeners() 195 register(DISPLAY_0); in testRegister_WindowManagerAndContextUnregisterListeners() 197 mFullScreenMagnificationController.unregister(DISPLAY_0); in testRegister_WindowManagerAndContextUnregisterListeners() 781 register(DISPLAY_0); 788 zoomIn2xToMiddle(DISPLAY_0); 1049 register(DISPLAY_0); 1050 zoomIn2xToMiddle(DISPLAY_0); 1253 register(DISPLAY_0); 1279 register(DISPLAY_0); [all …]
|
H A D | FullScreenMagnificationGestureHandlerTest.java | 135 private static final int DISPLAY_0 = 0; field in FullScreenMagnificationGestureHandlerTest 190 mFullScreenMagnificationController.register(DISPLAY_0); in setUp() 202 mFullScreenMagnificationController.unregister(DISPLAY_0); in tearDown() 216 mWindowMagnificationPromptController, DISPLAY_0); in newInstance() 436 mFullScreenMagnificationController.reset(DISPLAY_0, /* animate= */ false); in testMagnifierDeactivates_shortcutTriggeredState_returnToIdleState() 544 mFullScreenMagnificationController.setScale(DISPLAY_0, scale, DEFAULT_X, in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting() 553 mFullScreenMagnificationController.reset(DISPLAY_0, /* animate= */ false); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting() 565 mFullScreenMagnificationController.setScale(DISPLAY_0, scale, DEFAULT_X, in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect() 585 mFullScreenMagnificationController.getPersistedScale(DISPLAY_0); in testPanningScaleToPersistedScale_detecting_vibrateAndClear() 600 mFullScreenMagnificationController.getPersistedScale(DISPLAY_0); in testPanningScaleOverThreshold_notDetecting_startDetecting() [all …]
|