Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java195 float[] poly1, int poly1length, float[] poly2, int poly2length) { in intersection() argument
197 makeClockwise(poly2, poly2length); in intersection()
198 float[] poly = new float[(poly1length * poly2length + 2) * 2]; in intersection()
202 if (pointInsidePolygon(poly1[i * 2], poly1[i * 2 + 1], poly2, poly2length)) { in intersection()
210 for (int i = 0; i < poly2length; i++) { in intersection()
225 if (fromP2 == poly2length) { // use p2 in intersection()
226 return poly2length; in intersection()
229 for (int i = 0; i < poly2length; i++) { in intersection()
232 int i2_by_2 = ((i + 1) % poly2length) * 2; in intersection()