Home
last modified time | relevance | path

Searched refs:mMgh (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandlerTest.java201 mMgh.onDestroy(); in tearDown()
414 mMgh.setNext(eventCaptor); in testTwoFingersOneTap_activatedState_dispatchMotionEvents()
548 mMgh.transitionTo(mMgh.mPanningScalingState); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting()
569 mMgh.transitionTo(mMgh.mPanningScalingState); in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect()
587 mMgh.transitionTo(mMgh.mPanningScalingState); in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
605 mMgh.transitionTo(mMgh.mPanningScalingState); in testPanningScaleOverThreshold_notDetecting_startDetecting()
700 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
708 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
716 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
733 check(mMgh.mCurrentState == mMgh.mPanningScalingState, in assertIn()
[all …]
H A DMagnificationGestureHandlerTest.java48 private TestMagnificationGestureHandler mMgh; field in MagnificationGestureHandlerTest
61 mMgh = new TestMagnificationGestureHandler(DISPLAY_0, in setUp()
73 mMgh.onMotionEvent(downEvent, downEvent, /* policyFlags= */ 0); in onMotionEvent_isFromScreen_onMotionEventInternal()
76 assertTrue(mMgh.mIsInternalMethodCalled); in onMotionEvent_isFromScreen_onMotionEventInternal()
87 mMgh.onMotionEvent(downEvent, downEvent, /* policyFlags= */ 0); in onMotionEvent_downEvent_handleInteractionStart()
90 verify(mCallback).onTouchInteractionStart(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_downEvent_handleInteractionStart()
101 mMgh.onMotionEvent(upEvent, upEvent, /* policyFlags= */ 0); in onMotionEvent_upEvent_handleInteractionEnd()
104 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_upEvent_handleInteractionEnd()
115 mMgh.onMotionEvent(cancelEvent, cancelEvent, /* policyFlags= */ 0); in onMotionEvent_cancelEvent_handleInteractionEnd()
118 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_cancelEvent_handleInteractionEnd()