Home
last modified time | relevance | path

Searched refs:getScrollForPage (Results 1 – 6 of 6) 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()
678 return getScrollForPage(index); in computeMaxScrollX()
979 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
992 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1001 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView
1219 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onTouchEvent()
1220 int lastPageScroll = getScrollForPage(!mIsRtl ? getPageCount() - 1 : 0); in onTouchEvent()
[all …]
DWorkspace.java361 int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen()); in getWallpaperOffsetForCenterPage()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java91 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll()
92 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.java491 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
501 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1669 return getScrollForPage(getTaskViewCount() - 1); in computeMinScrollX()
1678 return getScrollForPage(getTaskViewCount() - 1); in computeMaxScrollX()
1691 int startScroll = getScrollForPage(getRunningTaskIndex()); in getScrollOffset()