Home
last modified time | relevance | path

Searched refs:switchView (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DSwitchItem.java104 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch); in toggle() local
105 switchView.setChecked(mChecked); in toggle()
111 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch); in onBindView() local
112 switchView.setOnCheckedChangeListener(null); in onBindView()
113 switchView.setChecked(mChecked); in onBindView()
114 switchView.setOnCheckedChangeListener(this); in onBindView()
115 switchView.setEnabled(isEnabled()); in onBindView()
/frameworks/support/preference/src/main/java/androidx/preference/
DSwitchPreference.java143 View switchView = holder.findViewById(AndroidResources.ANDROID_R_SWITCH_WIDGET); in onBindViewHolder() local
144 syncSwitchView(switchView); in onBindViewHolder()
222 View switchView = view.findViewById(AndroidResources.ANDROID_R_SWITCH_WIDGET); in syncViewIfAccessibilityEnabled() local
223 syncSwitchView(switchView); in syncViewIfAccessibilityEnabled()
231 final Switch switchView = (Switch) view; in syncSwitchView() local
232 switchView.setOnCheckedChangeListener(null); in syncSwitchView()
238 final Switch switchView = (Switch) view; in syncSwitchView() local
239 switchView.setTextOn(mSwitchOn); in syncSwitchView()
240 switchView.setTextOff(mSwitchOff); in syncSwitchView()
241 switchView.setOnCheckedChangeListener(mListener); in syncSwitchView()
DSwitchPreferenceCompat.java141 View switchView = holder.findViewById(R.id.switchWidget); in onBindViewHolder() local
142 syncSwitchView(switchView); in onBindViewHolder()
219 View switchView = view.findViewById(R.id.switchWidget); in syncViewIfAccessibilityEnabled() local
220 syncSwitchView(switchView); in syncViewIfAccessibilityEnabled()
228 final SwitchCompat switchView = (SwitchCompat) view; in syncSwitchView() local
229 switchView.setOnCheckedChangeListener(null); in syncSwitchView()
235 final SwitchCompat switchView = (SwitchCompat) view; in syncSwitchView() local
236 switchView.setTextOn(mSwitchOn); in syncSwitchView()
237 switchView.setTextOff(mSwitchOff); in syncSwitchView()
238 switchView.setOnCheckedChangeListener(mListener); in syncSwitchView()
/frameworks/base/core/java/android/preference/
DSwitchPreference.java128 final Switch switchView = (Switch) checkableView; in onBindView() local
129 switchView.setOnCheckedChangeListener(null); in onBindView()
135 final Switch switchView = (Switch) checkableView; in onBindView() local
136 switchView.setTextOn(mSwitchOn); in onBindView()
137 switchView.setTextOff(mSwitchOff); in onBindView()
138 switchView.setOnCheckedChangeListener(mListener); in onBindView()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DSliceActionView.java84 Switch switchView = new Switch(getContext()); in setAction() local
85 addView(switchView); in setAction()
86 switchView.setChecked(action.isChecked()); in setAction()
87 switchView.setOnCheckedChangeListener(this); in setAction()
88 switchView.setMinimumHeight(mImageSize); in setAction()
89 switchView.setMinimumWidth(mImageSize); in setAction()
93 mActionView = switchView; in setAction()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPresenterSwitcher.java46 switchView(object); in select()
70 private void switchView(Object object) { in switchView() method in PresenterSwitcher