Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowVertexCalculator.java90 int umbraLength = 0; in calculateShadow() local
113 if (umbraLength == 0) { in calculateShadow()
117 umbraLength = polyLength; in calculateShadow()
119 umbraLength = Math3DHelper.intersection(outline, polyLength, umbra, umbraLength); in calculateShadow()
120 if (umbraLength == 0) { in calculateShadow()
130 if (umbraLength < 3) {// no real umbra make a fake one in calculateShadow()
153 umbraLength = polyLength; // same size as the original polygon in calculateShadow()
156 Math3DHelper.donutPie2(penumbra, penumbraLength, umbra, umbraLength, rays, in calculateShadow()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java448 float[] umbra, int umbraLength, int rays, int layers, float strength, in donutPie2() argument
454 centroid2d(umbra, umbraLength, retxy); in donutPie2()
464 t2[i] = rayIntersectPoly(umbra, umbraLength, cx, cy, dx, dy, 2)[0]; in donutPie2()