#include "ui/base/prediction/least_squares_predictor.h"
#include <algorithm>
#include "ui/base/ui_base_features.h"
namespace ui {
namespace {
static bool SolveLeastSquares(const gfx::Matrix3F& x,
const std::deque<double>& y,
gfx::Vector3dF& result) { … }
}
LeastSquaresPredictor::LeastSquaresPredictor() { … }
LeastSquaresPredictor::~LeastSquaresPredictor() { … }
const char* LeastSquaresPredictor::GetName() const { … }
void LeastSquaresPredictor::Reset() { … }
void LeastSquaresPredictor::Update(const InputData& cur_input) { … }
bool LeastSquaresPredictor::HasPrediction() const { … }
gfx::Matrix3F LeastSquaresPredictor::GetXMatrix() const { … }
std::unique_ptr<InputPredictor::InputData>
LeastSquaresPredictor::GeneratePrediction(base::TimeTicks predict_time,
base::TimeDelta frame_interval) { … }
base::TimeDelta LeastSquaresPredictor::TimeInterval() const { … }
}