diff options
| author | 2018-12-18 17:41:29 +0800 | |
|---|---|---|
| committer | 2019-01-03 18:00:47 +0800 | |
| commit | c7ad2d0423e9cab841503f3ebf482015322779be (patch) | |
| tree | 9dd0c2f663d13b2b831ad0c91e9f88240d300dd9 /libs/gui/LayerDebugInfo.cpp | |
| parent | 69ca43e36679de0795967be37b54304e7793c71c (diff) | |
Support mouse pointer on external displays (1/2)
If input source is mouse, InputTouchMapper and CursorInputMapper will assign
a PointerController which associated with some display.
When dispatch a motion event, it should be assigned the displayId from
PointerController.
- Add getDisplayId for PointerControllerInterface to get the current
associated display id.
- Add updatePointerDisplay for InputReaderPolicyInterface to find and
associate the specified display viewport.
- Add test cases for TouchInputMapper and CursorInputMapper.
Bug: 113559891
Test: ActivityView test app
Test: atest inputflinger_tests
Change-Id: I43f848041a7c727f74ad3e00eef546498a7d9314
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions