Searched refs:eventHandlers (Results 1 – 2 of 2) sorted by relevance
113 SparseArray<Set<Handler>> eventHandlers = new SparseArray<>(); field in IwlanEventListener143 if (eventHandlers.contains(event)) { in addEventListener()144 eventHandlers.get(event).add(handler); in addEventListener()148 eventHandlers.append(event, handlers); in addEventListener()161 if (eventHandlers.contains(event)) { in removeEventListener()162 Set<Handler> handlers = eventHandlers.get(event); in removeEventListener()165 eventHandlers.delete(event); in removeEventListener()169 if (eventHandlers.size() == 0) { in removeEventListener()180 for (int i = 0; i < eventHandlers.size(); i++) { in removeEventListener()181 Set<Handler> handlers = eventHandlers.valueAt(i); in removeEventListener()[all …]
64 private final LinkedHashMap<Integer,EventHandler> eventHandlers = field in CalendarController500 Log.d(TAG, "sendEvent: Dispatching to " + eventHandlers.size() + " handlers"); in sendEvent()513 eventHandlers.entrySet().iterator(); handlers.hasNext();) { in sendEvent()538 eventHandlers.remove(zombie); in sendEvent()552 eventHandlers.put(food.getKey(), food.getValue()); in sendEvent()571 eventHandlers.put(key, eventHandler); in registerEventHandler()593 eventHandlers.remove(key); in deregisterEventHandler()605 mToBeRemovedEventHandlers.addAll(eventHandlers.keySet()); in deregisterAllEventHandlers()607 eventHandlers.clear(); in deregisterAllEventHandlers()