Searched refs:mListeners (Results 1 – 4 of 4) sorted by relevance
20 private final ArrayList<Listener> mListeners; field in ViewPositionObserver28 mListeners = new ArrayList<Listener>(); in ViewPositionObserver()64 if (mListeners.contains(listener)) return; in addListener()66 if (mListeners.isEmpty()) { in addListener()71 mListeners.add(listener); in addListener()79 if (!mListeners.contains(listener)) return; in removeListener()81 mListeners.remove(listener); in removeListener()83 if (mListeners.isEmpty()) { in removeListener()89 for (int i = 0; i < mListeners.size(); i++) { in notifyListeners()90 mListeners.get(i).onPositionChanged(mPosition[0], mPosition[1]); in notifyListeners()
39 private final ObserverList<Listener> mListeners = new ObserverList<Listener>(); field in ChromeSigninController84 for (Listener listener : mListeners) { in clearSignedInUser()99 mListeners.addObserver(listener); in addListener()107 mListeners.removeObserver(listener); in removeListener()
52 private final List<SyncStateChangedListener> mListeners = field in ProfileSyncService449 mListeners.add(listener); in addSyncStateChangedListener()454 mListeners.remove(listener); in removeSyncStateChangedListener()467 if (!mListeners.isEmpty()) { in syncStateChanged()468 for (SyncStateChangedListener listener : mListeners) { in syncStateChanged()
27 private ObserverList<ActivityStateListener> mListeners = field in ApplicationStatus.ActivityInfo48 return mListeners; in getListeners()