Lines Matching refs:keyDownIndex
272 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()
333 if (down && !keyDownIndex) { in processKey()