tree: 49bb291c21a8b478e1dee0a4e674e3e59083aa52 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. empty_filter.cc
  4. empty_filter.h
  5. empty_filter_unittests.cc
  6. empty_predictor.cc
  7. empty_predictor.h
  8. input_filter.h
  9. input_predictor.h
  10. input_predictor_unittest_helpers.cc
  11. input_predictor_unittest_helpers.h
  12. kalman_filter.cc
  13. kalman_filter.h
  14. kalman_predictor.cc
  15. kalman_predictor.h
  16. kalman_predictor_unittest.cc
  17. least_squares_predictor.cc
  18. least_squares_predictor.h
  19. least_squares_predictor_unittest.cc
  20. linear_predictor.cc
  21. linear_predictor.h
  22. linear_predictor_unittest.cc
  23. linear_resampling.cc
  24. linear_resampling.h
  25. linear_resampling_unittest.cc
  26. one_euro_filter.cc
  27. one_euro_filter.h
  28. one_euro_filter_unittests.cc
  29. OWNERS
  30. prediction_metrics_handler.cc
  31. prediction_metrics_handler.h
  32. prediction_metrics_handler_unittest.cc
  33. prediction_unittest_helpers.h
  34. README.md
ui/base/prediction/README.md

#ui/base/prediction This directory implements general purpose predictors.

Examples of usage in scrolling can be found at third_party/blink/renderer/ platform/widget/input/scroll_predictor.cc.

PredictionMetricsHandler

Metrics from all predictors are logged by PredictorMetricsHandler.

This is an example of the points used by PredictionMetricsHandler::ComputeFrameOverUnderPredictionMetric.

The analogous is valid for ComputeOverUnderPredictionMetric, using interpolated_ instead of frame_interpolated_

ComputeOverUnderPredictionMetric Overview