Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMagnificationGestureHandlerTest.java162 mHandler = new TestHandler(h.mDetectingState, mClock) { in newInstance()
169 h.mDetectingState.mHandler = mHandler; in newInstance()
221 mMgh.mDetectingState.transitionToDelegatingStateAndClear(); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
222 assertFalse(mMgh.mDetectingState.mShortcutTriggered); in testTransitionToDelegatingStateAndClear_preservesShortcutTriggeredState()
225 mMgh.mDetectingState.transitionToDelegatingStateAndClear(); 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()
540 return mMgh.mDetectingState.tapCount();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java127 @VisibleForTesting final DetectingState mDetectingState; field in MagnificationGestureHandler
183 mDetectingState = new DetectingState(context); in MagnificationGestureHandler()
200 transitionTo(mDetectingState); in MagnificationGestureHandler()
252 + MotionEventInfo.toString(mDetectingState.mDelayedEventQueue)); in onDestroy()
271 mDetectingState.toggleShortcutTriggered(); in notifyShortcutTriggered()
277 mCurrentState = mDetectingState; in clearAndTransitionToStateDetecting()
278 mDetectingState.clear(); in clearAndTransitionToStateDetecting()
407 persistScaleAndTransitionTo(mDetectingState); in onMotionEvent()
543 transitionTo(mDetectingState); in onMotionEvent()
583 transitionTo(mDetectingState); in onMotionEvent()
[all …]