Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DPrimarySwitchPreferenceTest.java67 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in setChecked_shouldUpdateButtonCheckedState()
80 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in setSwitchEnabled_shouldUpdateButtonEnabledState()
93 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
105 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in clickWidgetView_shouldToggleButton()
120 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in clickWidgetView_shouldNotToggleButtonIfDisabled()
132 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in clickWidgetView_shouldNotifyPreferenceChanged()
150 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
161 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
172 (CompoundButton) mHolder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder_toggleButtonShouldHaveContentDescription()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java141 final CompoundButton switchWidget = getSwitch(); in onBindViewHolder() local
142 if (switchWidget != null) { in onBindViewHolder()
144 switchWidget.setOnClickListener(v -> { in onBindViewHolder()
145 if (!switchWidget.isEnabled()) { in onBindViewHolder()
150 switchWidget.setChecked(isChecked()); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/AppPreference/src/com/android/settingslib/widget/
DAppSwitchPreference.java56 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DPrimarySwitchPreference.java75 mSwitch = (CompoundButton) holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()
DRestrictedSwitchPreference.java114 final View switchView = holder.findViewById(androidx.preference.R.id.switchWidget); in onBindViewHolder()