Searched refs:mListeners (Results 1 – 3 of 3) sorted by relevance
43 private final Map<InputDeviceListener, Handler> mListeners; field in InputManagerV990 mListeners = new HashMap<InputDeviceListener, Handler>(); in InputManagerV9()120 mListeners.remove(listener); in registerInputDeviceListener()124 mListeners.put(listener, handler); in registerInputDeviceListener()129 mListeners.remove(listener); in unregisterInputDeviceListener()134 if (!mListeners.isEmpty()) { in notifyListeners()137 for (InputDeviceListener listener : mListeners.keySet()) { in notifyListeners()138 Handler handler = mListeners.get(listener); in notifyListeners()
34 private final Map<InputManagerCompat.InputDeviceListener, V16InputDeviceListener> mListeners; field in InputManagerV1638 mListeners = new HashMap<InputManagerCompat.InputDeviceListener, V16InputDeviceListener>(); in InputManagerV16()79 mListeners.put(listener, v16Listener); in registerInputDeviceListener()84 V16InputDeviceListener curListener = mListeners.remove(listener); in unregisterInputDeviceListener()
50 private List<Consumer<List<Task>>> mListeners = new ArrayList<>(); field in Tracking.Tracker169 for (Consumer<List<Task>> listener : mListeners) { in notifyListeners()175 mListeners.add(listener); in addListener()179 mListeners.remove(listener); in removeListener()