Home | History | Annotate | Download | only in hwui

Lines Matching defs:testPoint

280  * @param testPoint the point to test
282 * @return true if the testPoint is inside the poly.
284 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint,
287 float testx = testPoint.x;
288 float testy = testPoint.y;
1096 Vector2 testPoint;
1097 testPoint.x = lowerBound.x + randomX * (upperBound.x - lowerBound.x);
1098 testPoint.y = lowerBound.y + randomY * (upperBound.y - lowerBound.y);
1101 if (testPointInsidePolygon(testPoint, intersection, intersectionLength)) {
1102 if (!testPointInsidePolygon(testPoint, poly1, poly1Length)) {
1106 testPoint.x, testPoint.y);
1109 if (!testPointInsidePolygon(testPoint, poly2, poly2Length)) {
1113 testPoint.x, testPoint.y);