diff options
| author | 2022-11-07 12:10:56 +0000 | |
|---|---|---|
| committer | 2022-11-07 16:23:29 +0000 | |
| commit | 2d77f5589688e6a71e71557e323bb7068aa53e25 (patch) | |
| tree | 71231fa72da2a84c57a86b4288b44d5c9d738476 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 4e8e9b96c987f72208716ae4ffc7d744e8bf44c4 (diff) | |
Put MultiTouchMotionAccumulator in its own files
This will let us use it in the new TouchpadInputMapper.
The change mostly just moves the code into new files, but also makes a
few other small cleanups:
* Directly includes stuff the code depends on, rather than indirectly
through EventHub.h
* Renames private variables of Slot to capitalize acronyms consistently
and in line with Google C++ style (i.e. any case of "AbsMT" replaced
with "AbsMt")
* Rewraps a comment in ::configure
* Uses ALOGW_IF to avoid another nested if block in ::process
* Put all the initializers on one line in the constructor, to satisfy
clang-format
The inline was also removed from Slot::getToolType, due to compile
errors complaining that it wasn't defined otherwise.
Bug: 251196347
Test: atest inputflinger_tests
Test: manual on device
Change-Id: I538178a2222904c5bab5622d257d7747842358a7
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions