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

Skip to content
Commit 45f12c3c authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

MotionEvent: Add relative X and Y fields to PointerCoords

PointerCoord's axes AXIS_RELATIVE_X and AXIS_RELATIVE_Y are affected by
the MotionEvent's transform because they need to be rotated according to
the window orientation.

We add fields for those axes in PointerCoords, and ensure they are
rotated when populating the java instance from a native one.

Bug: 179274888
Test: build, manual with test app
Change-Id: Iab529ee7841d616678b48d301c059c9bf1311231
parent d4fcf3ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment