MotionEvent: Transform mouse cursor position

When calling MotionEvent::applyTransform, the x/y coordinates for all
PointerCoords are transformed accordingly. When this happens, we also
need to transform the mouse cursor position.

Bug: 179274888
Test: atest InputShellCommandTest (when the display is rotated to
different orientations)

Change-Id: I10db8238150b1bd20f3f53c3a7514a111e362adb
1 file changed