Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DScaleGestureDetector.java636 final float spanDiff = (Math.abs(1 - (mCurrSpan / mPrevSpan)) * SCALE_FACTOR);
637 return mPrevSpan <= 0 ? 1 : scaleUp ? (1 + spanDiff) : (1 - spanDiff);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java592 int span, spanDiff, start, end, diff; in assignSpans() local
605 spanDiff = -1; in assignSpans()
608 spanDiff = 1; in assignSpans()
614 if (spanDiff == -1 && params.mSpanSize > 1) { in assignSpans()
619 span += spanDiff * params.mSpanSize; in assignSpans()