diff options
| author | 2022-09-08 22:03:30 +0000 | |
|---|---|---|
| committer | 2022-09-12 15:53:50 +0000 | |
| commit | c04d04de31c346c1ccfa9f94fed715c07ac42986 (patch) | |
| tree | 5344d27e76b931f0f609f3a0c10aaf2cdecdb3e2 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 7fa3483dfb0b6eefdb8eeb990172d673bbed2665 (diff) | |
Resolve associated display and pointer display in CursorInputMapper
An InputDevice can be associated with a display, in which case it should
only generate events for that display. A mouse generally generates
events for whichever display is currently showing the mouse cursor.
In the case where a mouse InputDevice is associated with a display, we
need to make sure that it only generates events when the mouse cursor is
on the associated display.
Additionally, any display-dependent configuration, such as orientation,
should depend on whichever display the device is configured for.
Bug: 236075874
Test: atest inputflinger_tests
Change-Id: I1021c121c1eae768585124d312f5187be90da666
Merged-In: I1021c121c1eae768585124d312f5187be90da666
(cherry picked from commit c13ff081db31e93ee3b0a96bb007704c61d10a02)
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions