Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e033119b authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Fix PointerMotionFilter coordinates when a display is rotated

In native input stack, most coordinates are in physical display space,
while in Java layer, most coordinates are in logical display space.

When sending a relative motionve to A11yPointerMotionFilter, we need to
consider this difference, and apply transform to delta and current
pointer potision.

Bug: 429089833
Test: PointerChoreographerTest
Flag: com.android.server.accessibility.enable_magnification_follows_mouse_with_pointer_motion_filter
Change-Id: I3f695f230bb02c0a6393e8bcb2a011de5b48ea5f
parent d9e3619d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment