Searched refs:switchWidget (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ShortcutPreference.java | 91 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/ |
D | TVInputMethodPreference.java | 43 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/ |
D | WifiEnabler.java | 87 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/ |
D | WirelessDebuggingEnabler.java | 50 public WirelessDebuggingEnabler(Context context, SwitchWidgetController switchWidget, in WirelessDebuggingEnabler() argument 53 mSwitchWidget = switchWidget; in WirelessDebuggingEnabler()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | FilterTouchesSwitchPreference.java | 51 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
|
D | FilterTouchesRestrictedSwitchPreference.java | 53 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | SyncStateSwitchPreference.java | 87 View switchView = view.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CellDataPreference.java | 170 (CompoundButton) holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ApplicationViewHolder.java | 82 mSwitch = itemView.findViewById(com.android.settingslib.R.id.switchWidget); in ApplicationViewHolder()
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceController.java | 1168 view.itemView.findViewById(com.android.settingslib.R.id.switchWidget); in onBindViewHolder()
|