Home
last modified time | relevance | path

Searched refs:getScrollForPage (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java508 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
1017 mMaxScrollX = getScrollForPage(index); in onLayout()
1560 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
1573 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1582 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView
1679 mFreeScrollMinScrollX = getScrollForPage(mTempVisiblePagesRange[1]); in updateFreescrollBounds()
1680 mFreeScrollMaxScrollX = getScrollForPage(mTempVisiblePagesRange[0]); in updateFreescrollBounds()
1682 mFreeScrollMinScrollX = getScrollForPage(mTempVisiblePagesRange[0]); in updateFreescrollBounds()
1683 mFreeScrollMaxScrollX = getScrollForPage(mTempVisiblePagesRange[1]); in updateFreescrollBounds()
2202 final int newX = getScrollForPage(whichPage); in snapToPageWithVelocity()
[all …]
DWorkspace.java1457 int firstPageScrollX = getScrollForPage(firstIndex); in wallpaperOffsetForCurrentScroll()
1458 int scrollRange = getScrollForPage(lastIndex) - firstPageScrollX; in wallpaperOffsetForCurrentScroll()
1693 int scrollDelta = getScrollX() - getScrollForPage(index) - in updateStateForCustomContent()
1695 float scrollRange = getScrollForPage(index + 1) - getScrollForPage(index); in updateStateForCustomContent()
3255 final int newX = getScrollForPage(pageIndex);
DSmoothPagedView.java130 final int newX = getScrollForPage(whichPage); in snapToPageWithVelocity()