Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java1267 mMgh.transitionTo(mMgh.mPanningScalingState); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting()
1269 assertTrue(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting()
1288 mMgh.transitionTo(mMgh.mPanningScalingState); in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect()
1290 assertFalse(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect()
1301 mMgh.mPanningScalingState.mDetectingPassPersistedScale = true; in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1306 mMgh.transitionTo(mMgh.mPanningScalingState); in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1307 mMgh.mPanningScalingState.setScaleAndClearIfNeeded(persistedScale, DEFAULT_X, DEFAULT_Y); in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1310 assertFalse(mMgh.mPanningScalingState.mScaling); in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1324 mMgh.transitionTo(mMgh.mPanningScalingState); in testPanningScaleOverThreshold_notDetecting_startDetecting()
1329 mMgh.mPanningScalingState.setScaleAndClearIfNeeded(scale, DEFAULT_X, DEFAULT_Y); in testPanningScaleOverThreshold_notDetecting_startDetecting()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java143 @VisibleForTesting final PanningScalingState mPanningScalingState; field in FullScreenMagnificationGestureHandler
311 mPanningScalingState = new PanningScalingState(context); in FullScreenMagnificationGestureHandler()
344 mPanningScalingState.mScrollGestureDetector.onTouchEvent(event); in handleEventWith()
345 mPanningScalingState.mScaleGestureDetector.onTouchEvent(event); in handleEventWith()
411 mPanningScalingState.clear(); in clearAndTransitionToStateDetecting()
455 if (state == mPanningScalingState) { in transitionTo()
456 mPanningScalingState.prepareForState(); in transitionTo()
609 if (mCurrentState != mPanningScalingState) { in onScroll()
661 return /* continue recognizing: */ (mCurrentState == mPanningScalingState); in onScaleBegin()
844 transitionTo(mPanningScalingState); in clearAndTransitToPanningScalingState()
[all …]