Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.h63 static int setupPolyAngleList(float* polyAngleList, int polyAngleLength,
66 static bool checkPolyClockwise(int polyAngleLength, int maxPolyAngleIndex,
DSpotShadow.cpp957 bool SpotShadow::checkPolyClockwise(int polyAngleLength, int maxPolyAngleIndex, in checkPolyClockwise() argument
961 for (int i = 0; i < polyAngleLength - 1; i++) { in checkPolyClockwise()
962 float currentAngle = polyAngleList[(i + maxPolyAngleIndex) % polyAngleLength]; in checkPolyClockwise()
963 float nextAngle = polyAngleList[(i + maxPolyAngleIndex + 1) % polyAngleLength]; in checkPolyClockwise()
1176 int SpotShadow::setupPolyAngleList(float* polyAngleList, int polyAngleLength, in setupPolyAngleList() argument
1180 for (int i = 0; i < polyAngleLength; i++) { in setupPolyAngleList()
1263 int polyAngleLength = hasOccludedUmbraArea ? polyLength : 0; in convertPolysToVerticesPerRay() local
1264 float polyAngleList[polyAngleLength]; in convertPolysToVerticesPerRay()
1270 …const int maxPolyAngleIndex = setupPolyAngleList(polyAngleList, polyAngleLength, poly2d, centroid); in convertPolysToVerticesPerRay()
1273 bool isPolyCW = checkPolyClockwise(polyAngleLength, maxPolyAngleIndex, polyAngleList); in convertPolysToVerticesPerRay()