Home
last modified time | relevance | path

Searched refs:mChangeCallbacks (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java35 private final ArrayList<BatteryStateChangeCallback> mChangeCallbacks = new ArrayList<>(); field in BatteryController
66 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()
DAccessibilityController.java30 private final ArrayList<AccessibilityStateChangedCallback> mChangeCallbacks = new ArrayList<>(); field in AccessibilityController
59 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()
DNextAlarmController.java32 private final ArrayList<NextAlarmChangeCallback> mChangeCallbacks = new ArrayList<>(); field in NextAlarmController
52 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java59 private ArrayList<BrightnessStateChangeCallback> mChangeCallbacks = field in BrightnessController
105 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()