Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java430 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
964 mMaxScrollX = getScrollForPage(index); in updateMaxScrollX()
1473 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
1486 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1495 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView
1550 mFreeScrollMinScrollX = getScrollForPage(mTempVisiblePagesRange[1]); in updateFreescrollBounds()
1551 mFreeScrollMaxScrollX = getScrollForPage(mTempVisiblePagesRange[0]); in updateFreescrollBounds()
1553 mFreeScrollMinScrollX = getScrollForPage(mTempVisiblePagesRange[0]); in updateFreescrollBounds()
1554 mFreeScrollMaxScrollX = getScrollForPage(mTempVisiblePagesRange[1]); in updateFreescrollBounds()
2011 final int newX = getScrollForPage(whichPage); in snapToPageWithVelocity()
[all …]
DFolderPagedView.java467 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
477 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()
DFocusIndicatorView.java173 shift[0] -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToParentHelper()
DWorkspace.java1444 int firstPageScrollX = getScrollForPage(firstIndex); in wallpaperOffsetForCurrentScroll()
1445 int scrollRange = getScrollForPage(lastIndex) - firstPageScrollX; in wallpaperOffsetForCurrentScroll()
1618 int scrollDelta = getScrollX() - getScrollForPage(index) - in updateStateForCustomContent()
1620 float scrollRange = getScrollForPage(index + 1) - getScrollForPage(index); in updateStateForCustomContent()