Files
onepilot/system
Shane Smiskol bbed1a2551 scroll: use iOS-style weighted velocity averaging for fling (#37659)
* scroll: use iOS-style weighted velocity averaging for fling

Weight older velocity samples more heavily on finger release to produce
more consistent fling velocities. The last touch samples before lift are
noisy (finger decelerating, rotating, jittering), so we trust the earlier
steadier samples more: 60% oldest, 35% middle, 5% newest.

Reverse-engineered from iOS UIScrollView by the Flutter team.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Update system/ui/lib/application.py

* Apply suggestions from code review

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 02:55:56 -07:00
..
2025-12-28 10:42:49 -08:00
2026-03-11 00:05:04 -07:00
2025-12-28 10:42:49 -08:00
2024-11-13 21:27:23 -08:00
2026-02-21 10:28:14 -08:00
2025-12-28 10:42:49 -08:00
2026-02-22 19:30:24 -08:00
2025-09-07 11:32:44 -07:00