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.java1209 mNextPage = getPageNearestToCenterOfScreen(); in onTouchEvent()
1217 mNextPage = getPageNearestToCenterOfScreen(finalX); in onTouchEvent()
1359 public int getPageNearestToCenterOfScreen() { in getPageNearestToCenterOfScreen() method
1360 return getPageNearestToCenterOfScreen(getScrollX()); in getPageNearestToCenterOfScreen()
1363 private int getPageNearestToCenterOfScreen(int scaledScrollX) { in getPageNearestToCenterOfScreen() method
1383 snapToPage(getPageNearestToCenterOfScreen(), getPageSnapDuration()); in snapToDestination()
DWorkspace.java361 int pageScroll = getScrollForPage(getPageNearestToCenterOfScreen()); in getWallpaperOffsetForCenterPage()
415 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/
DWindowTransformSwipeHandler.java756 .getPageNearestToCenterOfScreen()); in updateSysUiFlags()
1011 int nearestPage = mRecentsView.getPageNearestToCenterOfScreen(); in handleNormalGestureEnd()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java714 int centerPageIndex = getPageNearestToCenterOfScreen(); in loadVisibleTaskData()