Home
last modified time | relevance | path

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

/frameworks/support/core-ui/java/android/support/v4/view/
DViewPager.java174 private float mLastOffset = Float.MAX_VALUE; field in ViewPager
674 Math.min(curInfo.offset, mLastOffset))); in scrollToItem()
1345 mLastOffset = curItem.position == N - 1
1366 mLastOffset = offset + ii.widthFactor - 1;
1662 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0;
2312 float rightBound = width * mLastOffset;
2442 canvas.translate(-getPaddingTop(), -(mLastOffset + 1) * width);
2593 float rightBound = width * mLastOffset;
2693 return (scrollX < (int) (width * mLastOffset));
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java140 private float mLastOffset = Float.MAX_VALUE; field in ViewPager
571 info.offset, mFirstOffset, mLastOffset)); in getLeftEdgeForItem()
1165 mLastOffset = curItem.position == N - 1 ?
1189 mLastOffset = offset + ii.widthFactor - 1;
1484 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0;
2118 endBound = width * mLastOffset;
2269 canvas.translate(-getPaddingTop(), -(mLastOffset + 1) * width);
2390 return (scrollX < (int) (width * mLastOffset));