Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp660 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex() local
661 if (currentLengthSquared < minLengthSquared) { in getClosestUmbraIndex()
665 minLengthSquared = currentLengthSquared; in getClosestUmbraIndex()
667 } else if (currentLengthSquared > minLengthSquared && hasDecreased) { in getClosestUmbraIndex()
726 float currentLengthSquared = in genNewPenumbraAndPairWithUmbra() local
733 if (newLengthSquared > currentLengthSquared) { in genNewPenumbraAndPairWithUmbra()
738 currentLengthSquared = newLengthSquared; in genNewPenumbraAndPairWithUmbra()