Searched refs:distanceFromScreenCenter (Results 1 – 2 of 2) sorted by relevance
1392 int distanceFromScreenCenter = Math.abs(childCenter - screenCenter); in getPageNearestToCenterOfScreen() local1393 if (distanceFromScreenCenter < minDistanceFromScreenCenter) { in getPageNearestToCenterOfScreen()1394 minDistanceFromScreenCenter = distanceFromScreenCenter; in getPageNearestToCenterOfScreen()
714 float distanceFromScreenCenter = screenCenter - pageCenter; in updateCurveProperties() local717 Math.abs(distanceFromScreenCenter) / distanceToReachEdge); in updateCurveProperties()