Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/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()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java625 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local
633 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()
640 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()
652 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
655 angles[j] = lastAngle; in convertToConvexArray()
656 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()