Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAmbientShadow.cpp219 const int cornerSlicesNumber = extraVerticesNumber + 1; // Minimal as 1. in createAmbientShadow() local
221 ALOGD("cornerSlicesNumber is %d", cornerSlicesNumber); in createAmbientShadow()
243 for (int j = 0; j <= cornerSlicesNumber; j++) { in createAmbientShadow()
245 previousNormal * (cornerSlicesNumber - j) + currentNormal * j; in createAmbientShadow()
246 averageNormal /= cornerSlicesNumber; in createAmbientShadow()
259 } else if (j == cornerSlicesNumber) { in createAmbientShadow()