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.java618 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument
619 int total = xCoordinates.length; in convertToConvexArray()
629 if (xCoordinates[i] <= -1) { in convertToConvexArray()
637 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()
644 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
653 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()
657 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()