Searched refs:getChildOffset (Results 1 – 4 of 4) sorted by relevance
310 int offset = getChildOffset(mCurrentPage); in updateCurrentPageScroll()588 mMaxScrollX = getChildOffset(index) - getRelativeChildOffset(index); in onMeasure()595 int newX = getChildOffset(newCurrentPage) - getRelativeChildOffset(newCurrentPage); in scrollToNewPageWithoutMovingPages()735 protected int getChildOffset(int index) { in getChildOffset() method in PagedView1145 int delta = screenCenter - (getChildOffset(page) - in getScrollProgress()1483 int childCenter = getChildOffset(i) + halfChildWidth; in getPageNearestToCenterOfScreen()1521 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage)); in snapToPageWithVelocity()1524 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity()1562 if (DEBUG) Log.d(TAG, "snapToPage.getChildOffset(): " + getChildOffset(whichPage)); in snapToPage()1565 int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPage()
133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity()
836 return getChildOffset(getChildCount() - 1) - getChildOffset(0); in getScrollRange()961 int scaled = getChildOffset(page) - getRelativeChildOffset(page); in computeWallpaperScrollRatio()963 float unscaled = getChildOffset(page) - getRelativeChildOffset(page); in computeWallpaperScrollRatio()2359 final int newX = getChildOffset(screen) - getRelativeChildOffset(screen);
969 protected int getChildOffset(int index) { in getChildOffset() method in PagedView1517 int oldX = getViewportOffsetX() + getChildOffset(i); in onTouchEvent()1518 … int newX = getViewportOffsetX() + getChildOffset(i + shiftDelta); in onTouchEvent()1787 int childCenter = getViewportOffsetX() + getChildOffset(i) + halfChildWidth; in getPageNearestToCenterOfScreen()