Searched refs:mListenersToRate (Results 1 – 2 of 2) sorted by relevance
35 private final Map<T, Float> mListenersToRate = new HashMap<>(4); field in CarRatedFloatListeners50 return mListenersToRate.containsKey(listener); in contains()64 mListenersToRate.remove(listener); in remove()66 if (mListenersToRate.isEmpty()) { in remove()69 Float updateRate = Collections.max(mListenersToRate.values()); in remove()78 return mListenersToRate.isEmpty(); in isEmpty()89 Float oldUpdateRate = mListenersToRate.put(listener, updateRate); in addAndUpdateRate()95 Float newUpdateRate = Collections.max(mListenersToRate.values()); in addAndUpdateRate()113 Float updateRate = mListenersToRate.get(listener); in needUpdateForSelectedListener()143 return mListenersToRate.keySet(); in getListeners()
29 private final Map<EventListenerType, Integer> mListenersToRate = new HashMap<>(4); field in CarRatedListeners40 return mListenersToRate.containsKey(listener); in contains()54 mListenersToRate.remove(listener); in remove()55 if (mListenersToRate.isEmpty()) { in remove()58 Integer updateRate = Collections.min(mListenersToRate.values()); in remove()67 return mListenersToRate.isEmpty(); in isEmpty()78 Integer oldUpdateRate = mListenersToRate.put(listener, updateRate); in addAndUpdateRate()83 mUpdateRate = Collections.min(mListenersToRate.values()); in addAndUpdateRate()89 return mListenersToRate.keySet(); in getListeners()