Use mTimeStamp rather than mTime for APZ velocity computations
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: botond, Assigned: botond)
References
Details
Attachments
(3 files)
mTime
is not always set correctly, e.g. on Linux for synthesized events (we ran into this in bug 1621781). mTimeStamp
is newer, higher resolution, and a nicer API to use. We should try to switch APZ over to using mTimeStamp
if possible.
Assignee | ||
Comment 1•5 years ago
•
|
||
There are gtest failures, I'm guessing due to gtests not setting mTimeStamp
correctly.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Activating pinch locking means we are locked into a two-finger pan
(no scaling), which can trigger a fling animation at the end. We
track velocity via UpdateWithTouchAtDevicePoint() while pinch locked.
We need to call StartTouch() when we start tracking velocity.
Depends on D77979
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D77980
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7534525df6af
https://hg.mozilla.org/mozilla-central/rev/67ce8c8ddafe
https://hg.mozilla.org/mozilla-central/rev/702cb5d63666
Description
•