Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1452 protected int getDestinationPage(int primaryScroll) { in getDestinationPage() argument
1453 return getPageNearestToCenterOfScreen(primaryScroll); in getDestinationPage()
1460 private int getPageNearestToCenterOfScreen(int primaryScroll) { in getPageNearestToCenterOfScreen() argument
1461 int screenCenter = getScreenCenter(primaryScroll); in getPageNearestToCenterOfScreen()
1484 int primaryScroll = mOrientationHandler.getPrimaryScroll(this); in getDisplacementFromScreenCenter() local
1485 int screenCenter = getScreenCenter(primaryScroll); in getDisplacementFromScreenCenter()
1489 private int getScreenCenter(int primaryScroll) { in getScreenCenter() argument
1493 return Math.round(primaryScroll + (pageOrientationSize / 2f - primaryPivot) / primaryScale in getScreenCenter()