Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java367 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local
375 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()
382 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()
394 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
397 angles[j] = lastAngle; in convertToConvexArray()
398 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java613 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local
621 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()
628 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()
640 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
643 angles[j] = lastAngle; in convertToConvexArray()
644 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()