Searched refs:listenerSet (Results 1 – 2 of 2) sorted by relevance
96 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in addListener() local97 if (listenerSet == null) { in addListener()98 listenerSet = new CopyOnWriteArraySet<>(); in addListener()99 mListeners.put(recordedProgramId, listenerSet); in addListener()101 listenerSet.add(listener); in addListener()113 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in removeListener() local114 if (listenerSet == null) { in removeListener()117 listenerSet.remove(listener); in removeListener()118 if (listenerSet.isEmpty()) { in removeListener()124 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in notifyWatchedPositionChanged() local[all …]
328 RecentsAnimationListenerSet listenerSet = mSwipeSharedState.getActiveListener();330 listenerSet != null, isLikelyToStartNewTask);337 if (listenerSet != null) {338 listenerSet.addListener(handler);415 RecentsAnimationListenerSet listenerSet = mSwipeSharedState.getActiveListener();416 if (listenerSet != null) {417 listenerSet.removeListener(mInteractionHandler);