Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java128 pagedView.snapToPage(pageIndex - 1); in onKey()
138 pagedView.snapToPage(pageIndex - 1); in onKey()
145 pagedView.snapToPage(pageIndex - 1); in onKey()
152 pagedView.snapToPage(pageIndex + 1); in onKey()
160 pagedView.snapToPage(pageIndex + 1); in onKey()
278 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
285 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
292 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
297 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
309 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
[all …]
DPagedView.java1196 snapToPage(page); in requestChildRectangleOnScreen()
1232 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
1237 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
1701 snapToPage(pageUnderPointIndex); in onTouchEvent()
1821 snapToPage(nextPage); in onTouchEvent()
1831 snapToPage(nextPage); in onTouchEvent()
1967 snapToPage(page); in requestChildFocus()
1991 snapToPage(getPageNearestToCenterOfScreen(), PAGE_SNAP_ANIMATION_DURATION); in snapToDestination()
2025 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); in snapToPageWithVelocity()
2045 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
[all …]
DSpringLoadedDragController.java56 w.snapToPage(page); in onAlarm()
DWorkspace.java755 snapToPage(getNextPage() - 1, SNAP_OFF_EMPTY_SCREEN_DURATION); in removeExtraEmptyScreenDelayed()
759 snapToPage(getNextPage(), 0); in removeExtraEmptyScreenDelayed()
1428 protected void snapToPage(int whichPage, Runnable r) { in snapToPage() method in Workspace
1429 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION, r); in snapToPage()
1432 protected void snapToPage(int whichPage, int duration, Runnable r) { in snapToPage() method in Workspace
1437 snapToPage(whichPage, duration); in snapToPage()
1445 snapToPage(getPageIndexForScreenId(screenId), r); in snapToScreenId()
1656 snapToPage(mCurrentPage); in showOutlinesTemporarily()
2805 snapToPage(snapScreen); in onDrop()
4503 snapToPage(page);
[all …]
DWorkspaceStateTransitionAnimation.java309 mWorkspace.snapToPage(toPage, duration, mZoomInInterpolator); in animateWorkspace()
DLauncher.java3367 protected boolean showWorkspace(int snapToPage, boolean animated) { in showWorkspace() argument
3368 return showWorkspace(snapToPage, animated, null); in showWorkspace()
3374 boolean showWorkspace(int snapToPage, boolean animated, Runnable onCompleteRunnable) { in showWorkspace() argument
3380 Workspace.State.NORMAL, snapToPage, animated, onCompleteRunnable); in showWorkspace()
3958 mWorkspace.snapToPage(newScreenIndex); in bindItems()
DFolderPagedView.java490 snapToPage(getNextPage()); in clearScrollHint()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java864 snapToPage(page); in requestChildRectangleOnScreen()
890 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
895 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
1334 snapToPage(nextPage); in onTouchEvent()
1344 snapToPage(nextPage); in onTouchEvent()
1444 snapToPage(page); in requestChildFocus()
1494 snapToPage(getPageNearestToCenterOfScreen(), PAGE_SNAP_ANIMATION_DURATION); in snapToDestination()
1531 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); in snapToPageWithVelocity()
1552 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
1555 protected void snapToPage(int whichPage) { in snapToPage() method
[all …]
DFocusHelper.java325 container.snapToPage(pageIndex - 1); in handleAppsCustomizeKeyEvent()
343 container.snapToPage(pageIndex + 1); in handleAppsCustomizeKeyEvent()
390 container.snapToPage(pageIndex - 1); in handleAppsCustomizeKeyEvent()
407 container.snapToPage(pageIndex + 1); in handleAppsCustomizeKeyEvent()
515 workspace.snapToPage(pageIndex - 1); in handleHotseatButtonKeyEvent()
526 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
693 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
714 workspace.snapToPage(pageIndex + 1); in handleIconKeyEvent()
756 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
778 workspace.snapToPage(pageIndex + 1); in handleIconKeyEvent()
DSmoothPagedView.java154 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
158 protected void snapToPage(int whichPage) { in snapToPage() method in SmoothPagedView
160 super.snapToPage(whichPage); in snapToPage()
DSpringLoadedDragController.java56 w.snapToPage(page); in onAlarm()
DWorkspace.java937 protected void snapToPage(int whichPage) { in snapToPage() method in Workspace
938 super.snapToPage(whichPage); in snapToPage()
943 protected void snapToPage(int whichPage, int duration) { in snapToPage() method in Workspace
944 super.snapToPage(whichPage, duration); in snapToPage()
948 protected void snapToPage(int whichPage, Runnable r) { in snapToPage() method in Workspace
953 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION); in snapToPage()
1112 snapToPage(mCurrentPage);
2256 snapToPage(screen);
3034 snapToPage(screen);
3862 snapToPage(mDefaultPage);
DAppsCustomizePagedView.java956 protected void snapToPage(int whichPage, int delta, int duration) { in snapToPage() method in AppsCustomizePagedView
957 super.snapToPage(whichPage, delta, duration); in snapToPage()
DLauncher.java3653 mWorkspace.snapToPage(mNewShortcutAnimatePage, newAppsRunnable); in finishBindingItems()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java167 workspace.snapToPage(workspace.getPageIndexForScreenId(screenId)); in performAction()