Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java246 newPosition = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
331 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
336 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
345 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
732 return getScrollForPage(index); in computeMaxScroll()
1058 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
1071 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1080 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView
1113 if (getScrollForPage(getNextPage()) != getScrollX()) { in setEnableFreeScroll()
1515 final int newLoc = getScrollForPage(whichPage); in snapToPageWithVelocity()
[all …]
DWorkspace.java395 int pageScroll = getScrollForPage(page); in getWallpaperOffsetForPage()
/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/quickstep/src/com/android/quickstep/views/
DRecentsView.java1069 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onNotSnappingToPageInFreeScroll()
1070 int lastPageScroll = getScrollForPage(!mIsRtl ? getPageCount() - 1 : 0); in onNotSnappingToPageInFreeScroll()
1080 : getScrollForPage(mNextPage); in onNotSnappingToPageInFreeScroll()
1456 float scrollDiff = Math.abs(getScrollForPage(indexOfChild(focusedTaskView)) in computeScrollHelper()
2910 int midpointScroll = getScrollForPage(midpointIndex);
2919 getPersistentChildPosition(childIndex, getScrollForPage(childIndex), taskPosition);
3503 return getScrollForPage(mDisallowScrollToClearAll ? indexOfChild( in computeMinScroll()
3507 return getScrollForPage(focusedTaskView != null ? indexOfChild(focusedTaskView) in computeMinScroll()
3519 return getScrollForPage(focusedTaskView != null ? indexOfChild(focusedTaskView) in computeMaxScroll()
3524 return getScrollForPage(mDisallowScrollToClearAll ? indexOfChild( in computeMaxScroll()
[all …]
DLauncherRecentsView.java189 return getScrollForPage(scrollIndex + 1); in computeScrollX()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java60 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
DKeyboardDragAndDropView.java143 bounds.offset(pv.getScrollX() - pv.getScrollForPage(pageIndex), 0); in setCurrentSelection()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java444 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
453 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()