Searched refs:distanceFromScreenCenter (Results 1 – 2 of 2) sorted by relevance
1373 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen() local1374 if (distanceFromScreenCenter < minDistanceFromScreenCenter) { in getPageNearestToCenterOfScreen()1375 minDistanceFromScreenCenter = distanceFromScreenCenter; in getPageNearestToCenterOfScreen()
695 float distanceFromScreenCenter = screenCenter - pageCenter; in updateCurveProperties() local698 Math.abs(distanceFromScreenCenter) / distanceToReachEdge); in updateCurveProperties()