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.java25 import com.android.internal.globalactions.ToggleAction;
109 private ToggleAction mAirplaneModeOn;
115 private ToggleAction.State mAirplaneState = ToggleAction.State.Off;
223 mAirplaneModeOn = new ToggleAction( in createDialog()
598 ((ToggleAction)mSilentModeAction).updateState(
599 silentModeOn ? ToggleAction.State.On : ToggleAction.State.Off);
634 private class SilentModeToggleAction extends ToggleAction {
767 mAirplaneState = inAirplaneMode ? ToggleAction.State.On : ToggleAction.State.Off;
823 mAirplaneState = airplaneModeOn ? ToggleAction.State.On : ToggleAction.State.Off;
840 mAirplaneState = on ? ToggleAction.State.On : ToggleAction.State.Off;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java151 private ToggleAction mAirplaneModeOn;
157 private ToggleAction.State mAirplaneState = ToggleAction.State.Off;
297 mAirplaneModeOn = new ToggleAction( in createDialog()
907 ((ToggleAction) mSilentModeAction).updateState(
908 silentModeOn ? ToggleAction.State.On : ToggleAction.State.Off);
1174 private static abstract class ToggleAction implements Action {
1209 public ToggleAction(int enabledIconResId,
1302 private class SilentModeToggleAction extends ToggleAction {
1423 mAirplaneState = inAirplaneMode ? ToggleAction.State.On : ToggleAction.State.Off;
1482 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