Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java180 private float mLastOffset = Float.MAX_VALUE; field in ViewPager
678 Math.min(curInfo.offset, mLastOffset))); in scrollToItem()
1344 mLastOffset = curItem.position == N - 1 ?
1365 mLastOffset = offset + ii.widthFactor - 1;
1656 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0;
2301 float rightBound = width * mLastOffset;
2429 canvas.translate(-getPaddingTop(), -(mLastOffset + 1) * width);
2581 float rightBound = width * mLastOffset;
2673 return (scrollX < (int) (width * mLastOffset));
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java166 private float mLastOffset = Float.MAX_VALUE; field in ViewPager
597 info.offset, mFirstOffset, mLastOffset)); in getLeftEdgeForItem()
1191 mLastOffset = curItem.position == N - 1 ?
1215 mLastOffset = offset + ii.widthFactor - 1;
1509 final float scrollOffset = ii != null ? Math.min(ii.offset, mLastOffset) : 0;
2143 endBound = width * mLastOffset;
2294 canvas.translate(-getPaddingTop(), -(mLastOffset + 1) * width);
2415 return (scrollX < (int) (width * mLastOffset));