Searched refs:distanceFromScreenCenter (Results 1 – 2 of 2) sorted by relevance
1484 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen() local1485 if (distanceFromScreenCenter < minDistanceFromScreenCenter) { in getPageNearestToCenterOfScreen()1486 minDistanceFromScreenCenter = distanceFromScreenCenter; in getPageNearestToCenterOfScreen()
1788 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen() local1789 if (distanceFromScreenCenter < minDistanceFromScreenCenter) { in getPageNearestToCenterOfScreen()1790 minDistanceFromScreenCenter = distanceFromScreenCenter; in getPageNearestToCenterOfScreen()