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

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp528 // Now, ratioVI = VI / VC, ratioIC = IC / VC
529 // Then the intersetion point can be computed as Ixy = Vxy * ratioIC + Cxy * ratioVI;
536 // The ratio can be simulated by using the inverse of maximum of ratioVI for
545 float ratioVI = outlineData[i].radius / distOutline; local
546 minRaitoVI = std::min(minRaitoVI, ratioVI);
547 if (ratioVI >= (1 - FAKE_UMBRA_SIZE_RATIO)) {
548 ratioVI = (1 - FAKE_UMBRA_SIZE_RATIO);
553 float ratioIC = 1 - ratioVI;
554 umbra[i] = outlineData[i].position * ratioIC + outlineCentroid * ratioVI;

Completed in 48 milliseconds