Home
last modified time | relevance | path

Searched refs:snapToPage (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java728 snapToPage(page); in requestChildRectangleOnScreen()
765 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
771 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
1092 snapToPage(getNextPage()); in setEnableFreeScroll()
1374 snapToPage(page); in requestChildFocus()
1402 snapToPage(getPageNearestToCenterOfScreen(), getPageSnapDuration()); in snapToDestination()
1437 return snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); in snapToPageWithVelocity()
1457 return snapToPage(whichPage, delta, duration, false, null, in snapToPageWithVelocity()
1460 return snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
1464 public boolean snapToPage(int whichPage) { in snapToPage() method
[all …]
DFocusHelper.java134 pagedView.snapToPage(pageIndex - 1); in onKey()
144 pagedView.snapToPage(pageIndex - 1); in onKey()
151 pagedView.snapToPage(pageIndex - 1); in onKey()
158 pagedView.snapToPage(pageIndex + 1); in onKey()
166 pagedView.snapToPage(pageIndex + 1); in onKey()
274 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
281 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
288 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
293 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
298 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
[all …]
DWorkspace.java664 snapToPage(getNextPage() - 1, SNAP_OFF_EMPTY_SCREEN_DURATION); in removeExtraEmptyScreenDelayed()
668 snapToPage(getNextPage(), 0); in removeExtraEmptyScreenDelayed()
1354 snapToPage(whichPage, OVERVIEW_TRANSITION_MS, Interpolators.ZOOM_IN); in snapToPageFromOverView()
1858 snapToPage(snapScreen); in onDrop()
2467 snapToPage(getPageIndexForScreenId(screenId));
3271 snapToPage(page); in moveToDefaultScreen()
DLauncher.java2125 mWorkspace.snapToPage(newScreenIndex); in bindItems()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java61 w.snapToPage(page); in onAlarm()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java433 .setOnClickListener((View view) -> mViewPager.snapToPage(AdapterHolder.MAIN)); in onTabChanged()
435 .setOnClickListener((View view) -> mViewPager.snapToPage(AdapterHolder.WORK)); in onTabChanged()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java820 mRecentsView.snapToPage(nearestPage, Math.toIntExact(duration)); in handleNormalGestureEnd()
823 mRecentsView.snapToPage(mRecentsView.getNextPage(), (int) MAX_SWIPE_DURATION); in handleNormalGestureEnd()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java440 snapToPage(getNextPage()); in clearScrollHint()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java197 workspace.snapToPage(workspace.getPageIndexForScreenId(screenId)); in performAction()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1006 snapToPage(0); in enableLayoutTransitions()
1246 snapToPage((newPageUnbound + pageCount) % pageCount); in snapToPageRelative()
DTaskView.java379 getRecentsView().snapToPage(getRecentsView().indexOfChild(this)); in showTaskMenu()