Home
last modified time | relevance | path

Searched refs:getPageNearestToCenterOfScreen (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1217 mNextPage = getPageNearestToCenterOfScreen(); in onTouchEvent()
1225 mNextPage = getPageNearestToCenterOfScreen(finalX); in onTouchEvent()
1378 public int getPageNearestToCenterOfScreen() { in getPageNearestToCenterOfScreen() method
1379 return getPageNearestToCenterOfScreen(getScrollX()); in getPageNearestToCenterOfScreen()
1382 private int getPageNearestToCenterOfScreen(int scaledScrollX) { in getPageNearestToCenterOfScreen() method
1402 snapToPage(getPageNearestToCenterOfScreen(), getPageSnapDuration()); in snapToDestination()
DWorkspace.java359 int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen()); in getWallpaperOffsetForCenterPage()
409 int currentPage = getPageNearestToCenterOfScreen(); in onDragStart()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitOverviewStateTouchHelper.java78 mRecentsView.setCurrentPage(mRecentsView.getPageNearestToCenterOfScreen()); in createSwipeDownToTaskAppAnimation()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java733 int centerPageIndex = getPageNearestToCenterOfScreen(); in loadVisibleTaskData()
1393 return getTaskViewAtByAbsoluteIndex(getPageNearestToCenterOfScreen()); in getTaskViewNearestToCenterOfScreen()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java816 int nearestPage = mRecentsView.getPageNearestToCenterOfScreen(); in handleNormalGestureEnd()