Home
last modified time | relevance | path

Searched refs:fListeners (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkIDChangeListener.cpp29 for (int i = 0; i < fListeners.count(); ++i) { in ~List()
30 if (!fListeners[i]->shouldDeregister()) { in ~List()
31 fListeners[i]->changed(); in ~List()
33 fListeners[i]->unref(); in ~List()
45 for (int i = 0; i < fListeners.count(); ++i) { in add()
46 if (fListeners[i]->shouldDeregister()) { in add()
47 fListeners[i]->unref(); in add()
48 fListeners.removeShuffle(i--); // No need to preserve the order after i. in add()
51 *fListeners.append() = listener.release(); in add()
56 return fListeners.count(); in count()
[all …]
/external/junit/src/main/java/junit/framework/
DTestResult.java20 protected List<TestListener> fListeners; field in TestResult
27 fListeners = new ArrayList<TestListener>(); in TestResult()
58 fListeners.add(listener); in addListener()
65 fListeners.remove(listener); in removeListener()
73 result.addAll(fListeners); in cloneListeners()
/external/skia/include/private/
DSkIDChangeListener.h68 SkTDArray<SkIDChangeListener*> fListeners SK_GUARDED_BY(fMutex); // pointers are reffed