Searched refs:mFirstOffset (Results 1 – 2 of 2) sorted by relevance
179 private float mFirstOffset = -Float.MAX_VALUE; field in ViewPager677 destX = (int) (width * Math.max(mFirstOffset, in scrollToItem()1343 mFirstOffset = curItem.position == 0 ? curItem.offset : -Float.MAX_VALUE;1354 if (ii.position == 0) mFirstOffset = offset;2300 float leftBound = width * mFirstOffset;2418 canvas.translate(-height + getPaddingTop(), mFirstOffset * width);2580 float leftBound = width * mFirstOffset;2671 return (scrollX > (int) (width * mFirstOffset));
165 private float mFirstOffset = -Float.MAX_VALUE; field in ViewPager597 info.offset, mFirstOffset, mLastOffset)); in getLeftEdgeForItem()1190 mFirstOffset = curItem.position == 0 ? curItem.offset : -Float.MAX_VALUE;1202 if (ii.position == 0) mFirstOffset = offset;2134 startBound = width * mFirstOffset;2283 canvas.translate(-height + getPaddingTop(), mFirstOffset * width);2413 return (scrollX > (int) (width * mFirstOffset));