Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowVertexCalculator.java82 int polyLength, in calculateShadow() argument
87 float[] shadowRegion = new float[lightPolyLength * polyLength * 2]; in calculateShadow()
88 float[] outline = new float[polyLength * 2]; in calculateShadow()
89 float[] umbra = new float[polyLength * lightPolyLength * 2]; in calculateShadow()
95 for (int i = 0; i < polyLength; i++) { in calculateShadow()
114 for (int i = 0; i < polyLength * 2; i++) { in calculateShadow()
117 umbraLength = polyLength; in calculateShadow()
119 umbraLength = Math3DHelper.intersection(outline, polyLength, umbra, umbraLength); in calculateShadow()
133 float[] centShadow = new float[polyLength * 2]; in calculateShadow()
134 for (int i = 0; i < polyLength; i++) { in calculateShadow()
[all …]
DSpotShadowConfig.java192 public Builder setPolygon(float[] poly, int polyLength) { in setPolygon() argument
194 this.mPolyLength = polyLength; in setPolygon()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java31 public static float[] rayIntersectPoly(float[] poly, int polyLength, float px, float py, in rayIntersectPoly() argument
33 int p1 = polyLength - 1; in rayIntersectPoly()
34 for (int p2 = 0; p2 < polyLength; p2++) { in rayIntersectPoly()
288 public static void sort(float[] poly, int polyLength, float[] ctr) { in sort() argument
289 quicksortCirc(poly, 0, polyLength - 1, ctr); in sort()