[4/n CD Cursor] Use Pointer's display transform for motion events
We assume window's display id always matches pointer's display which is
no longer true. This can lead to motion events being incorrectly
transformed.
In this CL we update raw transform to use pointer's display instead to
ensure raw coordinates are always in pointer's display coordinate space.
Test: atest inputflinger_tests
Bug: 362719483
Flag: com.android.input.flags.connected_displays_cursor
Change-Id: If450ae1697bfac852b18c46a983ee75183f4c940
3 files changed