Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
DSpotShadow.java187 int poly2length) { in intersection() argument
189 makeClockwise(poly2, poly2length); in intersection()
190 float[] poly = new float[(poly1length * poly2length + 2) * 2]; in intersection()
194 if (pointInsidePolygon(poly1[i * 2 + 0], poly1[i * 2 + 1], poly2, poly2length)) { in intersection()
202 for (int i = 0; i < poly2length; i++) { in intersection()
217 if (fromP2 == poly2length) { // use p2 in intersection()
218 return poly2length; in intersection()
221 for (int i = 0; i < poly2length; i++) { in intersection()
224 int i2_by_2 = ((i + 1) % poly2length) * 2; in intersection()