Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java86 final DetectingState mDetectingState; field in WindowMagnificationGestureHandler
123 mDetectingState = new DetectingState(context); in WindowMagnificationGestureHandler()
146 transitionTo(mDetectingState); in WindowMagnificationGestureHandler()
168 + mDetectingState.toString()); in onDestroy()
248 transitionTo(mDetectingState); in releaseTripleTapAndHold()
268 transitionTo(mDetectingState); in resetToDetectState()
343 transitionTo(mDetectingState); in onMotionEvent()
376 transitionTo(mDetectingState); in onMotionEvent()
583 + "mDetectingState=" + mDetectingState in toString()
DFullScreenMagnificationGestureHandler.java142 @VisibleForTesting final DetectingState mDetectingState; field in FullScreenMagnificationGestureHandler
267 mDetectingState.setShortcutTriggered(false); in FullScreenMagnificationGestureHandler()
305 mDetectingState = Flags.enableMagnificationMultipleFingerMultipleTapGesture() in FullScreenMagnificationGestureHandler()
329 transitionTo(mDetectingState); in FullScreenMagnificationGestureHandler()
369 + MotionEventInfo.toString(mDetectingState.mDelayedEventQueue)); in onDestroy()
393 mDetectingState.toggleShortcutTriggered(); in handleShortcutTriggered()
396 if (mDetectingState.isShortcutTriggered()) { in handleShortcutTriggered()
408 mCurrentState = mDetectingState; in clearAndTransitionToStateDetecting()
409 mDetectingState.clear(); in clearAndTransitionToStateDetecting()
545 persistScaleAndTransitionTo(mDetectingState); in onMotionEvent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java311 mHandler = new TestHandler(h.mDetectingState, mClock) { in newInstance()
319 h.mDetectingState.mHandler = mHandler; in newInstance()
373 mMgh.mDetectingState.transitionToDelegatingStateAndClear(); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
374 assertFalse(mMgh.mDetectingState.mShortcutTriggered); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
377 mMgh.mDetectingState.transitionToDelegatingStateAndClear(); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
378 assertTrue(mMgh.mDetectingState.mShortcutTriggered); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
852 check(mMgh.mCurrentState == mMgh.mDetectingState, STATE_IDLE); in testActionUpNotAtEdge_singlePanningState_detectingState()
1415 check(!mMgh.mDetectingState.mShortcutTriggered, state); in assertIn()
1424 check(mMgh.mDetectingState.mShortcutTriggered, state); in assertIn()
1659 return mMgh.mDetectingState.tapCount(); in tapCount()
DWindowMagnificationGestureHandlerTest.java255 == mWindowMagnificationGestureHandler.mDetectingState, state); in assertIn()
263 == mWindowMagnificationGestureHandler.mDetectingState, state); in assertIn()