Skip to content

In InputModelerState, distinguish between total time elapsed and elapsed time of the last modeled input#521

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_876277703
Open

In InputModelerState, distinguish between total time elapsed and elapsed time of the last modeled input#521
copybara-service[bot] wants to merge 1 commit intomainfrom
test_876277703

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Feb 27, 2026

In InputModelerState, distinguish between total time elapsed and elapsed time of the last modeled input

This refactor makes the modeling code more uniform in how it calculates traveled distance and elapsed time, factors out a bit more bookkeeping from individual input modeler implementations into the StrokeInputModeler core, and helps us be a little more disciplined about using real-input vs. full-stroke elapsed time in tip modeler calculations.

…apsed time of the last modeled input

This refactor makes the modeling code more uniform in how it calculates traveled distance and elapsed time, factors out a bit more bookkeeping from individual input modeler implementations into the `StrokeInputModeler` core, and helps us be a little more disciplined about using real-input vs. full-stroke elapsed time in tip modeler calculations.

PiperOrigin-RevId: 876277703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants