Searched refs:getScrollForPage (Results 1 – 7 of 7) sorted by relevance
243 newX = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()281 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds()286 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()295 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()679 return getScrollForPage(index); in computeMaxScrollX()983 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()996 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()1005 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView1091 if (getScrollForPage(getNextPage()) != getScrollX()) { in setEnableFreeScroll()1227 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onTouchEvent()[all …]
359 int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen()); in getWallpaperOffsetForCenterPage()
1726 return getScrollForPage(indexOfChild(getTaskViewAt(getTaskViewCount() - 1))); in computeMinScrollX()1728 return getScrollForPage(mTaskViewStartIndex); in computeMinScrollX()1731 return getScrollForPage(indexOfChild(getTaskViewAt(getTaskViewCount() - 1)) + 1); in computeMinScrollX()1733 return getScrollForPage(mTaskViewStartIndex); in computeMinScrollX()1745 return getScrollForPage(mTaskViewStartIndex); in computeMaxScrollX()1747 return getScrollForPage(indexOfChild(getTaskViewAt(getTaskViewCount() - 1))); in computeMaxScrollX()1750 return getScrollForPage(mTaskViewStartIndex); in computeMaxScrollX()1752 return getScrollForPage(indexOfChild(getTaskViewAt(getTaskViewCount() - 1)) + 1); in computeMaxScrollX()1768 int startScroll = getScrollForPage(getRunningTaskIndex()); in getScrollOffset()
353 return getScrollForPage(scrollIndex + 1); in computeScrollX()
93 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll()94 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll()
60 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
429 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()439 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()