Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDispSync.cpp185 for (size_t i = 0; i < mEventListeners.size(); i++) { in addEventListener()
186 if (mEventListeners[i].mCallback == callback) { in addEventListener()
201 mEventListeners.push(listener); in addEventListener()
212 for (size_t i = 0; i < mEventListeners.size(); i++) { in removeEventListener()
213 if (mEventListeners[i].mCallback == callback) { in removeEventListener()
214 mEventListeners.removeAt(i); in removeEventListener()
227 return !mEventListeners.empty(); in hasAnyEventListeners()
248 for (size_t i = 0; i < mEventListeners.size(); i++) { in computeNextEventTimeLocked()
249 nsecs_t t = computeListenerNextEventTimeLocked(mEventListeners[i], in computeNextEventTimeLocked()
269 for (size_t i = 0; i < mEventListeners.size(); i++) { in gatherCallbackInvocationsLocked()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java79 List<EventListener> mEventListeners = new ArrayList<>(); field in BaseActivity
676 mEventListeners.add(listener); in addEventListener()
680 mEventListeners.remove(listener); in removeEventListener()
684 for (EventListener listener : mEventListeners) { in notifyDirectoryLoaded()
690 for (EventListener listener : mEventListeners) { in notifyDirectoryNavigated()