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.java252 newPosition = getScrollForPage(mCurrentPage) + mCurrentPageScrollDiff; in updateCurrentPageScroll()
407 int currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
412 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
421 currScroll = getScrollForPage(page); in ensureWithinScrollBounds()
794 + getScrollForPage(getNextPage())); in onLayout()
879 return getScrollForPage(index); in computeMaxScroll()
1194 int delta = screenCenter - (getScrollForPage(page) + halfScreenSize); in getScrollProgress()
1207 totalDistance = Math.abs(getScrollForPage(adjacentPage) - getScrollForPage(page)); in getScrollProgress()
1216 public int getScrollForPage(int index) { in getScrollForPage() method in PagedView
1249 if (getScrollForPage(getNextPage()) != getScrollX()) { in setEnableFreeScroll()
[all …]
DWorkspace.java446 int pageScroll = getScrollForPage(page); in getWallpaperOffsetForPage()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java102 int leftPageScrollX = mWorkspace.getScrollForPage(leftPageIndex); in wallpaperOffsetForScroll()
103 int rightPageScrollX = mWorkspace.getScrollForPage(rightPageIndex); in wallpaperOffsetForScroll()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1379 int clearAllScroll = getScrollForPage(indexOfChild(mClearAllButton)); in getSnapToLastTaskScrollDiff()
1415 return getScrollForPage(taskIndex) == getPagedOrientationHandler().getPrimaryScroll(this); in isTaskInExpectedScrollPosition()
1625 int firstPageScroll = getScrollForPage(!mIsRtl ? 0 : getPageCount() - 1); in onNotSnappingToPageInFreeScroll()
1626 int lastPageScroll = getScrollForPage(!mIsRtl ? getPageCount() - 1 : 0); in onNotSnappingToPageInFreeScroll()
1636 : getScrollForPage(mNextPage); in onNotSnappingToPageInFreeScroll()
1712 int currentPageScroll = getScrollForPage(mCurrentPage); in moveRunningTaskToFront()
1911 + getScrollForPage(finalTargetPage)); in applyLoadPlan()
2235 int selectedPageScroll = getScrollForPage(selectedPage); in getTaskBounds()
3535 int currentPageScroll = getScrollForPage(mCurrentPage); in createTaskDismissAnimation()
3536 int lastGridTaskScroll = getScrollForPage(indexOfChild(lastGridTaskView)); in createTaskDismissAnimation()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DViewGroupFocusHelper.java96 outRect.left -= page.getScrollForPage(page.indexOfChild(child)); in computeLocationRelativeToContainer()
DKeyboardDragAndDropView.java144 bounds.offset(pv.getScrollX() - pv.getScrollForPage(pageIndex), 0); in setCurrentSelection()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DRecentsViewStateController.java101 + mRecentsView.getScrollForPage(mRecentsView.getCurrentPage())); in setStateWithAnimationInternal()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java467 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
476 if (getScrollX() != getScrollForPage(getNextPage())) { in clearScrollHint()