Searched refs:ratioVI (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp551 // Now, ratioVI = VI / VC, ratioIC = IC / VC
552 // Then the intersetion point can be computed as Ixy = Vxy * ratioIC + Cxy * ratioVI;
559 // The ratio can be simulated by using the inverse of maximum of ratioVI for
568 float ratioVI = outlineData[i].radius / distOutline; local
569 minRaitoVI = MathUtils::min(minRaitoVI, ratioVI);
570 if (ratioVI >= (1 - FAKE_UMBRA_SIZE_RATIO)) {
571 ratioVI = (1 - FAKE_UMBRA_SIZE_RATIO);
576 float ratioIC = 1 - ratioVI;
577 umbra[i] = outlineData[i].position * ratioIC + outlineCentroid * ratioVI;

Completed in 45 milliseconds