summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-08-11 00:53:38 +0000
committer Siarhei Vishniakou <svv@google.com> 2022-08-13 01:33:57 +0000
commit88151b8fde4bb81f386644fc2671bd1d9563d5f2 (patch)
tree624fedfaf66ea2254e7a554b4f7e93bf08929b62 /libs/ultrahdr/jpegencoderhelper.cpp
parent1cf6d7f4cacfed91900c1af5d1a2872ae04dc8ff (diff)
Add test for heuristic palm rejection
For short strokes, the palm rejection code has a heuristic - large touches are canceled. Since the behaviour is currently present, let's add an integration test for it. Separately, we will also remove 'getLinuxToolType' here because tool_type is not used in the palm rejection code. However, tool_code is used in that code. So let's add getLinuxToolCode instead. This piece does not affect the behaviour of the palm rejection model, but it makes our inputs more correct. Bug: 241935838 Test: atest inputflinger_tests Change-Id: Ied9e185bdfc6e892cf3a1069b98101ca8ae9c74b
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions