Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java43 private static final int RECENT_EVENTS_TO_LOG = 5; field in InputEventConsistencyVerifier
676 if (RECENT_EVENTS_TO_LOG != 0 && mRecentEvents != null) { in finishEvent()
678 for (int i = 0; i < RECENT_EVENTS_TO_LOG; i++) { in finishEvent()
679 final int index = (mMostRecentEventIndex + RECENT_EVENTS_TO_LOG - i) in finishEvent()
680 % RECENT_EVENTS_TO_LOG; in finishEvent()
699 if (RECENT_EVENTS_TO_LOG != 0) { in finishEvent()
701 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
702 mRecentEventsUnhandled = new boolean[RECENT_EVENTS_TO_LOG]; in finishEvent()
704 final int index = (mMostRecentEventIndex + 1) % RECENT_EVENTS_TO_LOG; in finishEvent()