Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/view/shadow/
DHighQualityShadowPainter.java84 … AmbientShadowTriangulator ambientTriangulator = new AmbientShadowTriangulator(ambientConfig); in paintRectShadow() local
85 ambientTriangulator.triangulate(); in paintRectShadow()
112 if (ambientTriangulator.isValid()) { in paintRectShadow()
113 float[] shadowBounds = Math3DHelper.flatBound(ambientTriangulator.getVertices(), 2); in paintRectShadow()
150 if (ambientTriangulator.isValid()) { in paintRectShadow()
152 Math3DHelper.translate(ambientTriangulator.getVertices(), translateX, translateY, 2); in paintRectShadow()
153 … renderer.drawTriangles(ambientTriangulator.getIndices(), ambientTriangulator.getVertices(), in paintRectShadow()
154 ambientTriangulator.getColors(), ambientConfig.getShadowStrength()); in paintRectShadow()