Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp1212 const float* polyAngleList, float rayAngle) { in getPolyEdgeStartIndex() argument
1215 if (rayAngle > polyAngleList[maxPolyAngleIndex] in getPolyEdgeStartIndex()
1216 || rayAngle <= polyAngleList[minPolyAngleIndex]) { in getPolyEdgeStartIndex()
1222 if (rayAngle <= polyAngleList[currentIndex] in getPolyEdgeStartIndex()
1223 && rayAngle > polyAngleList[nextIndex]) { in getPolyEdgeStartIndex()
1230 ALOGE("Wrong index found, means no edge can't be found for rayAngle %f", rayAngle); in getPolyEdgeStartIndex()
1300 float rayAngle = allVerticesAngleData[i].mAngle; in convertPolysToVerticesPerRay() local
1303 float dx = cosf(rayAngle); in convertPolysToVerticesPerRay()
1304 float dy = sinf(rayAngle); in convertPolysToVerticesPerRay()
1325 rayAngle, dx, dy); in convertPolysToVerticesPerRay()
[all …]
DSpotShadow.h73 const float* polyAngleList, float rayAngle);