Searched refs:currentAngle (Results 1 – 2 of 2) sorted by relevance
378 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray() local382 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()385 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()386 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
113 const float currentAngle = GeometryUtils::getAngle( in updateTouchPoints() local115 sumAngle += GeometryUtils::getAngleDiff(prevAngle, currentAngle); in updateTouchPoints()634 const float currentAngle = getPointAngle(sampledInputXs, sampledInputYs, i); in updateAlignPointProbabilities() local663 if (currentAngle < ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()680 skipProbability *= (M_PI_F - currentAngle) / M_PI_F * ProximityInfoParams::ANGLE_WEIGHT in updateAlignPointProbabilities()682 if (currentAngle > ProximityInfoParams::DEEP_CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()690 && currentAngle > ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()704 const float speedMultipliedByAngleRate = std::min(speedRate * currentAngle / M_PI_F in updateAlignPointProbabilities()