velocity 221 content/browser/android/edge_effect.cc void EdgeEffect::Absorb(base::TimeTicks current_time, float velocity) { velocity 224 content/browser/android/edge_effect.cc dpi_scale_ * Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity); velocity 228 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(0.15f + (velocity * 0.02f)); velocity 39 content/browser/android/edge_effect.h void Absorb(base::TimeTicks current_time, float velocity); velocity 127 content/browser/android/overscroll_glow.cc gfx::Vector2dF velocity) { velocity 140 content/browser/android/overscroll_glow.cc velocity.set_x(0); velocity 144 content/browser/android/overscroll_glow.cc velocity.set_y(0); velocity 149 content/browser/android/overscroll_glow.cc velocity = ZeroSmallComponents(velocity); velocity 162 content/browser/android/overscroll_glow.cc if (!velocity.IsZero()) { velocity 164 content/browser/android/overscroll_glow.cc if (velocity.x() * old_velocity_.x() < 0) velocity 166 content/browser/android/overscroll_glow.cc if (velocity.y() * old_velocity_.y() < 0) velocity 169 content/browser/android/overscroll_glow.cc Absorb(current_time, velocity, overscroll, old_overscroll_); velocity 182 content/browser/android/overscroll_glow.cc old_velocity_ = velocity; velocity 297 content/browser/android/overscroll_glow.cc gfx::Vector2dF velocity, velocity 301 content/browser/android/overscroll_glow.cc if (overscroll.IsZero() || velocity.IsZero()) velocity 306 content/browser/android/overscroll_glow.cc old_overscroll.y() >= 0 && overscroll.y() < 0 ? min(velocity.y(), 0.f) : 0, velocity 307 content/browser/android/overscroll_glow.cc old_overscroll.x() >= 0 && overscroll.x() < 0 ? min(velocity.x(), 0.f) : 0, velocity 308 content/browser/android/overscroll_glow.cc old_overscroll.y() <= 0 && overscroll.y() > 0 ? max(velocity.y(), 0.f) : 0, velocity 309 content/browser/android/overscroll_glow.cc old_overscroll.x() <= 0 && overscroll.x() > 0 ? max(velocity.x(), 0.f) : 0 velocity 52 content/browser/android/overscroll_glow.h gfx::Vector2dF velocity); velocity 84 content/browser/android/overscroll_glow.h gfx::Vector2dF velocity, velocity 833 content/child/blink_platform_impl.cc const blink::WebFloatPoint& velocity, velocity 837 content/child/blink_platform_impl.cc velocity, velocity 842 content/child/blink_platform_impl.cc return fling_curve_configuration_->CreateForTouchScreen(velocity, velocity 845 content/child/blink_platform_impl.cc return fling_curve_configuration_->CreateForTouchPad(velocity, velocity 133 content/child/blink_platform_impl.h const blink::WebFloatPoint& velocity, velocity 33 content/child/fling_animator_impl_android.cc void FlingAnimatorImpl::StartFling(const gfx::PointF& velocity) { velocity 38 content/child/fling_animator_impl_android.cc DCHECK(velocity.x() || velocity.y()); velocity 45 content/child/fling_animator_impl_android.cc velocity.x(), velocity 46 content/child/fling_animator_impl_android.cc velocity.y(), velocity 87 content/child/fling_animator_impl_android.cc const blink::WebFloatPoint& velocity, velocity 90 content/child/fling_animator_impl_android.cc gesture_curve->StartFling(velocity); velocity 27 content/child/fling_animator_impl_android.h const blink::WebFloatPoint& velocity, velocity 33 content/child/fling_animator_impl_android.h void StartFling(const gfx::PointF& velocity); velocity 29 content/child/fling_curve_configuration.cc const blink::WebFloatPoint& velocity, velocity 40 content/child/fling_curve_configuration.cc return TouchFlingGestureCurve::Create(velocity, p0, p1, p2, velocity 45 content/child/fling_curve_configuration.cc const blink::WebFloatPoint& velocity, velocity 47 content/child/fling_curve_configuration.cc return CreateCore(touchpad_coefs_, velocity, cumulativeScroll); velocity 51 content/child/fling_curve_configuration.cc const blink::WebFloatPoint& velocity, velocity 53 content/child/fling_curve_configuration.cc return CreateCore(touchscreen_coefs_, velocity, cumulativeScroll); velocity 29 content/child/fling_curve_configuration.h const blink::WebFloatPoint& velocity, velocity 34 content/child/fling_curve_configuration.h const blink::WebFloatPoint& velocity, velocity 45 content/child/fling_curve_configuration.h const blink::WebFloatPoint& velocity, velocity 103 content/child/touch_fling_gesture_curve.cc if (max_start_velocity > velocity(0, coefficients_)) velocity 104 content/child/touch_fling_gesture_curve.cc max_start_velocity = velocity(0, coefficients_); velocity 136 content/child/touch_fling_gesture_curve.cc speed = velocity(time + time_offset_, coefficients_); velocity 28 content/child/touch_fling_gesture_curve_unittest.cc const WebFloatSize& velocity) OVERRIDE { velocity 31 content/child/touch_fling_gesture_curve_unittest.cc current_velocity_ = velocity; velocity 473 content/renderer/input/input_handler_proxy.cc const WebFloatSize& velocity) { velocity 478 content/renderer/input/input_handler_proxy.cc clipped_velocity.width = velocity.width; velocity 482 content/renderer/input/input_handler_proxy.cc clipped_velocity.height = velocity.height; velocity 55 content/renderer/input/input_handler_proxy.h const blink::WebFloatSize& velocity); velocity 34 content/renderer/input/input_handler_proxy_client.h const blink::WebFloatPoint& velocity, velocity 88 content/renderer/input/input_handler_proxy_unittest.cc FakeWebGestureCurve(const blink::WebFloatSize& velocity, velocity 90 content/renderer/input/input_handler_proxy_unittest.cc : velocity_(velocity), cumulative_scroll_(cumulative_scroll) {} velocity 128 content/renderer/input/input_handler_proxy_unittest.cc const WebFloatPoint& velocity, velocity 131 content/renderer/input/input_handler_proxy_unittest.cc blink::WebFloatSize(velocity.x, velocity.y), velocity 48 content/renderer/input/input_handler_wrapper.cc const blink::WebFloatPoint& velocity, velocity 51 content/renderer/input/input_handler_wrapper.cc deviceSource, velocity, cumulative_scroll); velocity 34 content/renderer/input/input_handler_wrapper.h const blink::WebFloatPoint& velocity, velocity 220 content/test/test_webkit_platform_support.cc const blink::WebFloatPoint& velocity, velocity 223 content/test/test_webkit_platform_support.cc return new WebGestureCurveMock(velocity, cumulative_scroll); velocity 68 content/test/test_webkit_platform_support.h const blink::WebFloatPoint& velocity, velocity 11 content/test/web_gesture_curve_mock.cc WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity, velocity 13 content/test/web_gesture_curve_mock.cc : velocity_(velocity), velocity 26 content/test/web_gesture_curve_mock.cc blink::WebFloatSize velocity(velocity_.x, velocity_.y); velocity 29 content/test/web_gesture_curve_mock.cc target->scrollBy(increment, velocity); velocity 17 content/test/web_gesture_curve_mock.h WebGestureCurveMock(const blink::WebFloatPoint& velocity, velocity 78 native_client_sdk/src/examples/demo/flock/flock.cc double heading = goose.velocity().Heading(); velocity 43 native_client_sdk/src/examples/demo/flock/goose.cc Goose::Goose(const Vector2& location, const Vector2& velocity) velocity 45 native_client_sdk/src/examples/demo/flock/goose.cc velocity_(velocity) { velocity 189 native_client_sdk/src/examples/demo/flock/goose.cc alignment->Add(goose.velocity()); velocity 23 native_client_sdk/src/examples/demo/flock/goose.h Goose(const Vector2& location, const Vector2& velocity); velocity 66 native_client_sdk/src/examples/demo/flock/goose.h Vector2 velocity() const { velocity 61 ui/events/gesture_detection/velocity_tracker_state.cc Velocity& velocity = calculated_velocity_[index]; velocity 62 ui/events/gesture_detection/velocity_tracker_state.cc velocity.vx = vx; velocity 63 ui/events/gesture_detection/velocity_tracker_state.cc velocity.vy = vy; velocity 90 ui/events/gesture_detection/velocity_tracker_state.cc const Velocity& velocity = calculated_velocity_[index]; velocity 91 ui/events/gesture_detection/velocity_tracker_state.cc vx = velocity.vx; velocity 92 ui/events/gesture_detection/velocity_tracker_state.cc vy = velocity.vy; velocity 443 ui/events/gestures/gesture_sequence.cc float CalibrateFlingVelocity(float velocity) { velocity 446 ui/events/gestures/gesture_sequence.cc float normalized_velocity = fabs(velocity * kFlingCurveNormalization); velocity 454 ui/events/gestures/gesture_sequence.cc if (velocity < 0.f) velocity 455 ui/events/gestures/gesture_sequence.cc return std::max(nu * velocity, -GestureConfiguration::fling_velocity_cap()); velocity 457 ui/events/gestures/gesture_sequence.cc return std::min(nu * velocity, GestureConfiguration::fling_velocity_cap()); velocity 245 ui/gfx/android/scroller.cc float velocity = std::sqrt(velocity_x * velocity_x + velocity_y * velocity_y); velocity 247 ui/gfx/android/scroller.cc velocity_ = velocity; velocity 248 ui/gfx/android/scroller.cc duration_ = GetSplineFlingDuration(velocity); velocity 255 ui/gfx/android/scroller.cc float coeff_x = velocity == 0 ? 1.0f : velocity_x / velocity; velocity 256 ui/gfx/android/scroller.cc float coeff_y = velocity == 0 ? 1.0f : velocity_y / velocity; velocity 258 ui/gfx/android/scroller.cc double total_distance = GetSplineFlingDistance(velocity); velocity 259 ui/gfx/android/scroller.cc distance_ = total_distance * Signum(velocity); velocity 419 ui/gfx/android/scroller.cc double Scroller::GetSplineDeceleration(float velocity) const { velocity 420 ui/gfx/android/scroller.cc return std::log(kInflexion * std::abs(velocity) / velocity 424 ui/gfx/android/scroller.cc base::TimeDelta Scroller::GetSplineFlingDuration(float velocity) const { velocity 425 ui/gfx/android/scroller.cc const double l = GetSplineDeceleration(velocity); velocity 432 ui/gfx/android/scroller.cc double Scroller::GetSplineFlingDistance(float velocity) const { velocity 433 ui/gfx/android/scroller.cc const double l = GetSplineDeceleration(velocity); velocity 108 ui/gfx/android/scroller.h double GetSplineDeceleration(float velocity) const; velocity 109 ui/gfx/android/scroller.h base::TimeDelta GetSplineFlingDuration(float velocity) const; velocity 110 ui/gfx/android/scroller.h double GetSplineFlingDistance(float velocity) const;