Home
last modified time | relevance | path

Searched refs:getChildOffset (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java310 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 PagedView
1145 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()
DSmoothPagedView.java133 final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage); in snapToPageWithVelocity()
DWorkspace.java836 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);
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java969 protected int getChildOffset(int index) { in getChildOffset() method in PagedView
1517 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()