Home
last modified time | relevance | path

Searched refs:onCheckedChanged (Results 1 – 25 of 112) sorted by relevance

12345

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleScreen.kt64 val onCheckedChanged: (Boolean, String?, Boolean) -> Unit = { checked, packageName, isHolder -> in <lambda>() constant
85 onCheckedChanged, in <lambda>()
104 onCheckedChanged: (Boolean, String?, Boolean) -> Unit, in WearRequestRoleContent()
122 onCheckedChanged = { checked -> in WearRequestRoleContent()
123 run { onCheckedChanged(checked, it.packageName, it.isHolder) } in WearRequestRoleContent()
139 onCheckedChanged = { checked -> in WearRequestRoleContent()
140 run { onCheckedChanged(checked, pref.packageName, pref.isHolder) } in WearRequestRoleContent()
153 onCheckedChanged = { checked -> run { onDontAskAgainCheckedChanged(checked) } }, in WearRequestRoleContent()
DWearDefaultAppScreen.kt69 onCheckedChanged = it.onDefaultCheckChanged, in WearDefaultAppContent()
88 onCheckedChanged = pref.getOnCheckChanged(), in WearDefaultAppContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsModeDialogPreferenceTest.java92 mPreference.onCheckedChanged(null, R.id.private_dns_mode_off); in testOnCheckedChanged_dnsModeOff_disableEditText()
100 mPreference.onCheckedChanged(null, R.id.private_dns_mode_opportunistic); in testOnCheckedChanged_dnsModeOpportunistic_disableEditText()
108 mPreference.onCheckedChanged(null, R.id.private_dns_mode_provider); in testOnCheckedChanged_dnsModeProvider_enableEditText()
143 mPreference.onCheckedChanged(null, R.id.private_dns_mode_off); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
146 mPreference.onCheckedChanged(null, R.id.private_dns_mode_opportunistic); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
149 mPreference.onCheckedChanged(null, R.id.private_dns_mode_provider); in testOnCheckedChanged_switchMode_saveButtonHasCorrectState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java83 mController.onCheckedChanged(null, false); in onSwitchChanged_false_recordsAMetric()
94 mController.onCheckedChanged(null, true); in onSwitchChanged_true_recordsAMetric()
105 mController.onCheckedChanged(null, true); in onSwitchChanged_showWarningFragmentIfNotEnabledByDefault()
115 mController.onCheckedChanged(null, true); in onSwitchChange_doNotShowWarningFragmentIfEnabledByDefault()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionGroupsScreen.kt79 onCheckedChanged = info.onCheckedChanged in WearAppPermissionGroupsContent()
101 onCheckedChanged = it.onCheckedChanged in WearAppPermissionGroupsContent()
DWearAppPermissionGroupsHelper.kt108 onCheckedChanged = { checked -> in <lambda>()
360 onCheckedChanged = { checked -> in <lambda>()
383 val onCheckedChanged: (Boolean) -> Unit = {} in <lambda>() constant in com.android.permissioncontroller.permission.ui.wear.PermissionGroupChipParam
390 val onCheckedChanged: (Boolean) -> Unit constant in com.android.permissioncontroller.permission.ui.wear.AutoRevokeChipParam
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DPreventRingingSwitchPreferenceControllerTest.java119 mController.onCheckedChanged(null, true); in onSwitchChanged_wasHushOff_checked_returnHushVibrate()
130 mController.onCheckedChanged(null, false); in onSwitchChanged_wasHushMute_unchecked_returnHushOff()
142 mController.onCheckedChanged(null, true); in onSwitchChanged_wasHushMute_checked_returnHushMute()
154 mController.onCheckedChanged(null, true); in onSwitchChanged_wasHushVibrate_checked_returnHushVibrate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorSelectorLayout.java133 mOnCheckedChangeListener.onCheckedChanged(this); in setCheckedId()
145 void onCheckedChanged(ColorSelectorLayout group); in onCheckedChanged() method
150 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() method in ColorSelectorLayout.CheckedStateTracker
DDaltonizerRadioButtonPreferenceController.java135 mOnChangeListener.onCheckedChanged(mPreference); in onRadioButtonClicked()
165 void onCheckedChanged(Preference preference); in onCheckedChanged() method
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DCheckBroker.java37 public void onCheckedChanged(int position, boolean isChecked); in onCheckedChanged() method
47 l.onCheckedChanged(position, checked); in onCheckedChange()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetailTest.java277 mFragment.onCheckedChanged(mMockSwitch, /* isChecked= */ false); in onSwitchChanged_fromUnrestrictedModeSetDisabled_becomeRestrictedMode()
293 mFragment.onCheckedChanged(mMockSwitch, /* isChecked= */ true); in onSwitchChanged_fromRestrictedModeSetEnabled_becomeOptimizedMode()
313 mFragment.onCheckedChanged(mMockSwitch, /* isChecked= */ true); in onPause_optimizationModeChanged_logPreference()
337 mFragment.onCheckedChanged(mMockSwitch, /* isChecked= */ true); in onPause_optimizationModeIsNotChanged_notInvokeLogging()
340 mFragment.onCheckedChanged(mMockSwitch, /* isChecked= */ false); in onPause_optimizationModeIsNotChanged_notInvokeLogging()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java163 mDashboard.onCheckedChanged(null, false /* isChecked */); in onSwitchChanged_sameState_shouldDoNothing()
175 mDashboard.onCheckedChanged(null, true /* isChecked */); in onSwitchChanged_turnOn_shouldShowWarningDialog()
187 mDashboard.onCheckedChanged(null, false /* isChecked */); in onSwitchChanged_turnOff_shouldTurnOff()
206 mDashboard.onCheckedChanged(null, false /* isChecked */); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingSwitchBarControllerTest.java370 mController.onCheckedChanged(mBtnView, /* isChecked= */ true); in onCheckedChangedToChecked_sharing_doNothing()
383 mController.onCheckedChanged(mBtnView, /* isChecked= */ true); in onCheckedChangedToChecked_noConnectedLeaDevices_flagOn_notStartAudioSharing()
397 mController.onCheckedChanged(mBtnView, /* isChecked= */ true); in onCheckedChangedToChecked_noConnectedLeaDevices_flagOff_startAudioSharing()
410 mController.onCheckedChanged(mBtnView, /* isChecked= */ true); in onCheckedChangedToChecked_notSharing_withConnectedLeaDevices_startAudioSharing()
419 mController.onCheckedChanged(mBtnView, /* isChecked= */ false); in onCheckedChangedToUnChecked_notSharing_doNothing()
429 mController.onCheckedChanged(mBtnView, /* isChecked= */ false); in onCheckedChangedToUnChecked_sharing_stopAudioSharing()
442 mController.onCheckedChanged(mBtnView, /* isChecked= */ true); in onPlaybackStarted_showJoinAudioSharingDialog()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpFullscreenView.java102 public void onCheckedChanged(CompoundButton arg0, boolean isChecked) { in onCheckedChanged() method in MtpFullscreenView
109 public void onCheckedChanged(int position, boolean isChecked) { in onCheckedChanged() method in MtpFullscreenView
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java153 mController.onCheckedChanged(mSwitch, true); in onSwitchChanged_switchNotEnabled_doNothingForTethering()
161 mController.onCheckedChanged(mSwitch, true); in onSwitchChanged_isChecked_startTethering()
169 mController.onCheckedChanged(mSwitch, false); in onSwitchChanged_isNotChecked_stopTethering()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DNightDisplayActivationPreferenceControllerTest.java107 controller.onCheckedChanged(null, true); in onClick_activates()
118 controller.onCheckedChanged(null, false); in onClick_deactivates()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java104 mController.onCheckedChanged(null, false); in testNoCrashIfNoOnResume()
358 mController.onCheckedChanged(null, false); in testOnSwitchChanged_channel_default()
362 mController.onCheckedChanged(null, true); in testOnSwitchChanged_channel_default()
380 mController.onCheckedChanged(null, false); in testOnSwitchChanged_channel_nonDefault()
383 mController.onCheckedChanged(null, true); in testOnSwitchChanged_channel_nonDefault()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java129 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() method in BluetoothPairingController
274 onCheckedChanged(null, true); in setContactSharingState()
276 onCheckedChanged(null, false); in setContactSharingState()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DCheckableImageButton.java36 void onCheckedChanged(CheckableImageButton button, boolean isChecked); in onCheckedChanged() method
117 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/
DRttCheckableButton.java36 void onCheckedChanged(RttCheckableButton button, boolean isChecked); in onCheckedChanged() method
122 onCheckedChangeListener.onCheckedChanged(this, checked); in userRequestedSetChecked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningTogglePreferenceControllerTest.java149 mController.onCheckedChanged(/* buttonView= */ null, /* isChecked= */ true); in onSwitchChanged_switchChecked_shouldSetCaptionEnabled()
158 mController.onCheckedChanged(/* buttonView= */ null, /* isChecked= */ false); in onSwitchChanged_switchUnchecked_shouldSetCaptionDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSwitchBarControllerTest.java88 mController.onCheckedChanged(mSwitch, true); in onSwitchChanged_switchChecked_shouldSetLocationEnabled()
95 mController.onCheckedChanged(mSwitch, false); in onSwitchChanged_switchUnchecked_shouldSetLocationDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DBubbleNotificationPreferenceControllerTest.java116 mController.onCheckedChanged(mSwitch, true); in onSwitchChanged_true_settingIsOff_flagShouldOn()
126 mController.onCheckedChanged(mSwitch, false); in onSwitchChanged_false_settingIsOn_flagShouldOff()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsMainSwitchPreferenceController.java52 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() method in SettingsMainSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/display/
DAutoBrightnessDetailPreferenceController.java61 public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { in onCheckedChanged() method in AutoBrightnessDetailPreferenceController

12345