HomeSort by relevance Sort by last modified time
    Searched full:max_start_velocity (Results 1 - 1 of 1) sorted by null

  /external/chromium_org/webkit/child/
touch_fling_gesture_curve.cc 97 float max_start_velocity = std::max(fabs(initial_velocity.x), local
100 // Force max_start_velocity to lie in the range v(0) to v(curve_duration),
103 if (max_start_velocity > velocity(0, coefficients_))
104 max_start_velocity = velocity(0, coefficients_);
106 if (max_start_velocity < 0)
107 max_start_velocity = 0;
111 displacement_ratio_ = WebFloatPoint(initial_velocity.x / max_start_velocity,
112 initial_velocity.y / max_start_velocity);
115 time_offset_ = timeAtVelocity(max_start_velocity, coefficients_);

Completed in 37 milliseconds