Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java243 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 PagedView
1091 if (getScrollForPage(getNextPage()) != getScrollX()) { in setEnableFreeScroll()
1227 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onTouchEvent()
[all …]
DWorkspace.java359 int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen()); in getWallpaperOffsetForCenterPage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1726 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()
DLauncherRecentsView.java353 return getScrollForPage(scrollIndex + 1); in computeScrollX()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java93 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll()
94 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java60 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java429 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
439 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()