Home
last modified time | relevance | path

Searched refs:addOnSwitchChangeListener (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/widget/
DSettingsMainSwitchPreference.java200 public void addOnSwitchChangeListener(OnCheckedChangeListener listener) { in addOnSwitchChangeListener() method in SettingsMainSwitchPreference
205 mMainSwitchBar.addOnSwitchChangeListener(listener); in addOnSwitchChangeListener()
243 mMainSwitchBar.addOnSwitchChangeListener(listener); in registerListenerToSwitchBar()
DSettingsMainSwitchPreferenceController.java47 mSwitchPreference.addOnSwitchChangeListener(this); in displayPreference()
DMainSwitchBarController.java53 mMainSwitch.addOnSwitchChangeListener(this); in startListening()
DSettingsMainSwitchBar.java71 addOnSwitchChangeListener((switchView, isChecked) -> logMetrics(isChecked)); in SettingsMainSwitchBar()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSwitchBarController.java51 mSwitchBar.addOnSwitchChangeListener(this); in onStart()
94 mSwitchBar.addOnSwitchChangeListener(this); in onLocationModeChanged()
DWifiScanningMainSwitchPreferenceController.java51 pref.addOnSwitchChangeListener(this); in displayPreference()
DBluetoothScanningMainSwitchPreferenceController.java48 pref.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/display/
DAutoBrightnessDetailPreferenceController.java56 pref.addOnSwitchChangeListener(this); in displayPreference()
DNightDisplayActivationPreferenceController.java79 mPreference.addOnSwitchChangeListener(this); in displayPreference()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DConnectedAppFragment.kt289 allowAllPreference.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
294 allowAllPreference.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
342 allowAllPreference.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
DSettingsManageAppPermissionsFragment.kt262 allowAllPreference.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
266 allowAllPreference.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DMedicalPermissionsFragment.kt208 allowAllPreference?.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
210 allowAllPreference?.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
DFitnessPermissionsFragment.kt192 allowAllPreference?.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
194 allowAllPreference?.addOnSwitchChangeListener(onSwitchChangeListener) in <lambda>()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptioningTogglePreferenceController.java61 preference.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/development/
DDevelopmentSwitchBarController.java53 mSwitchBar.addOnSwitchChangeListener(mSettings); in onStart()
/packages/apps/Settings/src/com/android/settings/emergency/
DEmergencyGesturePreferenceController.java65 mSwitchBar.addOnSwitchChangeListener(this); in displayPreference()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DHealthMainSwitchPreference.kt58 this.addOnSwitchChangeListener(loggingSwitchListener) in <lambda>()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenAutomaticRuleSwitchPreferenceController.java75 mSwitchBar.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java63 mSwitchBar.addOnSwitchChangeListener(this); in initializeCheckedStatus()
/packages/apps/Settings/src/com/android/settings/accounts/
DWorkModePreferenceController.java52 mPreference.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/core/
DTogglePreferenceController.java62 ((MainSwitchPreference) preference).addOnSwitchChangeListener((switchView, isChecked) -> in displayPreference()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverSummary.kt53 addOnSwitchChangeListener { _, isChecked -> onSwitchChanged(isChecked) } in <lambda>()
/packages/apps/Settings/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceController.java71 mSwitch.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModeActivationPreferenceController.java110 mPreference.addOnSwitchChangeListener(this); in displayPreference()
/packages/apps/Settings/src/com/android/settings/security/
DContentProtectionTogglePreferenceController.java110 mSwitchBar.addOnSwitchChangeListener(this); in displayPreference()

12