Searched refs:mChangeCallbacks (Results 1 – 4 of 4) sorted by relevance
35 private final ArrayList<BatteryStateChangeCallback> mChangeCallbacks = new ArrayList<>(); field in BatteryController66 mChangeCallbacks.add(cb); in addStateChangedCallback()71 mChangeCallbacks.remove(cb); in removeStateChangedCallback()111 final int N = mChangeCallbacks.size(); in fireBatteryLevelChanged()113 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()118 final int N = mChangeCallbacks.size(); in firePowerSaveChanged()120 mChangeCallbacks.get(i).onPowerSaveChanged(); in firePowerSaveChanged()
30 private final ArrayList<AccessibilityStateChangedCallback> mChangeCallbacks = new ArrayList<>(); field in AccessibilityController59 mChangeCallbacks.add(cb); in addStateChangedCallback()64 mChangeCallbacks.remove(cb); in removeStateChangedCallback()68 final int N = mChangeCallbacks.size(); in fireChanged()70 mChangeCallbacks.get(i).onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in fireChanged()
32 private final ArrayList<NextAlarmChangeCallback> mChangeCallbacks = new ArrayList<>(); field in NextAlarmController52 mChangeCallbacks.add(cb); in addStateChangedCallback()57 mChangeCallbacks.remove(cb); in removeStateChangedCallback()74 int n = mChangeCallbacks.size(); in fireNextAlarmChanged()76 mChangeCallbacks.get(i).onNextAlarmChanged(mNextAlarm); in fireNextAlarmChanged()
59 private ArrayList<BrightnessStateChangeCallback> mChangeCallbacks = field in BrightnessController105 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChange()158 mChangeCallbacks.add(cb); in addStateChangedCallback()162 return mChangeCallbacks.remove(cb); in removeStateChangedCallback()237 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChanged()