Searched refs:switchView (Results 1 – 6 of 6) sorted by relevance
104 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch); in toggle() local105 switchView.setChecked(mChecked); in toggle()111 final SwitchCompat switchView = (SwitchCompat) view.findViewById(R.id.suw_items_switch); in onBindView() local112 switchView.setOnCheckedChangeListener(null); in onBindView()113 switchView.setChecked(mChecked); in onBindView()114 switchView.setOnCheckedChangeListener(this); in onBindView()115 switchView.setEnabled(isEnabled()); in onBindView()
143 View switchView = holder.findViewById(AndroidResources.ANDROID_R_SWITCH_WIDGET); in onBindViewHolder() local144 syncSwitchView(switchView); in onBindViewHolder()222 View switchView = view.findViewById(AndroidResources.ANDROID_R_SWITCH_WIDGET); in syncViewIfAccessibilityEnabled() local223 syncSwitchView(switchView); in syncViewIfAccessibilityEnabled()231 final Switch switchView = (Switch) view; in syncSwitchView() local232 switchView.setOnCheckedChangeListener(null); in syncSwitchView()238 final Switch switchView = (Switch) view; in syncSwitchView() local239 switchView.setTextOn(mSwitchOn); in syncSwitchView()240 switchView.setTextOff(mSwitchOff); in syncSwitchView()241 switchView.setOnCheckedChangeListener(mListener); in syncSwitchView()
141 View switchView = holder.findViewById(R.id.switchWidget); in onBindViewHolder() local142 syncSwitchView(switchView); in onBindViewHolder()219 View switchView = view.findViewById(R.id.switchWidget); in syncViewIfAccessibilityEnabled() local220 syncSwitchView(switchView); in syncViewIfAccessibilityEnabled()228 final SwitchCompat switchView = (SwitchCompat) view; in syncSwitchView() local229 switchView.setOnCheckedChangeListener(null); in syncSwitchView()235 final SwitchCompat switchView = (SwitchCompat) view; in syncSwitchView() local236 switchView.setTextOn(mSwitchOn); in syncSwitchView()237 switchView.setTextOff(mSwitchOff); in syncSwitchView()238 switchView.setOnCheckedChangeListener(mListener); in syncSwitchView()
128 final Switch switchView = (Switch) checkableView; in onBindView() local129 switchView.setOnCheckedChangeListener(null); in onBindView()135 final Switch switchView = (Switch) checkableView; in onBindView() local136 switchView.setTextOn(mSwitchOn); in onBindView()137 switchView.setTextOff(mSwitchOff); in onBindView()138 switchView.setOnCheckedChangeListener(mListener); in onBindView()
84 Switch switchView = new Switch(getContext()); in setAction() local85 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()
46 switchView(object); in select()70 private void switchView(Object object) { in switchView() method in PresenterSwitcher