Searched refs:eventListener (Results 1 – 2 of 2) sorted by relevance
83 for (auto& eventListener : mEventListeners) { in updateModel() local84 eventListener.mHasFired = false; in updateModel()278 for (auto& eventListener : mEventListeners) { in changePhaseOffset() local279 if (eventListener.mCallback == callback) { in changePhaseOffset()280 const nsecs_t oldPhase = eventListener.mPhase; in changePhaseOffset()281 eventListener.mPhase = phase; in changePhaseOffset()292 eventListener.mLastEventTime -= diff; in changePhaseOffset()345 for (auto& eventListener : mEventListeners) { in gatherCallbackInvocationsLocked() local346 nsecs_t t = computeListenerNextEventTimeLocked(eventListener, onePeriodAgo); in gatherCallbackInvocationsLocked()349 if (isCloseToPeriod(now - eventListener.mLastCallbackTime)) { in gatherCallbackInvocationsLocked()[all …]
334 public synchronized void setOnEventListener(OnEventListener eventListener) { in setOnEventListener() argument335 mOnEventListener = eventListener; in setOnEventListener()336 if (null != eventListener) { in setOnEventListener()