Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DSpotShadowVertexCalculator.java133 float[] centShadow = new float[polyLength * 2]; in calculateShadow() local
143 centShadow[i * 2] = x; in calculateShadow()
144 centShadow[i * 2 + 1] = y; in calculateShadow()
147 Math3DHelper.centroid2d(centShadow, polyLength, c); in calculateShadow()
149 centShadow[i * 2] = (c[0] * 9 + centShadow[i * 2]) / 10; in calculateShadow()
150 centShadow[i * 2 + 1] = (c[1] * 9 + centShadow[i * 2 + 1]) / 10; in calculateShadow()
152 umbra = centShadow; // fake umbra in calculateShadow()