/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/activitydelegates/ |
D | MeasurementActivityActionDelegate.java | 67 switchBar -> mMeasurementViewModel.consentSwitchClickHandlerOnR((Switch) switchBar), in initRvc() 69 switchBar -> ((Switch) switchBar)::setChecked); in initRvc() 89 switchBar -> in configureSharedElements() 90 mMeasurementViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar), in configureSharedElements() 92 switchBar -> ((MainSwitchBar) switchBar)::setChecked); in configureSharedElements()
|
D | TopicsActivityActionDelegate.java | 68 switchBar -> mTopicsViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar), in initGA() 70 switchBar -> ((MainSwitchBar) switchBar)::setChecked); in initGA()
|
D | AppsActivityActionDelegate.java | 69 switchBar -> mAppsViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar), in initGA() 71 switchBar -> ((MainSwitchBar) switchBar)::setChecked); in initGA()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSettings.java | 93 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated() local 94 switchBar.setTitle(getContext().getString(R.string.location_settings_primary_switch_title)); in onActivityCreated() 95 updateChromeSwitchBarPreference(switchBar); in onActivityCreated() 96 switchBar.show(); in onActivityCreated() 97 mSwitchBarController = new LocationSwitchBarController(activity, switchBar, in onActivityCreated() 179 private void updateChromeSwitchBarPreference(final SettingsMainSwitchBar switchBar) { in updateChromeSwitchBarPreference() argument 183 switchBar.setClickable(false); in updateChromeSwitchBarPreference() 184 switchBar.setTooltipText(getResources().getString( in updateChromeSwitchBarPreference()
|
D | LocationSwitchBarController.java | 39 public LocationSwitchBarController(Context context, SettingsMainSwitchBar switchBar, in LocationSwitchBarController() argument 41 mSwitchBar = switchBar; in LocationSwitchBarController()
|
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectLocationFragment.java | 39 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated() local 40 switchBar.setTitle(getContext().getString(R.string.location_settings_primary_switch_title)); in onActivityCreated() 42 activity, switchBar, getSettingsLifecycle()); in onActivityCreated() 43 switchBar.show(); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverDashboard.java | 67 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated() local 70 activity, new MainSwitchBarController(switchBar)); in onActivityCreated() 72 switchBar.setTitle( in onActivityCreated() 74 switchBar.show(); in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverSummary.kt | 31 private lateinit var switchBar: SettingsMainSwitchBar in <lambda>() variable in com.android.settings.datausage.DataSaverSummary 50 switchBar = (activity as SettingsActivity).switchBar.apply { in <lambda>() 84 switchBar.isChecked = isDataSaving in <lambda>()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/delegates/ |
D | MeasurementActionDelegate.java | 125 switchBar -> in configureMeasurementConsentSwitch() 126 mMeasurementViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar)); in configureMeasurementConsentSwitch() 137 switchBar -> in configureMeasurementConsentSwitchOnR() 138 mMeasurementViewModel.consentSwitchClickHandlerOnR((Switch) switchBar)); in configureMeasurementConsentSwitchOnR()
|
D | TopicsActionDelegate.java | 155 switchBar -> mTopicsViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar)); in configureTopicsConsentSwitch()
|
D | AppsActionDelegate.java | 163 switchBar -> mAppsViewModel.consentSwitchClickHandler((MainSwitchBar) switchBar)); in configureAppsConsentSwitch()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSwitchBarController.java | 36 SettingsMainSwitchBar switchBar, boolean isAvailable, Lifecycle lifecycle) { in DevelopmentSwitchBarController() argument 37 mSwitchBar = switchBar; in DevelopmentSwitchBarController()
|
D | WirelessDebuggingFragment.java | 176 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated() local 177 switchBar.setTitle(getContext().getString(R.string.wireless_debugging_main_switch_title)); in onActivityCreated() 180 new MainSwitchBarController(switchBar), this, getSettingsLifecycle()); in onActivityCreated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | SettingsMainSwitchPreferenceTest.java | 49 final SettingsMainSwitchBar switchBar = new SettingsMainSwitchBar(context); in setUp() local 52 ReflectionHelpers.setField(mPreference, "mMainSwitchBar", switchBar); in setUp()
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSwitchBarController.java | 48 SettingsMainSwitchBar switchBar, in AutomaticStorageManagerSwitchBarController() argument 53 mSwitchBar = Preconditions.checkNotNull(switchBar); in AutomaticStorageManagerSwitchBarController()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | MultiUserSwitchBarController.java | 48 MultiUserSwitchBarController(Context context, SwitchWidgetController switchBar, in MultiUserSwitchBarController() argument 51 mSwitchBar = switchBar; in MultiUserSwitchBarController()
|
D | UserSettings.java | 288 final SettingsMainSwitchBar switchBar = activity.getSwitchBar(); in onActivityCreated() local 289 switchBar.setTitle(getContext().getString(R.string.multiple_users_main_switch_title)); in onActivityCreated() 291 switchBar.show(); in onActivityCreated() 293 switchBar.hide(); in onActivityCreated() 296 new MainSwitchBarController(switchBar), this /* listener */); in onActivityCreated() 300 if (switchBar.isChecked() && openUserEditDialog) { in onActivityCreated()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSwitchBarController.java | 77 WifiTetherSwitchBarController(Context context, SettingsMainSwitchBar switchBar) { in WifiTetherSwitchBarController() argument 79 mSwitchBar = switchBar; in WifiTetherSwitchBarController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 75 SettingsMainSwitchBar switchBar = new SettingsMainSwitchBar(mContext); in setUp() local 77 ReflectionHelpers.setField(mDashboard, "mSwitchBar", switchBar); in setUp()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingSwitchBarController.java | 268 SettingsMainSwitchBar switchBar, in AudioSharingSwitchBarController() argument 271 mSwitchBar = switchBar; in AudioSharingSwitchBarController()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 250 final SettingsMainSwitchBar switchBar = settingsActivity.getSwitchBar(); in onViewCreated() local 251 switchBar.hide(); in onViewCreated()
|