Home
last modified time | relevance | path

Searched refs:onSwitchChanged (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java83 mController.onSwitchChanged(null, false); in onSwitchChanged_false_recordsAMetric()
94 mController.onSwitchChanged(null, true); in onSwitchChanged_true_recordsAMetric()
105 mController.onSwitchChanged(null, true); in onSwitchChanged_showWarningFragmentIfNotEnabledByDefault()
115 mController.onSwitchChanged(null, true); in onSwitchChange_doNotShowWarningFragmentIfEnabledByDefault()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceControllerTest.java120 mController.onSwitchChanged(null, true); in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
131 mController.onSwitchChanged(null, false); in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
143 mController.onSwitchChanged(null, true); in onSwitchChanged_wasHushMute_checked_returnHushMute()
155 mController.onSwitchChanged(null, true); in onSwitchChanged_wasHushVibrate_checked_returnHushVibrate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java156 mDashboard.onSwitchChanged(mSwitch, false /* isChecked */); in onSwitchChanged_sameState_shouldDoNothing()
167 mDashboard.onSwitchChanged(mSwitch, true /* isChecked */); in onSwitchChanged_turnOn_shouldShowWarningDialog()
178 mDashboard.onSwitchChanged(mSwitch, false /* isChecked */); in onSwitchChanged_turnOff_shouldTurnOff()
196 mDashboard.onSwitchChanged(mSwitch, false /* isChecked */); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBlockPreferenceControllerTest.java94 mController.onSwitchChanged(null, false); in testNoCrashIfNoOnResume()
352 mController.onSwitchChanged(null, false); in testOnSwitchChanged_channel_default()
356 mController.onSwitchChanged(null, true); in testOnSwitchChanged_channel_default()
373 mController.onSwitchChanged(null, false); in testOnSwitchChanged_channel_nonDefault()
376 mController.onSwitchChanged(null, true); in testOnSwitchChanged_channel_nonDefault()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java87 mController.onSwitchChanged(mSwitch, true); in onSwitchChanged_switchChecked_shouldSetLocationEnabled()
94 mController.onSwitchChanged(mSwitch, false); in onSwitchChanged_switchUnchecked_shouldSetLocationDisabled()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java61 void onSwitchChanged(Switch switchView, boolean isChecked); in onSwitchChanged() method
287 mSwitchChangeListeners.get(n).onSwitchChanged(mSwitch, isChecked); in propagateChecked()
DSwitchBarController.java76 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in SwitchBarController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java63 void onSwitchChanged(Switch switchView, boolean isChecked); in onSwitchChanged() method
289 mSwitchChangeListeners.get(n).onSwitchChanged(mSwitch, isChecked); in propagateChecked()
DSwitchBarController.java76 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in SwitchBarController
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSubTest.java292 mFragment.onSwitchChanged(null, true); in onSwitchChanged_enableSetting_shouldLaunchWfcDisclaimerFragment()
337 mFragment.onSwitchChanged(null, false); in onSwitchChanged_disableSetting_shouldNotLaunchWfcDisclaimerFragment()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java66 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in AutomaticStorageManagerSwitchBarController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationSwitchBarController.java96 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in LocationSwitchBarController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java66 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in AutomaticStorageManagerSwitchBarController
/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java96 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in LocationSwitchBarController
/packages/apps/Settings/src/com/android/settings/notification/
DZenAutomaticRuleSwitchPreferenceController.java91 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ZenAutomaticRuleSwitchPreferenceController
DBlockPreferenceController.java100 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in BlockPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenAutomaticRuleSwitchPreferenceController.java91 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ZenAutomaticRuleSwitchPreferenceController
DBlockPreferenceController.java93 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in BlockPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleDaltonizerPreferenceFragment.java127 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ToggleDaltonizerPreferenceFragment
DToggleAutoclickPreferenceFragment.java161 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ToggleAutoclickPreferenceFragment
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleDaltonizerPreferenceFragment.java127 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ToggleDaltonizerPreferenceFragment
DToggleAutoclickPreferenceFragment.java161 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in ToggleAutoclickPreferenceFragment
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/gestures/
DPreventRingingSwitchPreferenceController.java104 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in PreventRingingSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceController.java104 public void onSwitchChanged(Switch switchView, boolean isChecked) { in onSwitchChanged() method in PreventRingingSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java129 public void onSwitchChanged(Switch switchView, boolean desiredState) { in onSwitchChanged() method in AndroidBeam

12