Lines Matching refs:mSwitchBar
42 private SwitchBar mSwitchBar;
82 mSwitchBar = activity.getSwitchBar();
83 mSwitchBar.setChecked(!mBeamDisallowed && mNfcAdapter.isNdefPushEnabled());
84 mSwitchBar.addOnSwitchChangeListener(this);
85 mSwitchBar.setEnabled(!mBeamDisallowed);
86 mSwitchBar.show();
95 mSwitchBar.removeOnSwitchChangeListener(this);
96 mSwitchBar.hide();
102 mSwitchBar.setEnabled(false);
109 mSwitchBar.setChecked(desiredState);
111 mSwitchBar.setEnabled(true);