Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java134 private float mCurrSpan; field in ScaleGestureDetector
350 mInitialSpan = mPrevSpan = mCurrSpan = span; in onTouchEvent()
358 mPrevSpan = mCurrSpan = span; in onTouchEvent()
367 mCurrSpan = span; in onTouchEvent()
378 mPrevSpan = mCurrSpan; in onTouchEvent()
483 return mCurrSpan; in getCurrentSpan()
549 (mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan < mPrevSpan)) || in getScaleFactor()
550 (!mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan > mPrevSpan)); in getScaleFactor()
551 final float spanDiff = (Math.abs(1 - (mCurrSpan / mPrevSpan)) * SCALE_FACTOR); in getScaleFactor()
554 return mPrevSpan > 0 ? mCurrSpan / mPrevSpan : 1; in getScaleFactor()