Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.cpp441 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint, in testPointInsidePolygon() argument
444 double testx = testPoint.x; in testPointInsidePolygon()
445 double testy = testPoint.y; in testPointInsidePolygon()
1627 Vector2 testPoint; in testIntersection() local
1628 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x); in testIntersection()
1629 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y); in testIntersection()
1632 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) { in testIntersection()
1633 if (!testPointInsidePolygon(testPoint, poly1, poly1Length)) { in testIntersection()
1637 testPoint.x, testPoint.y); in testIntersection()
1640 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) { in testIntersection()
[all …]
DSpotShadow.h92 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len);