Searched refs:ObserverList (Results 1 – 13 of 13) sorted by relevance
42 private final ObserverList<Observer> mList;45 FooAdder(ObserverList<Observer> list, Observer oblivious) { in FooAdder()60 private final ObserverList<Observer> mList;63 FooRemover(ObserverList<Observer> list, Observer innocent) { in FooRemover()85 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testRemoveWhileIteration()122 ObserverList<Observer> observerList = new ObserverList<Observer>(); in testAddWhileIteration()143 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testIterator()182 ObserverList<Integer> observerList = new ObserverList<Integer>(); in testRewindableIterator()188 ObserverList.RewindableIterator<Integer> it = observerList.rewindableIterator(); in testRewindableIterator()221 ObserverList<Object> observerList = new ObserverList<Object>(); in testAddObserverReturnValue()[all …]
32 public class ObserverList<E> implements Iterable<E> { class51 public ObserverList() {} in ObserverList() method in ObserverList197 ObserverList.this.incrementIterationDepth(); in ObserverListIterator()198 mListEndMarker = ObserverList.this.capacity(); in ObserverListIterator()204 ObserverList.this.incrementIterationDepth(); in rewind()205 mListEndMarker = ObserverList.this.capacity(); in rewind()214 && ObserverList.this.getObserverAt(lookupIndex) == null) { in hasNext()227 while (mIndex < mListEndMarker && ObserverList.this.getObserverAt(mIndex) == null) { in next()230 if (mIndex < mListEndMarker) return ObserverList.this.getObserverAt(mIndex++); in next()245 ObserverList.this.decrementIterationDepthAndCompactIfNeeded(); in compactListIfNeeded()
31 private ObserverList<ActivityStateListener> mListeners =32 new ObserverList<ActivityStateListener>();51 public ObserverList<ActivityStateListener> getListeners() { in getListeners()74 private static final ObserverList<ActivityStateListener> sGeneralActivityStateListeners =75 new ObserverList<ActivityStateListener>();81 private static final ObserverList<ApplicationStateListener> sApplicationStateListeners =82 new ObserverList<ApplicationStateListener>();
60 private ObserverList<WindowFocusChangedListener> mWindowFocusListeners =61 new ObserverList<WindowFocusChangedListener>();
40 Disrupter(ObserverList<Foo>* list, Foo* doomed) in Disrupter()48 ObserverList<Foo>* list_;180 ObserverList<Foo> observer_list; in TEST()433 ObserverList<Foo> observer_list(ObserverList<Foo>::NOTIFY_EXISTING_ONLY); in TEST()435 AddInObserve<ObserverList<Foo> > b(&observer_list); in TEST()456 new ObserverListThreadSafe<Foo>(ObserverList<Foo>::NOTIFY_EXISTING_ONLY)); in TEST()479 explicit AddInClearObserve(ObserverList<Foo>* list) in AddInClearObserve()492 ObserverList<Foo>* const list_;499 ObserverList<Foo> observer_list; in TEST()511 ObserverList<Foo> observer_list(ObserverList<Foo>::NOTIFY_EXISTING_ONLY); in TEST()[all …]
106 typedef typename ObserverList<ObserverType>::NotificationType121 ObserverList<ObserverType>* list = nullptr; in AddObserver()139 ObserverList<ObserverType>* list = nullptr; in RemoveObserver()204 ObserverList<ObserverType> list;236 typename ObserverList<ObserverType>::Iterator it(&context->list);
214 class ObserverList : public ObserverListBase<ObserverType> {219 ObserverList() {} in ObserverList() function220 explicit ObserverList(NotificationType type) in ObserverList() function223 ~ObserverList() { in ~ObserverList()
2252 "android/java/src/org/chromium/base/ObserverList.java",
515 ObserverList<DestructionObserver> destruction_observers_;517 ObserverList<NestingObserver> nesting_observers_;532 ObserverList<TaskObserver> task_observers_;
54 base::ObserverList<Observer> observer_list_;
160 base::ObserverList<Observer> observers_;
46 base::ObserverList<HandleCloseObserver> close_observers_;
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...