Searched refs:primaryScroll (Results 1 – 1 of 1) sorted by relevance
1452 protected int getDestinationPage(int primaryScroll) { in getDestinationPage() argument1453 return getPageNearestToCenterOfScreen(primaryScroll); in getDestinationPage()1460 private int getPageNearestToCenterOfScreen(int primaryScroll) { in getPageNearestToCenterOfScreen() argument1461 int screenCenter = getScreenCenter(primaryScroll); in getPageNearestToCenterOfScreen()1484 int primaryScroll = mOrientationHandler.getPrimaryScroll(this); in getDisplacementFromScreenCenter() local1485 int screenCenter = getScreenCenter(primaryScroll); in getDisplacementFromScreenCenter()1489 private int getScreenCenter(int primaryScroll) { in getScreenCenter() argument1493 return Math.round(primaryScroll + (pageOrientationSize / 2f - primaryPivot) / primaryScale in getScreenCenter()