Home
last modified time | relevance | path

Searched refs:keyDownIndex (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp272 std::optional<size_t> keyDownIndex = findKeyDownIndex(scanCode); in processKey() local
280 if (keyDownIndex) { in processKey()
282 keyCode = mKeyDowns[*keyDownIndex].keyCode; in processKey()
283 downTime = mKeyDowns[*keyDownIndex].downTime; in processKey()
284 flags = mKeyDowns[*keyDownIndex].flags; in processKey()
306 if (keyDownIndex) { in processKey()
308 keyCode = mKeyDowns[*keyDownIndex].keyCode; in processKey()
309 downTime = mKeyDowns[*keyDownIndex].downTime; in processKey()
310 flags = mKeyDowns[*keyDownIndex].flags; in processKey()
311 mKeyDowns.erase(mKeyDowns.begin() + *keyDownIndex); in processKey()
[all …]