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
Loading
Please register or sign in to comment