Searched refs:currentAngle (Results 1 – 4 of 4) 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()630 const float currentAngle = getPointAngle(sampledInputXs, sampledInputYs, i); in updateAlignPointProbabilities() local659 if (currentAngle < ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()676 skipProbability *= (M_PI_F - currentAngle) / M_PI_F * ProximityInfoParams::ANGLE_WEIGHT in updateAlignPointProbabilities()678 if (currentAngle > ProximityInfoParams::DEEP_CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()686 && currentAngle > ProximityInfoParams::CORNER_ANGLE_THRESHOLD) { in updateAlignPointProbabilities()700 const float speedMultipliedByAngleRate = std::min(speedRate * currentAngle / M_PI_F in updateAlignPointProbabilities()
636 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray() local640 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()643 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()644 if ((currentAngle - angles[start]) * direction >= 0) { in convertToConvexArray()
678 private void setCurrentAngle(float currentAngle) { in setCurrentAngle() argument679 mCurrentAngle = currentAngle; in setCurrentAngle()