chromium/ui/events/gestures/fling_curve.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/events/gestures/fling_curve.h"

#include <algorithm>
#include <cmath>

#include "base/check_op.h"

namespace {

const float kDefaultAlpha =;
const float kDefaultBeta =;
const float kDefaultGamma =;

inline double GetPositionAtTime(double t) {}

inline double GetVelocityAtTime(double t) {}

inline double GetTimeAtVelocity(double v) {}

}  // namespace

namespace ui {

FlingCurve::FlingCurve(const gfx::Vector2dF& velocity,
                       base::TimeTicks start_timestamp)
    :{}

FlingCurve::~FlingCurve() {}

bool FlingCurve::ComputeScrollOffset(base::TimeTicks time,
                                     gfx::Vector2dF* offset,
                                     gfx::Vector2dF* velocity) {}

bool FlingCurve::ComputeScrollDeltaAtTime(base::TimeTicks current,
                                          gfx::Vector2dF* delta) {}

}  // namespace ui