Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java552 final float spanDiff = (Math.abs(1 - (mCurrSpan / mPrevSpan)) * SCALE_FACTOR); in getScaleFactor() local
553 return mPrevSpan <= 0 ? 1 : scaleUp ? (1 + spanDiff) : (1 - spanDiff); in getScaleFactor()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java745 int span, spanDiff, start, end, diff; in assignSpans() local
758 spanDiff = -1; in assignSpans()
761 spanDiff = 1; in assignSpans()
767 if (spanDiff == -1 && params.mSpanSize > 1) { in assignSpans()
772 span += spanDiff * params.mSpanSize; in assignSpans()