summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Chris Ye <lzye@google.com> 2020-08-13 16:12:54 -0700
committer Chris Ye <lzye@google.com> 2020-08-14 09:03:58 -0700
commitfff9edb2c1975f0983ee1b17d918949b4a43a753 (patch)
tree2fe0ef0a2596022d2482b3a5c1ad6622e91361a1 /services/surfaceflinger/RegionSamplingThread.cpp
parent3b2e768ffb7ef0efc526bf03214e065ac9e519c9 (diff)
libinput : Accelerate key label lookup.
Add a map from key label to keycode, to avoid looping through all key names, and returns with O(log n) time complexity. Bug: 160010896 Test: atest inputflinger, atest libinput_tests Change-Id: I53c79421400e3e439172682969cbe185e8014a5a
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions