Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java625 @VisibleForTesting boolean mShortcutTriggered; field in MagnificationGestureHandler.DetectingState
753 if (mShortcutTriggered) return tapCount() + 2 >= numTaps; in isMultiTapTriggered()
902 ", mShortcutTriggered=" + mShortcutTriggered + in toString()
908 setShortcutTriggered(!mShortcutTriggered); in toggleShortcutTriggered()
912 if (mShortcutTriggered == state) { in setShortcutTriggered()
917 mShortcutTriggered = state; in setShortcutTriggered()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java222 assertFalse(mMgh.mDetectingState.mShortcutTriggered); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
226 assertTrue(mMgh.mDetectingState.mShortcutTriggered); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
376 check(!mMgh.mDetectingState.mShortcutTriggered, state); in assertIn()
404 check(mMgh.mDetectingState.mShortcutTriggered, state); in assertIn()