Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1199 snapToPage(page); in requestChildRectangleOnScreen()
1225 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
1230 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
1694 snapToPage(pageUnderPointIndex); in onTouchEvent()
1814 snapToPage(nextPage); in onTouchEvent()
1824 snapToPage(nextPage); in onTouchEvent()
1960 snapToPage(page); in requestChildFocus()
1984 snapToPage(getPageNearestToCenterOfScreen(), PAGE_SNAP_ANIMATION_DURATION); in snapToDestination()
2018 snapToPage(whichPage, PAGE_SNAP_ANIMATION_DURATION); in snapToPageWithVelocity()
2038 snapToPage(whichPage, delta, duration); in snapToPageWithVelocity()
[all …]
DFocusHelper.java114 pagedView.snapToPage(pageIndex - 1); in onKey()
123 pagedView.snapToPage(pageIndex - 1); in onKey()
130 pagedView.snapToPage(pageIndex - 1); in onKey()
137 pagedView.snapToPage(pageIndex + 1); in onKey()
145 pagedView.snapToPage(pageIndex + 1); in onKey()
262 workspace.snapToPage(pageIndex + 1); in handleHotseatButtonKeyEvent()
353 workspace.snapToPage(newPageIndex); in handleIconKeyEvent()
355 workspace.snapToPage(newPageIndex); in handleIconKeyEvent()
368 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
373 workspace.snapToPage(pageIndex - 1); in handleIconKeyEvent()
[all …]
DWorkspace.java746 snapToPage(getNextPage() - 1, SNAP_OFF_EMPTY_SCREEN_DURATION); in removeExtraEmptyScreenDelayed()
750 snapToPage(getNextPage(), 0); in removeExtraEmptyScreenDelayed()
1332 protected void snapToPage(int whichPage, Runnable r) { in snapToPage() method in Workspace
1333 snapToPage(whichPage, SLOW_PAGE_SNAP_ANIMATION_DURATION, r); in snapToPage()
1336 protected void snapToPage(int whichPage, int duration, Runnable r) { in snapToPage() method in Workspace
1341 snapToPage(whichPage, duration); in snapToPage()
1349 snapToPage(getPageIndexForScreenId(screenId), r); in snapToScreenId()
1549 snapToPage(mCurrentPage); in showOutlinesTemporarily()
2685 snapToPage(snapScreen); in onDrop()
4411 snapToPage(page);
[all …]
DSpringLoadedDragController.java56 w.snapToPage(page); in onAlarm()
DLauncher.java3271 protected void showWorkspace(int snapToPage, boolean animated) { in showWorkspace() argument
3272 showWorkspace(snapToPage, animated, null); in showWorkspace()
3275 void showWorkspace(int snapToPage, boolean animated, Runnable onCompleteRunnable) { in showWorkspace() argument
3281 Workspace.State.NORMAL, snapToPage, animated, onCompleteRunnable); in showWorkspace()
3830 mWorkspace.snapToPage(newScreenIndex); in bindItems()
DWorkspaceStateTransitionAnimation.java309 mWorkspace.snapToPage(toPage, duration, mZoomInInterpolator); in animateWorkspace()
DFolderPagedView.java478 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()
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);
DSpringLoadedDragController.java56 w.snapToPage(page); in onAlarm()
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.java168 workspace.snapToPage(workspace.getPageIndexForScreenId(screenId)); in performAction()