Lines Matching defs:snapToPage
864 snapToPage(page);
890 snapToPage(getCurrentPage() - 1);
895 snapToPage(getCurrentPage() + 1);
1334 snapToPage(nextPage);
1344 snapToPage(nextPage);
1444 snapToPage(page);
1494 snapToPage(getPageNearestToCenterOfScreen(), PAGE_SNAP_ANIMATION_DURATION);
1521 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage));
1531 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION);
1552 snapToPage(whichPage, delta, duration);
1555 protected void snapToPage(int whichPage) {
1556 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION);
1559 protected void snapToPage(int whichPage, int duration) {
1562 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage));
1563 if (DEBUG) Log.d(TAG, "snapToPage.getRelativeChildOffset(): " + getMeasuredWidth() + ", "
1568 snapToPage(whichPage, delta, duration);
1571 protected void snapToPage(int whichPage, int delta, int duration) {
1602 if (mCurrentPage > 0) snapToPage(mCurrentPage - 1);
1604 if (mNextPage > 0) snapToPage(mNextPage - 1);
1610 if (mCurrentPage < getChildCount() -1) snapToPage(mCurrentPage + 1);
1612 if (mNextPage < getChildCount() -1) snapToPage(mNextPage + 1);