Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java136 private float mPrevSpan; field in ScaleGestureDetector
352 mInitialSpan = mPrevSpan = mCurrSpan = span; in onTouchEvent()
360 mPrevSpan = mCurrSpan = span; in onTouchEvent()
380 mPrevSpan = mCurrSpan; in onTouchEvent()
515 return mPrevSpan; in getPreviousSpan()
551 (mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan < mPrevSpan)) || in getScaleFactor()
552 (!mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan > mPrevSpan)); in getScaleFactor()
553 final float spanDiff = (Math.abs(1 - (mCurrSpan / mPrevSpan)) * SCALE_FACTOR); in getScaleFactor()
554 return mPrevSpan <= mSpanSlop ? 1 : scaleUp ? (1 + spanDiff) : (1 - spanDiff); in getScaleFactor()
556 return mPrevSpan > 0 ? mCurrSpan / mPrevSpan : 1; in getScaleFactor()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt81759 Landroid/view/ScaleGestureDetector;->mPrevSpan:F