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

Commit 66e121aa authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Implement PointerController#getPositionInLogicalDisplay

Currently PointerController#getPosition returns the absolute position by
applying the inverse display transform to internal logical position.

When the user needs logical position, they first get position, and apply
the display transform.
This unnecessary double transform can be avoided by providing getter of
both absolute and logical position.
This change does it.

Bug: 431622043
Test: PointerChoreographerTest
Test: PointerControllerTest
Flag: EXEMPT refactor
Change-Id: I1ecc5a88ddfe2f365a26a47ad4379e66f780e386
parent 0ab05452
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