Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAmbientShadow.cpp167 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()
DAmbientShadow.h35 int polyLength, const Vector3& centroid3d, float heightFactor,
DTessellationCache.cpp241 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()
DShadowTessellator.cpp33 const Vector3& centroid3d, const Rect& casterBounds, in tessellateAmbientShadow() argument
57 casterVertexCount, centroid3d, heightFactor, geomFactor, in tessellateAmbientShadow()
DShadowTessellator.h73 const Vector3& centroid3d, const Rect& casterBounds,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
DSpotShadow.java76 private static void centroid3d(@NonNull float[] poly, int len, @NonNull float[] ret) { in centroid3d() method in SpotShadow
503 centroid3d(lightPoly, lightPolyLength, p); in calcShadow()