Searched refs:centroid3d (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/hwui/ |
D | AmbientShadow.cpp | 167 const Vector3* casterVertices, int casterVertexCount, const Vector3& centroid3d, in createAmbientShadow() argument 176 Vector2 currentSpike = {casterVertices[0].x - centroid3d.x, in createAmbientShadow() 177 casterVertices[0].y - centroid3d.y}; in createAmbientShadow() 261 innerNext, centroid3d); in createAmbientShadow() 297 getAlphaFromFactoredZ(centroid3d.z * heightFactor); in createAmbientShadow() 299 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], centroid3d.x, in createAmbientShadow() 300 centroid3d.y, centroidOpacity); in createAmbientShadow()
|
D | AmbientShadow.h | 35 int polyLength, const Vector3& centroid3d, float heightFactor,
|
D | TessellationCache.cpp | 241 Vector3 centroid3d = {centroid.x, centroid.y, 0}; in tessellateShadows() local 242 mapPointFakeZ(centroid3d, casterTransformXY, casterTransformZ); in tessellateShadows() 250 centroid3d.z += casterLift; in tessellateShadows() 261 isCasterOpaque, casterPolygon, casterVertexCount, centroid3d, in tessellateShadows() 265 isCasterOpaque, casterPolygon, casterVertexCount, centroid3d, in tessellateShadows()
|
D | ShadowTessellator.cpp | 33 const Vector3& centroid3d, const Rect& casterBounds, in tessellateAmbientShadow() argument 57 casterVertexCount, centroid3d, heightFactor, geomFactor, in tessellateAmbientShadow()
|
D | ShadowTessellator.h | 73 const Vector3& centroid3d, const Rect& casterBounds,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
D | SpotShadow.java | 76 private static void centroid3d(@NonNull float[] poly, int len, @NonNull float[] ret) { in centroid3d() method in SpotShadow 503 centroid3d(lightPoly, lightPolyLength, p); in calcShadow()
|