Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandler.java379 @VisibleForTesting boolean mDetectingPassPersistedScale; field in FullScreenMagnificationGestureHandler.PanningScalingState
423 if (mDetectingPassPersistedScale) { in checkShouldDetectPassPersistedScale()
432 mDetectingPassPersistedScale = in checkShouldDetectPassPersistedScale()
445 if (mDetectingPassPersistedScale) { in setScaleAndClearIfNeeded()
533 mDetectingPassPersistedScale = false; in clear()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DFullScreenMagnificationGestureHandlerTest.java550 assertTrue(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceOverThreshold_startDetecting()
571 assertFalse(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testTransitToPanningState_scaleDifferenceLessThanThreshold_doNotDetect()
582 mMgh.mPanningScalingState.mDetectingPassPersistedScale = true; in testPanningScaleToPersistedScale_detecting_vibrateAndClear()
612 assertTrue(mMgh.mPanningScalingState.mDetectingPassPersistedScale); in testPanningScaleOverThreshold_notDetecting_startDetecting()