commit | 12c0fcb32ba474deb697d4d6ebe338e7e55a8077 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Dec 17 13:40:44 2021 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Tue Jan 04 10:02:04 2022 -0800 |
tree | d4128c94ad86882d268fbe507ced82e2d3a294b4 | |
parent | 38e78ac1e8d5006248f209fa7796faeea8feca66 [diff] |
Set touch and tool resolution in TouchInputMapper Currently, the resolution is not propagated from the raw axes to the oriented axes. That means that the upper layers can't learn about the physical size of the touch. In this CL, the resolution is populated from the raw axes. This is done both for TOOL_MAJOR / MINOR and TOUCH_MAJOR / MINOR. Bug: 198472780 Test: atest inputflinger_tests Change-Id: I29893df281f65c792277b405362f803f746526a5