Searched refs:okButton (Results 1 – 4 of 4) sorted by relevance
89 MenuItem okButton = ((ToolbarController) requireToolbar(mTestActivity)) in testClickingOkSavesNewUserName() local95 assertThat(okButton.isEnabled()).isTrue(); in testClickingOkSavesNewUserName()96 okButton.performClick(); in testClickingOkSavesNewUserName()132 MenuItem okButton = ((ToolbarController) requireToolbar(mTestActivity)) in testEmptyUsernameCannotBeSaved() local138 assertThat(okButton.isEnabled()).isFalse(); in testEmptyUsernameCannotBeSaved()
35 private final Button okButton; field in PromotionCardViewHolder53 okButton = itemView.findViewById(R.id.new_call_log_promotion_card_ok); in PromotionCardViewHolder()57 okButton.setOnClickListener( in setDismissListener()
180 Button okButton = (Button) findViewById(R.id.button_ok); in onCreate() local185 okButton.setOnClickListener(this); in onCreate()399 Button okButton = (Button) findViewById(R.id.button_ok); in updateButton() local400 okButton.setEnabled((mTextIn.getText().length() < mStkInput.minLen) ? false : true); in updateButton()
509 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateCustomDialogOkButtonState() local510 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateCustomDialogOkButtonState()