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

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp280 * @param testPoint the point to test
282 * @return true if the testPoint is inside the poly.
284 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint, argument
287 float testx = testPoint.x;
288 float testy = testPoint.y;
1107 Vector2 testPoint; local
1108 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1109 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1112 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1113 if (!testPointInsidePolygon(testPoint, poly
[all...]

Completed in 9 milliseconds