| commit | 4958d061f2f4bba86ddb9d4bdde1dc0dd783c71a | [log] [tgz] |
|---|---|---|
| author | Chris Ye <lzye@google.com> | Thu Aug 20 13:21:10 2020 -0700 |
| committer | Chris Ye <lzye@google.com> | Fri Aug 21 08:43:49 2020 -0700 |
| tree | 8e2f64577dd4c9f7746391083f17ba2771cff971 | |
| parent | a30728a7b457669dd7eaefa13ed09c6ba76fcdc6 [diff] |
Optimize memory usage of InputEvent lookup. Move the declaration of look up map to cpp file from header file to avoid duplicate copies. Bug: 165527068 Bug: 165398580 Bug: 165035349 Test: atest libinput_tests, atest inputflinger_tests adb shell showmap <system_server pid> | grep input Check libinput.so and libinput_reader.so size to be 300 and 372KB. Change-Id: Ia80200b7889f16ce576637d746e64641f3f2a094