Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java135 private float mCurrSpan; field in ScaleGestureDetector
351 mInitialSpan = mPrevSpan = mCurrSpan = span; in onTouchEvent()
359 mPrevSpan = mCurrSpan = span; in onTouchEvent()
368 mCurrSpan = span; in onTouchEvent()
379 mPrevSpan = mCurrSpan; in onTouchEvent()
484 return mCurrSpan; in getCurrentSpan()
550 (mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan < mPrevSpan)) || in getScaleFactor()
551 (!mEventBeforeOrAboveStartingGestureEvent && (mCurrSpan > mPrevSpan)); in getScaleFactor()
552 final float spanDiff = (Math.abs(1 - (mCurrSpan / mPrevSpan)) * SCALE_FACTOR); in getScaleFactor()
555 return mPrevSpan > 0 ? mCurrSpan / mPrevSpan : 1; in getScaleFactor()