Searched refs:mObservers (Results 1 – 8 of 8) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationCheckedSet.java | 73 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()
|
D | ScrollNotifyingListView.java | 93 for (ScrollListener sl : mObservers) { in onScrollChanged()
|
D | AbstractActivityController.java | 4238 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/ |
D | CarUxRestrictionsUtil.java | 50 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/ |
D | MailObservable.java | 36 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/ |
D | NetworkObserverRegistry.java | 61 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/ |
D | BrowseAdapter.java | 57 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/ |
D | MasterImage.java | 105 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()
|