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

/frameworks/base/libs/hwui/
H A DShadowTessellator.cpp167 if (vector1.lengthSquared() == 0 || vector2.lengthSquared() == 0) {
H A DVector.h35 float lengthSquared() const { return x * x + y * y; } function in struct:android::uirenderer::Vector2
H A DSpotShadow.cpp610 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared();
678 (currentPenumbraVertex - umbra[previousClosestUmbraIndex]).lengthSquared();
683 float newLengthSquared = (currentPenumbraVertex - umbra[newUmbraIndex]).lengthSquared();
1110 ALOGD("Intersetion i, %d Vs i-1 is delta %f", i, delta.lengthSquared());

Completed in 76 milliseconds