HomeSort by relevance Sort by last modified time
    Searched refs:mSwitchBar (Results 1 - 23 of 23) sorted by null

  /packages/apps/Settings/src/com/android/settings/wifi/
WifiEnabler.java 48 private SwitchBar mSwitchBar;
94 mSwitchBar = switchBar;
110 mSwitchBar.addOnSwitchChangeListener(this);
113 mSwitchBar.show();
118 mSwitchBar.removeOnSwitchChangeListener(this);
121 mSwitchBar.hide();
129 mSwitchBar.addOnSwitchChangeListener(this);
137 mSwitchBar.removeOnSwitchChangeListener(this);
144 mSwitchBar.setDisabledByAdmin(null);
148 mSwitchBar.setEnabled(false)
    [all...]
  /packages/apps/Settings/src/com/android/settings/nfc/
AndroidBeam.java 47 private SwitchBar mSwitchBar;
93 mSwitchBar = activity.getSwitchBar();
95 mSwitchBar.hide();
97 mSwitchBar.setChecked(!mBeamDisallowedByBase && mNfcAdapter.isNdefPushEnabled());
98 mSwitchBar.addOnSwitchChangeListener(this);
99 mSwitchBar.setEnabled(!mBeamDisallowedByBase);
100 mSwitchBar.show();
111 mSwitchBar.removeOnSwitchChangeListener(this);
112 mSwitchBar.hide();
119 mSwitchBar.setEnabled(false)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java 48 private SwitchBar mSwitchBar;
81 mSwitchBar = switchBar;
97 mSwitchBar.show();
101 mSwitchBar.hide();
117 mSwitchBar.addOnSwitchChangeListener(this);
127 mSwitchBar.removeOnSwitchChangeListener(this);
162 mSwitchBar.removeOnSwitchChangeListener(this);
166 mSwitchBar.addOnSwitchChangeListener(this);
200 mSwitchBar.setTextViewLabel(false);
BluetoothSettings.java 94 private SwitchBar mSwitchBar;
147 mSwitchBar = activity.getSwitchBar();
149 mBluetoothEnabler = new BluetoothEnabler(activity, mSwitchBar);
  /packages/apps/Settings/src/com/android/settings/backup/
ToggleBackupSettingFragment.java 43 protected SwitchBar mSwitchBar;
80 mSwitchBar = activity.getSwitchBar();
81 mToggleSwitch = mSwitchBar.getSwitch();
95 mSwitchBar.setCheckedInternal(backupEnabled);
98 mSwitchBar.setEnabled(false);
108 mSwitchBar.hide();
129 mSwitchBar.setCheckedInternal(true);
134 mSwitchBar.show();
153 mSwitchBar.setCheckedInternal(false);
158 mSwitchBar.setCheckedInternal(true)
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySaverSettings.java 61 private SwitchBar mSwitchBar;
75 mSwitchBar.show();
82 mSwitchBar = ((SettingsActivity) mContext).getSwitchBar();
83 mSwitch = mSwitchBar.getSwitch();
84 mSwitchBar.show();
107 mSwitchBar.hide();
116 mSwitchBar.addOnSwitchChangeListener(this);
128 mSwitchBar.removeOnSwitchChangeListener(this);
160 mSwitchBar.removeOnSwitchChangeListener(this);
164 mSwitchBar.addOnSwitchChangeListener(this)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
ToggleFeaturePreferenceFragment.java 41 protected SwitchBar mSwitchBar;
93 mSwitchBar = activity.getSwitchBar();
94 mToggleSwitch = mSwitchBar.getSwitch();
133 mSwitchBar.show();
140 mSwitchBar.hide();
159 mSwitchBar.setCheckedInternal(enabled);
ToggleDaltonizerPreferenceFragment.java 81 mSwitchBar.setCheckedInternal(
83 mSwitchBar.addOnSwitchChangeListener(this);
89 mSwitchBar.removeOnSwitchChangeListener(this);
ToggleGlobalGesturePreferenceFragment.java 39 mSwitchBar.setCheckedInternal(checked);
ToggleAutoclickPreferenceFragment.java 131 mSwitchBar.setCheckedInternal(value == 1);
132 mSwitchBar.addOnSwitchChangeListener(this);
139 mSwitchBar.removeOnSwitchChangeListener(this);
CaptionPropertiesFragment.java 77 private SwitchBar mSwitchBar;
160 mSwitchBar = activity.getSwitchBar();
161 mSwitchBar.setCheckedInternal(enabled);
162 mToggleSwitch = mSwitchBar.getSwitch();
240 mSwitchBar.setCheckedInternal(checked);
254 mSwitchBar.show();
258 mSwitchBar.hide();
ToggleAccessibilityServicePreferenceFragment.java 210 mSwitchBar.setCheckedInternal(checked);
344 mSwitchBar.setCheckedInternal(confirmed);
371 mSwitchBar.setCheckedInternal(false);
375 mSwitchBar.setCheckedInternal(true);
ToggleScreenMagnificationPreferenceFragment.java 143 mSwitchBar.setCheckedInternal(checked);
  /packages/apps/Settings/src/com/android/settings/datausage/
DataSaverSummary.java 42 private SwitchBar mSwitchBar;
68 mSwitchBar = ((SettingsActivity) getActivity()).getSwitchBar();
69 mSwitchBar.show();
70 mSwitchBar.addOnSwitchChangeListener(this);
115 mSwitchBar.setChecked(isDataSaving);
  /packages/apps/Settings/src/com/android/settings/
ScreenPinningSettings.java 53 private SwitchBar mSwitchBar;
70 mSwitchBar = activity.getSwitchBar();
71 mSwitchBar.addOnSwitchChangeListener(this);
72 mSwitchBar.show();
73 mSwitchBar.setChecked(isLockToAppEnabled(getActivity()));
90 mSwitchBar.removeOnSwitchChangeListener(this);
91 mSwitchBar.hide();
DreamSettings.java 62 private SwitchBar mSwitchBar;
112 mSwitchBar.removeOnSwitchChangeListener(this);
113 mSwitchBar.hide();
126 mSwitchBar = sa.getSwitchBar();
127 mSwitchBar.addOnSwitchChangeListener(this);
128 mSwitchBar.show();
261 if (mSwitchBar.isChecked() != dreamsEnabled) {
262 mSwitchBar.setChecked(dreamsEnabled);
WifiCallingSettings.java 69 private SwitchBar mSwitchBar;
140 mSwitchBar = activity.getSwitchBar();
141 mSwitch = mSwitchBar.getSwitch();
142 mSwitchBar.show();
152 mSwitchBar.hide();
241 mSwitchBar.addOnSwitchChangeListener(this);
274 mSwitchBar.removeOnSwitchChangeListener(this);
DevelopmentSettings.java 239 private SwitchBar mSwitchBar;
552 mSwitchBar = activity.getSwitchBar();
554 mSwitchBar.setEnabled(false);
558 mSwitchBar.addOnSwitchChangeListener(this);
612 mSwitchBar.setChecked(mLastEnabledState);
623 mSwitchBar.setChecked(mLastEnabledState);
626 mSwitchBar.show();
660 mSwitchBar.removeOnSwitchChangeListener(this);
661 mSwitchBar.hide();
    [all...]
SettingsActivity.java 397 private SwitchBar mSwitchBar;
426 return mSwitchBar;
636 mSwitchBar = (SwitchBar) findViewById(R.id.switch_bar);
637 if (mSwitchBar != null) {
638 mSwitchBar.setMetricsTag(getMetricsTag());
    [all...]
  /packages/apps/Settings/src/com/android/settings/location/
LocationSettings.java 103 private SwitchBar mSwitchBar;
128 mSwitchBar = activity.getSwitchBar();
129 mSwitch = mSwitchBar.getSwitch();
130 mSwitchBar.show();
136 mSwitchBar.hide();
144 mSwitchBar.addOnSwitchChangeListener(this);
160 mSwitchBar.removeOnSwitchChangeListener(this);
389 mSwitchBar.setDisabledByAdmin(admin);
391 mSwitchBar.setEnabled(!restricted);
399 mSwitchBar.removeOnSwitchChangeListener(this)
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeRuleSettingsBase.java 63 private SwitchBar mSwitchBar;
148 mSwitchBar = activity.getSwitchBar();
149 mSwitchBar.addOnSwitchChangeListener(this);
150 mSwitchBar.show();
156 mSwitchBar.removeOnSwitchChangeListener(this);
157 mSwitchBar.hide();
278 if (mSwitchBar != null) {
279 mSwitchBar.setChecked(mRule.isEnabled());
  /packages/apps/Settings/src/com/android/settings/inputmethod/
SpellCheckersSettings.java 50 private SwitchBar mSwitchBar;
94 mSwitchBar = ((SettingsActivity)getActivity()).getSwitchBar();
95 mSwitchBar.show();
96 mSwitchBar.addOnSwitchChangeListener(this);
103 mSwitchBar.removeOnSwitchChangeListener(this);
115 mSwitchBar.setChecked(isSpellCheckerEnabled);
  /packages/apps/Settings/src/com/android/settings/print/
PrintServiceSettingsFragment.java 107 private SwitchBar mSwitchBar;
182 mSwitchBar.removeOnSwitchChangeListener(this);
183 mSwitchBar.hide();
245 mSwitchBar.setCheckedInternal(true);
248 mSwitchBar.setCheckedInternal(false);
260 mSwitchBar = activity.getSwitchBar();
261 mSwitchBar.addOnSwitchChangeListener(this);
262 mSwitchBar.show();
264 mToggleSwitch = mSwitchBar.getSwitch();
310 mSwitchBar.setCheckedInternal(enabled)
    [all...]

Completed in 766 milliseconds