Searched defs:pointsLength (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java105 * @param pointsLength The number of polygon vertices. So the length of poly should be len * 3.
109 private static int hull(@NonNull float[] points, int pointsLength, @NonNull float[] retPoly) { argument
110 quicksortX(points, 0, pointsLength - 1);
111 int n = pointsLength;
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp144 * @param pointsLength the number of vertices of the polygon.
146 void SpotShadow::xsort(Vector2* points, int pointsLength) { argument
150 std::sort(points, points + pointsLength, cmp);
157 * @param pointsLength the number of vertices of the polygon.
161 int SpotShadow::hull(Vector2* points, int pointsLength, Vector2* retPoly) { argument
162 xsort(points, pointsLength);
163 int n = pointsLength;

Completed in 252 milliseconds