Home
last modified time | relevance | path

Searched refs:mViewportDraggingState (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java90 final ViewportDraggingState mViewportDraggingState; field in WindowMagnificationGestureHandler
124 mViewportDraggingState = new ViewportDraggingState(); in WindowMagnificationGestureHandler()
235 mViewportDraggingState.mEnabledBeforeDrag = in onTripleTapAndHold()
240 transitionTo(mViewportDraggingState); in onTripleTapAndHold()
245 if (!mViewportDraggingState.mEnabledBeforeDrag) { in releaseTripleTapAndHold()
585 + ", mViewportDraggingState=" + mViewportDraggingState in toString()
DFullScreenMagnificationGestureHandler.java144 @VisibleForTesting final ViewportDraggingState mViewportDraggingState; field in FullScreenMagnificationGestureHandler
308 mViewportDraggingState = Flags.enableMagnificationMultipleFingerMultipleTapGesture() in FullScreenMagnificationGestureHandler()
410 mViewportDraggingState.clear(); in clearAndTransitionToStateDetecting()
533 && mPreviousState == mViewportDraggingState) { in onMotionEvent()
538 persistScaleAndTransitionTo(mViewportDraggingState); in onMotionEvent()
1133 mViewportDraggingState.prepareForZoomInTemporary(shortcutTriggered); in transitionToViewportDraggingStateAndClear()
1135 transitionTo(mViewportDraggingState); in transitionToViewportDraggingStateAndClear()
1528 mViewportDraggingState.prepareForZoomInTemporary(shortcutTriggered); in transitionToViewportDraggingStateAndClear()
1530 transitionTo(mViewportDraggingState); in transitionToViewportDraggingStateAndClear()
1641 + ", mViewportDraggingState=" + mViewportDraggingState in toString()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationGestureHandlerTest.java1456 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
1458 check(Float.isNaN(mMgh.mViewportDraggingState.mScaleToRecoverAfterDraggingEnd), in assertIn()
1464 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
1466 check(mMgh.mViewportDraggingState.mScaleToRecoverAfterDraggingEnd >= 1.0f, in assertIn()
1472 check(mMgh.mCurrentState == mMgh.mViewportDraggingState, in assertIn()
1475 check(mMgh.mViewportDraggingState.mScaleToRecoverAfterDraggingEnd >= 1.0f, in assertIn()
1478 check(Float.isNaN(mMgh.mViewportDraggingState.mScaleToRecoverAfterDraggingEnd), in assertIn()
DWindowMagnificationGestureHandlerTest.java271 == mWindowMagnificationGestureHandler.mViewportDraggingState, state); in assertIn()