Lines Matching defs:acc
66 double threshold, double acc);
755 double velocity, double threshold, double acc)
760 result = vel->Profile(dev, vel, velocity, threshold, acc);
775 DeviceVelocityPtr vel, double threshold, double acc)
793 BasicComputeAcceleration(dev, vel, vel->velocity, threshold, acc);
796 acc);
802 acc);
809 vel->velocity, threshold, acc);
827 double velocity, double ignored, double acc)
829 return pow(velocity, (acc - 1.0) * 0.5);
839 double velocity, double threshold, double acc)
842 return SimpleSmoothProfile(dev, vel, velocity, threshold, acc);
845 return PolynomialAccelerationProfile(dev, vel, velocity, 0, acc);
860 double velocity, double threshold, double acc)
864 acc = (acc - 1.0) * 0.1 + 1.0; /* without this, acc of 2 is unuseable */
869 return (pow(acc, vel_dist)) * vel->min_acceleration;
894 double velocity, double threshold, double acc)
903 if (velocity >= acc)
904 return acc;
906 return 1.0f + (CalcPenumbralGradient(velocity / acc) * (acc - 1.0f));
916 double velocity, double threshold, double acc)
920 if (acc > 1.0)
921 acc -= 1.0; /*this is so acc = 1 is no acceleration */
925 nv = (velocity - threshold) * acc * 0.5;
949 double velocity, double threshold, double acc)
954 return acc;
958 res = CalcPenumbralGradient(velocity) * (acc - vel->min_acceleration);
966 double velocity, double threshold, double acc)
968 return acc * velocity;
973 DeviceVelocityPtr vel, double velocity, double threshold, double acc)