Home
last modified time | relevance | path

Searched refs:okButton (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DEditProfileNameFragmentTest.java89 MenuItem okButton = mFragment.getToolbarMenuItems().get(0); in testClickingOkSavesNewUserName() local
94 assertThat(okButton.isEnabled()).isTrue(); in testClickingOkSavesNewUserName()
95 okButton.performClick(); in testClickingOkSavesNewUserName()
106 MenuItem okButton = mFragment.getToolbarMenuItems().get(0); in testEmptyUsernameCannotBeSaved() local
111 assertThat(okButton.isEnabled()).isFalse(); in testEmptyUsernameCannotBeSaved()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DPromotionCardViewHolder.java35 private final Button okButton; field in PromotionCardViewHolder
53 okButton = itemView.findViewById(R.id.new_call_log_promotion_card_ok); in PromotionCardViewHolder()
57 okButton.setOnClickListener( in setDismissListener()
/packages/apps/Stk/src/com/android/stk/
DStkInputActivity.java180 Button okButton = (Button) findViewById(R.id.button_ok); in onCreate() local
185 okButton.setOnClickListener(this); in onCreate()
399 Button okButton = (Button) findViewById(R.id.button_ok); in updateButton() local
400 okButton.setEnabled((mTextIn.getText().length() < mStkInput.minLen) ? false : true); in updateButton()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java509 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateCustomDialogOkButtonState() local
510 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateCustomDialogOkButtonState()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java210 final UiObject okButton = new UiObject(new UiSelector() in prepareVpn() local
214 if (okButton.waitForExists(TIMEOUT_MS) == false) { in prepareVpn()
224 okButton.click(); in prepareVpn()