Searched refs:penumbra (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
D | SpotShadow.cpp | 432 Vector2 penumbra[allocatedPenumbraLength]; in createSpotShadow() local 492 penumbra[penumbraIndex++] = outlineData[i].position + in createSpotShadow() 561 dumpPolygon(penumbra, penumbraLength, "penumbra"); in createSpotShadow() 574 int finalPenumbraLength = hull(penumbra, penumbraLength, finalPenumbra); in createSpotShadow() 676 inline void genNewPenumbraAndPairWithUmbra(const Vector2* penumbra, int penumbraLength, in genNewPenumbraAndPairWithUmbra() argument 681 int previousClosestUmbraIndex = getClosestUmbraIndex(penumbra[penumbraLength - 1], in genNewPenumbraAndPairWithUmbra() 684 const Vector2& currentPenumbraVertex = penumbra[i]; in genNewPenumbraAndPairWithUmbra() 748 const Vector2& previousPenumbra = penumbra[(i + penumbraLength - 1) % penumbraLength]; in genNewPenumbraAndPairWithUmbra() 836 Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength, in generateTriangleStrip() argument 893 genNewPenumbraAndPairWithUmbra(penumbra, penumbraLength, umbra, umbraLength, newPenumbra, in generateTriangleStrip()
|
D | SpotShadow.h | 60 Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
D | SpotShadow.java | 499 float[] penumbra = new float[k * 2]; in calcShadow() local 500 int penumbraLength = hull(shadowRegion, shadowRegionLength, penumbra); in calcShadow() 527 triangulateConcentricPolygon(penumbra, penumbraLength, umbra, umbraLength, rays, layers, in calcShadow() 544 private static void triangulateConcentricPolygon(@NonNull float[] penumbra, int penumbraLength, in triangulateConcentricPolygon() argument 561 t1[i] = rayIntersectPoly(penumbra, penumbraLength, cx, cy, dx, dy); in triangulateConcentricPolygon()
|