Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DShadowTessellator.cpp258 if (vector1.lengthSquared() == 0 || vector2.lengthSquared() == 0) { in getExtraVertexNumber()
DVector.h32 float lengthSquared() const { in lengthSquared() function
DSpotShadow.cpp660 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex()
727 (currentPenumbraVertex - umbra[previousClosestUmbraIndex]).lengthSquared(); in genNewPenumbraAndPairWithUmbra()
732 float newLengthSquared = (currentPenumbraVertex - umbra[newUmbraIndex]).lengthSquared(); in genNewPenumbraAndPairWithUmbra()
1152 ALOGD("Intersetion i, %d Vs i-1 is delta %f", i, delta.lengthSquared()); in testIntersection()