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

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp303 * @param testPoint the point to test
305 * @return true if the testPoint is inside the poly.
307 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint, argument
310 float testx = testPoint.x;
311 float testy = testPoint.y;
1126 Vector2 testPoint; local
1127 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1128 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1131 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1132 if (!testPointInsidePolygon(testPoint, poly
[all...]
H A DSpotShadow.h55 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len);

Completed in 41 milliseconds