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

/frameworks/base/libs/hwui/
H A DSpotShadow.h47 static void xsort(Vector2* points, int pointsLength);
48 static int hull(Vector2* points, int pointsLength, Vector2* retPoly);
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 64 milliseconds