Lines Matching defs:mOkButton
49 private Button mOkButton;
139 mOkButton = null;
145 if (mOkButton == null) {
146 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE);
147 mOkButton.setEnabled(mDeviceNameEdited); // Ok button enabled after user edits
164 mOkButton.setEnabled(false);
167 if (mOkButton != null) {
168 mOkButton.setEnabled(s.toString().trim().length() != 0);
175 if (mOkButton != null) {
176 mOkButton.setEnabled(s.length() != 0 && !(s.toString().trim().isEmpty()));