Lines Matching refs:page

69     // the min drag distance for a fling to register, to prevent random page shifts
80 // The page is moved more than halfway, automatically move to the next page on touch up.
176 // to switch to a new page
222 // The runnable that settles the page after snapToPage and animateDragViewToOriginalPosition
397 * Returns the index of the currently displayed page.
399 * @return The index of the currently displayed page.
422 * Updates the scroll of the current page immediately to its final scroll position. We use this
424 * the previous tab page.
436 * Sets the current page.
500 * Registers the specified listener on each page contained in this workspace.
552 // Don't bother scrolling if the page does not need to be moved
565 // We don't want to trigger a page end moving unless the page has settled
624 * each page to have the same width.
679 // Calculate the variable page spacing if necessary
681 // The gap between pages in the PagedView should be equal to the gap from the page
684 // of the left/right gap and use that as the gap between each page.
927 int page = indexToPage(indexOfChild(child));
928 if (page != mCurrentPage || !mScroller.isFinished()) {
929 snapToPage(page);
984 * pass that along if it's on the current page.
986 * This happens when live folders requery, and if they're off page, they
987 * end up calling requestFocus, which pulls it on page.
1011 * Return true if a tap at (x, y) should trigger a flip to the previous page.
1018 * Return true if a tap at (x, y) should trigger a flip to the next page.
1031 /** Returns whether x and y originated within the current page view bounds */
1128 // to scroll the current page
1213 protected float getBoundedScrollProgress(int screenCenter, View v, int page) {
1219 return getScrollProgress(screenCenter, v, page);
1222 protected float getScrollProgress(int screenCenter, View v, int page) {
1226 int delta = screenCenter - (getChildOffset(page) -
1227 getRelativeChildOffset(page) + halfScreenSize);
1235 // This curve determines how the effect of scrolling over the limits of the page dimishes
1390 // Find the closest page to the touch point
1432 // current page is moved
1436 // Setup the scroll to the correct page before we swap the views
1507 // In the case that the page is moved far to one direction and then is flung
1509 // just return to the starting page, or if we should skip one further.
1535 // we can just page
1545 // we can just page
1580 // Remove the callback to wait for the side page hover timeout
1621 // Handle mouse (or ext. device) by shifting the page depending on the scroll
1681 int page = indexToPage(indexOfChild(child));
1682 if (page >= 0 && page != getCurrentPage() && !isInTouchMode()) {
1683 snapToPage(page);
1754 // We want the duration of the page snap animation to be influenced by the distance that
1776 // If the velocity is low enough, then treat this more as an automatic page advance
1785 // duration as a function of the distance the page needs to travel.
1793 // we want the page's snap velocity to approximately match the velocity at which the
2202 // Snap to the current page
2211 // "Zooms in" the PagedView to highlight the current page
2338 // Setup the scroll to the correct page before we swap the views
2357 // Simulate the page being offscreen with the page spacing