Home
last modified time | relevance | path

Searched refs:mObservers (Results 1 – 8 of 8) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationCheckedSet.java73 final Set<ConversationSetObserver> mObservers = new HashSet<ConversationSetObserver>(); field in ConversationCheckedSet
97 mObservers.add(observer); in addObserver()
111 ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(mObservers); in clear()
188 final ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(mObservers); in put()
214 ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(mObservers); in removeAll()
229 mObservers.remove(observer); in removeObserver()
287 final ArrayList<ConversationSetObserver> observersCopy = Lists.newArrayList(mObservers); in putAll()
DScrollNotifyingListView.java93 for (ScrollListener sl : mObservers) { in onScrollChanged()
DAbstractActivityController.java4238 for (DrawerLayout.DrawerListener l : mObservers) {
4255 for (DrawerLayout.DrawerListener l : mObservers) {
4307 for (DrawerLayout.DrawerListener l : mObservers) {
4323 for (DrawerLayout.DrawerListener l : mObservers) {
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCarUxRestrictionsUtil.java50 private Set<OnUxRestrictionsChangedListener> mObservers; field in CarUxRestrictionsUtil
61 for (OnUxRestrictionsChangedListener observer : mObservers) { in CarUxRestrictionsUtil()
67 mObservers = Collections.newSetFromMap(new WeakHashMap<>()); in CarUxRestrictionsUtil()
117 mObservers.add(listener); in register()
125 mObservers.remove(listener); in unregister()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DMailObservable.java36 final int count = mObservers.size(); in registerObserver()
39 mName, observer, count, mObservers.size()); in registerObserver()
44 final int count = mObservers.size(); in unregisterObserver()
47 mName, observer, count, mObservers.size()); in unregisterObserver()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java61 private final ConcurrentHashMap<NetworkObserver, Optional<Handler>> mObservers = field in NetworkObserverRegistry
72 mObservers.put(observer, Optional.of(handler)); in registerObserver()
82 mObservers.put(observer, Optional.empty()); in registerObserverForNonblockingCallback()
90 mObservers.remove(observer); in unregisterObserver()
101 for (Map.Entry<NetworkObserver, Optional<Handler>> entry : mObservers.entrySet()) { in invokeForAllObservers()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java57 private List<Observer> mObservers = new ArrayList<>(); field in BrowseAdapter
126 mObservers.add(observer); in registerObserver()
133 mObservers.remove(observer); in unregisterObserver()
200 for (Observer observer : mObservers) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DMasterImage.java105 private Vector<ImageShow> mObservers = new Vector<ImageShow>(); field in MasterImage
224 if (mObservers.contains(observer)) { in addObserver()
227 mObservers.add(observer); in addObserver()
231 mObservers.remove(observer); in removeObserver()
480 for (ImageShow observer : mObservers) { in notifyObservers()