Lines Matching refs:mKeyRepeatState
250 mKeyRepeatState.lastKeyEntry = NULL; in InputDispatcher()
332 if (mKeyRepeatState.lastKeyEntry) { in dispatchOnceInnerLocked()
333 if (currentTime >= mKeyRepeatState.nextRepeatTime) { in dispatchOnceInnerLocked()
336 if (mKeyRepeatState.nextRepeatTime < *nextWakeupTime) { in dispatchOnceInnerLocked()
337 *nextWakeupTime = mKeyRepeatState.nextRepeatTime; in dispatchOnceInnerLocked()
686 if (mKeyRepeatState.lastKeyEntry) { in resetKeyRepeatLocked()
687 mKeyRepeatState.lastKeyEntry->release(); in resetKeyRepeatLocked()
688 mKeyRepeatState.lastKeyEntry = NULL; in resetKeyRepeatLocked()
693 KeyEntry* entry = mKeyRepeatState.lastKeyEntry; in synthesizeKeyRepeatLocked()
709 mKeyRepeatState.lastKeyEntry = newEntry; in synthesizeKeyRepeatLocked()
720 mKeyRepeatState.nextRepeatTime = currentTime + mConfig.keyRepeatDelay; in synthesizeKeyRepeatLocked()
762 if (mKeyRepeatState.lastKeyEntry in dispatchKeyLocked()
763 && mKeyRepeatState.lastKeyEntry->keyCode == entry->keyCode) { in dispatchKeyLocked()
768 entry->repeatCount = mKeyRepeatState.lastKeyEntry->repeatCount + 1; in dispatchKeyLocked()
770 mKeyRepeatState.nextRepeatTime = LONG_LONG_MAX; // don't generate repeats ourselves in dispatchKeyLocked()
774 mKeyRepeatState.nextRepeatTime = entry->eventTime + mConfig.keyRepeatTimeout; in dispatchKeyLocked()
776 mKeyRepeatState.lastKeyEntry = entry; in dispatchKeyLocked()