tree: b0c0ff9e8468c7fe0d34e4864232070b574aa3cf [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_filter_unittest_helpers.cc
  10. input_filter_unittest_helpers.h
  11. input_predictor.h
  12. input_predictor_unittest_helpers.cc
  13. input_predictor_unittest_helpers.h
  14. kalman_filter.cc
  15. kalman_filter.h
  16. kalman_predictor.cc
  17. kalman_predictor.h
  18. kalman_predictor_unittest.cc
  19. least_squares_predictor.cc
  20. least_squares_predictor.h
  21. least_squares_predictor_unittest.cc
  22. linear_predictor.cc
  23. linear_predictor.h
  24. linear_predictor_unittest.cc
  25. linear_resampling.cc
  26. linear_resampling.h
  27. linear_resampling_unittest.cc
  28. one_euro_filter.cc
  29. one_euro_filter.h
  30. one_euro_filter_unittests.cc
  31. OWNERS
  32. prediction_metrics_handler.cc
  33. prediction_metrics_handler.h
  34. prediction_metrics_handler_unittest.cc
  35. prediction_unittest_helpers.h
  36. 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