Searched refs:mSwitchChangeListeners (Results 1 – 2 of 2) sorted by relevance
71 private final List<OnSwitchChangeListener> mSwitchChangeListeners = new ArrayList<>(); field in SwitchBar285 final int count = mSwitchChangeListeners.size(); in propagateChecked()287 mSwitchChangeListeners.get(n).onSwitchChanged(mSwitch, isChecked); in propagateChecked()306 if (mSwitchChangeListeners.contains(listener)) { in addOnSwitchChangeListener()309 mSwitchChangeListeners.add(listener); in addOnSwitchChangeListener()313 if (!mSwitchChangeListeners.contains(listener)) { in removeOnSwitchChangeListener()316 mSwitchChangeListeners.remove(listener); in removeOnSwitchChangeListener()
73 private final List<OnSwitchChangeListener> mSwitchChangeListeners = new ArrayList<>(); field in SwitchBar287 final int count = mSwitchChangeListeners.size(); in propagateChecked()289 mSwitchChangeListeners.get(n).onSwitchChanged(mSwitch, isChecked); in propagateChecked()308 if (mSwitchChangeListeners.contains(listener)) { in addOnSwitchChangeListener()311 mSwitchChangeListeners.add(listener); in addOnSwitchChangeListener()315 if (!mSwitchChangeListeners.contains(listener)) { in removeOnSwitchChangeListener()318 mSwitchChangeListeners.remove(listener); in removeOnSwitchChangeListener()