Home
last modified time | relevance | path

Searched refs:listenerSet (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/
DDvrWatchedPositionManager.java96 Set<WatchedPositionChangedListener> listenerSet = mListeners.get(recordedProgramId); in addListener() local
97 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() local
114 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 …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java328 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);