Searched refs:penumbraLength (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
D | SpotShadow.cpp | 555 int penumbraLength = penumbraIndex; in createSpotShadow() local 559 …ALOGD("penumbraLength is %d , allocatedPenumbraLength %d", penumbraLength, allocatedPenumbraLength… in createSpotShadow() 561 dumpPolygon(penumbra, penumbraLength, "penumbra"); in createSpotShadow() 572 Vector2 finalPenumbra[penumbraLength]; 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() 683 for (int i = 0; i < penumbraLength; 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 [all …]
|
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 | 500 int penumbraLength = hull(shadowRegion, shadowRegionLength, penumbra); in calcShadow() local 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()
|