Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandler.java506 @VisibleForTesting boolean mDetectingPassPersistedScale; field in FullScreenMagnificationGestureHandler.PanningScalingState
554 if (mDetectingPassPersistedScale) { in checkShouldDetectPassPersistedScale()
563 mDetectingPassPersistedScale = in checkShouldDetectPassPersistedScale()
581 if (mDetectingPassPersistedScale) { in setScaleAndClearIfNeeded()
673 mDetectingPassPersistedScale = false; in clear()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java1269 assertTrue(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting()
1290 assertFalse(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect()
1301 mMgh.mPanningScalingState.mDetectingPassPersistedScale = true; in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
1331 assertTrue(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testPanningScaleOverThreshold_notDetecting_startDetecting()