Searched refs:mStateChangeHandlers (Results 1 – 1 of 1) sorted by relevance
35 private final SparseArray<Consumer<Boolean>> mStateChangeHandlers = new SparseArray<>(); field in MultiStateCallback89 int count = mStateChangeHandlers.size(); in notifyStateChangeHandlers()91 int state = mStateChangeHandlers.keyAt(i); in notifyStateChangeHandlers()96 mStateChangeHandlers.valueAt(i).accept(isOn); in notifyStateChangeHandlers()116 mStateChangeHandlers.put(stateMask, handler); in addChangeHandler()