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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java106 * @param retPoly retPoly is at most the size of the input polygon
109 private static int hull(@NonNull float[] points, int pointsLength, @NonNull float[] retPoly) { argument
162 retPoly[count * 2 + 0] = lUpper[i * 2 + 0];
163 retPoly[count * 2 + 1] = lUpper[i * 2 + 1];
167 retPoly[count * 2 + 0] = lLower[i * 2 + 0];
168 retPoly[count * 2 + 1] = lLower[i * 2 + 1];
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp158 * @param retPoly pre allocated array of floats to put the vertices
161 int SpotShadow::hull(Vector2* points, int pointsLength, Vector2* retPoly) { argument
209 retPoly[outIndex] = lUpper[i];
214 retPoly[outIndex] = lLower[i];

Completed in 91 milliseconds