Home
last modified time | relevance | path

Searched refs:poly1length (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
196 makeClockwise(poly1, poly1length); in intersection()
198 float[] poly = new float[(poly1length * poly2length + 2) * 2]; in intersection()
201 for (int i = 0; i < poly1length; i++) { in intersection()
211 if (pointInsidePolygon(poly2[i * 2], poly2[i * 2 + 1], poly1, poly1length)) { in intersection()
218 if (fromP1 == poly1length) { // use p1 in intersection()
219 for (int i = 0; i < poly1length; i++) { in intersection()
223 return poly1length; in intersection()
230 for (int j = 0; j < poly1length; j++) { in intersection()
234 int j2_by_2 = ((j + 1) % poly1length) * 2; in intersection()