Home | History | Annotate | Download | only in hwui

Lines Matching defs:testPoint

282  * @param testPoint the point to test
284 * @return true if the testPoint is inside the poly.
286 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint,
289 float testx = testPoint.x;
290 float testy = testPoint.y;
1109 Vector2 testPoint;
1110 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1111 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1114 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1115 if (!testPointInsidePolygon(testPoint, poly1, poly1Length)) {
1119 testPoint.x, testPoint.y);
1122 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) {
1126 testPoint.x, testPoint.y);