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
605 if (RECENT_EVENTS_TO_LOG != 0 && mRecentEvents != null) { in finishEvent()
607 for (int i = 0; i < RECENT_EVENTS_TO_LOG; i++) { in finishEvent()
608 final int index = (mMostRecentEventIndex + RECENT_EVENTS_TO_LOG - i) in finishEvent()
609 % RECENT_EVENTS_TO_LOG; in finishEvent()
628 if (RECENT_EVENTS_TO_LOG != 0) { in finishEvent()
630 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
631 mRecentEventsUnhandled = new boolean[RECENT_EVENTS_TO_LOG]; in finishEvent()
633 final int index = (mMostRecentEventIndex + 1) % RECENT_EVENTS_TO_LOG; in finishEvent()