Home
last modified time | relevance | path

Searched refs:ToggleAction (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java62 import com.android.internal.globalactions.ToggleAction;
107 private ToggleAction mAirplaneModeOn;
113 private ToggleAction.State mAirplaneState = ToggleAction.State.Off;
221 mAirplaneModeOn = new ToggleAction( in createDialog()
594 ((ToggleAction)mSilentModeAction).updateState(
595 silentModeOn ? ToggleAction.State.On : ToggleAction.State.Off);
630 private class SilentModeToggleAction extends ToggleAction {
763 mAirplaneState = inAirplaneMode ? ToggleAction.State.On : ToggleAction.State.Off;
819 mAirplaneState = airplaneModeOn ? ToggleAction.State.On : ToggleAction.State.Off;
836 mAirplaneState = on ? ToggleAction.State.On : ToggleAction.State.Off;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java152 private ToggleAction mAirplaneModeOn;
158 private ToggleAction.State mAirplaneState = ToggleAction.State.Off;
300 mAirplaneModeOn = new ToggleAction( in createDialog()
908 ((ToggleAction) mSilentModeAction).updateState(
909 silentModeOn ? ToggleAction.State.On : ToggleAction.State.Off);
1171 private static abstract class ToggleAction implements Action {
1206 public ToggleAction(int enabledIconResId,
1293 private class SilentModeToggleAction extends ToggleAction {
1414 mAirplaneState = inAirplaneMode ? ToggleAction.State.On : ToggleAction.State.Off;
1473 mAirplaneState = airplaneModeOn ? ToggleAction.State.On : ToggleAction.State.Off;
[all …]
/frameworks/base/core/java/com/android/internal/globalactions/
DToggleAction.java31 public abstract class ToggleAction implements Action { class
67 public ToggleAction(int enabledIconResId, in ToggleAction() method in ToggleAction