Lines Matching defs:mMaxScrollX
93 protected int mMaxScrollX;
414 boolean isXBeforeFirstPage = isRtl ? (x > mMaxScrollX) : (x < 0);
415 boolean isXAfterLastPage = isRtl ? (x < 0) : (x > mMaxScrollX);
420 overScroll(x - mMaxScrollX);
426 super.scrollTo(mMaxScrollX, y);
431 overScroll(x - mMaxScrollX);
588 mMaxScrollX = getChildOffset(index) - getRelativeChildOffset(index);
590 mMaxScrollX = 0;
688 boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX;
1180 mOverScrollX = mMaxScrollX + overScrollAmount;
1181 super.scrollTo(mMaxScrollX, getScrollY());
1204 mOverScrollX = mMaxScrollX + overScrollAmount;
1205 super.scrollTo(mMaxScrollX, getScrollY());
1901 float scrollPos = isRtl ? mMaxScrollX - getScrollX() : getScrollX();
1902 float offset = Math.max(0f, Math.min(1f, (float) scrollPos / mMaxScrollX));