Home
last modified time | relevance | path

Searched refs:switchWidget (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutPreference.java91 CompoundButton switchWidget = in onBindViewHolder() local
92 holder.itemView.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
93 if (switchWidget != null) { in onBindViewHolder()
95 switchWidget.setOnTouchListener((v, event) -> { in onBindViewHolder()
98 switchWidget.setContentDescription( in onBindViewHolder()
100 switchWidget.setChecked(mChecked); in onBindViewHolder()
101 switchWidget.setOnClickListener(view -> callOnToggleClicked()); in onBindViewHolder()
102 switchWidget.setClickable(mSettingsEditable); in onBindViewHolder()
103 switchWidget.setFocusable(mSettingsEditable); in onBindViewHolder()
104 switchWidget.setBackgroundResource( in onBindViewHolder()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DTVInputMethodPreference.java43 final CompoundButton switchWidget = getSwitch(); in onPreferenceClick() local
44 if (!switchWidget.isEnabled()) { in onPreferenceClick()
48 switchWidget.setChecked(isChecked()); in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java87 public WifiEnabler(Context context, SwitchWidgetController switchWidget, in WifiEnabler() argument
89 this(context, switchWidget, metricsFeatureProvider, in WifiEnabler()
94 WifiEnabler(Context context, SwitchWidgetController switchWidget, in WifiEnabler() argument
98 mSwitchWidget = switchWidget; in WifiEnabler()
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingEnabler.java50 public WirelessDebuggingEnabler(Context context, SwitchWidgetController switchWidget, in WirelessDebuggingEnabler() argument
53 mSwitchWidget = switchWidget; in WirelessDebuggingEnabler()
/packages/apps/Settings/src/com/android/settings/widget/
DFilterTouchesSwitchPreference.java51 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
DFilterTouchesRestrictedSwitchPreference.java53 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java87 View switchView = view.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java170 (CompoundButton) holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DApplicationViewHolder.java82 mSwitch = itemView.findViewById(com.android.settingslib.R.id.switchWidget); in ApplicationViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCredentialManagerPreferenceController.java1168 view.itemView.findViewById(com.android.settingslib.R.id.switchWidget); in onBindViewHolder()