Searched refs:mOverscrollState (Results 1 – 2 of 2) sorted by relevance
1937 @VisibleForTesting int mOverscrollState; field in FullScreenMagnificationGestureHandler.OverscrollHandler1953 mOverscrollState = OVERSCROLL_NONE; in OverscrollHandler()1980 if ((mOverscrollState == OVERSCROLL_LEFT_EDGE && overshootDistX < 0) in calculateOverscrollScale()1981 || (mOverscrollState == OVERSCROLL_RIGHT_EDGE && overshootDistX > 0)) { in calculateOverscrollScale()2027 if (mOverscrollState != OVERSCROLL_NONE) { in vibrateIfNeeded()2039 if (mOverscrollState == OVERSCROLL_LEFT_EDGE) { in setPivotEdge()2042 } else if (mOverscrollState == OVERSCROLL_RIGHT_EDGE) { in setPivotEdge()2057 switch (mOverscrollState) { in onScrollStateChanged()2075 mOverscrollState = overscrollState(second, new PointF(first.getX(), first.getY())); in onNoOverscroll()2093 if (mOverscrollState == OVERSCROLL_LEFT_EDGE in setScaleAndCenterToEdgeIfNeeded()[all …]
933 assertTrue(mMgh.mOverscrollHandler.mOverscrollState == mMgh.OVERSCROLL_LEFT_EDGE); in testSingleFingerOverscrollAtLeftEdge_isWatch_expectedOverscrollState()957 assertTrue(mMgh.mOverscrollHandler.mOverscrollState == mMgh.OVERSCROLL_RIGHT_EDGE); in testSingleFingerOverscrollAtRightEdge_isWatch_expectedOverscrollState()980 assertTrue(mMgh.mOverscrollHandler.mOverscrollState == mMgh.OVERSCROLL_VERTICAL_EDGE); in testSingleFingerOverscrollAtTopEdge_isWatch_expectedOverscrollState()1002 assertTrue(mMgh.mOverscrollHandler.mOverscrollState == mMgh.OVERSCROLL_NONE); in testSingleFingerScrollAtEdge_isWatch_noOverscroll()