Searched refs:poly2 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
D | SpotShadow.java | 186 private static int intersection(@NonNull float[] poly1, int poly1length, @NonNull float[] poly2, in intersection() argument 189 makeClockwise(poly2, poly2length); in intersection() 194 if (pointInsidePolygon(poly1[i * 2 + 0], poly1[i * 2 + 1], poly2, poly2length)) { in intersection() 203 if (pointInsidePolygon(poly2[i * 2 + 0], poly2[i * 2 + 1], poly1, poly1length)) { in intersection() 204 poly[count * 2 + 0] = poly2[i * 2 + 0]; in intersection() 205 poly[count * 2 + 1] = poly2[i * 2 + 1]; in intersection() 212 poly2[i * 2 + 0] = poly1[i * 2 + 0]; in intersection() 213 poly2[i * 2 + 1] = poly1[i * 2 + 1]; in intersection() 228 lineIntersection(poly2[i1_by_2 + 0], poly2[i1_by_2 + 1], poly2[i2_by_2 + 0], in intersection() 229 poly2[i2_by_2 + 1], poly1[j1_by_2 + 0], poly1[j1_by_2 + 1], in intersection() [all …]
|
/frameworks/base/libs/hwui/ |
D | SpotShadow.h | 67 const Vector2* poly2, int poly2Length,
|
D | SpotShadow.cpp | 1078 const Vector2* poly2, int poly2Length, in testIntersection() argument 1087 updateBound(poly2[i], lowerBound, upperBound); in testIntersection() 1109 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) { in testIntersection() 1126 dumpPolygon(poly2, poly2Length, "poly 2"); in testIntersection()
|