Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java359 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument
360 int total = xCoordinates.length; in convertToConvexArray()
370 if (xCoordinates[i] <= -1) { in convertToConvexArray()
378 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()
385 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
394 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
398 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java605 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument
606 int total = xCoordinates.length; in convertToConvexArray()
616 if (xCoordinates[i] <= -1) { in convertToConvexArray()
624 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()
631 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
640 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
644 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()