Home
last modified time | relevance | path

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

/packages/apps/TvSystemUI/src/com/android/systemui/tv/hdmi/
DHdmiCecActiveSourceLostActivity.java96 Button okButton = findViewById(R.id.bottom_sheet_positive_button); in initUI() local
107 okButton.setText(String.format(getResources() in initUI()
112 okButton.setText(String.format(getResources() in initUI()
119 okButton.setOnClickListener(this); in initUI()
120 okButton.requestFocus(); in initUI()
DHdmiCecSetMenuLanguageActivity.java86 Button okButton = findViewById(R.id.bottom_sheet_positive_button); in initUI() local
94 okButton.setText(com.android.systemui.res.R.string.hdmi_cec_set_menu_language_accept); in initUI()
95 okButton.setOnClickListener(this); in initUI()
/packages/apps/Car/Settings/tests/multivalent/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/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/
DSettingsTestUtil.java260 UiObject2 okButton = in topicsToggleDialogTestUtil() local
263 okButton.clickAndWait(Until.newWindow(), WINDOW_LAUNCH_TIMEOUT_MS); in topicsToggleDialogTestUtil()
272 UiObject2 okButton = in topicsToggleDialogTestUtil() local
275 okButton.clickAndWait(Until.newWindow(), WINDOW_LAUNCH_TIMEOUT_MS); in topicsToggleDialogTestUtil()
318 UiObject2 okButton = in appsToggleDialogTestUtil() local
321 okButton.clickAndWait(Until.newWindow(), WINDOW_LAUNCH_TIMEOUT_MS); in appsToggleDialogTestUtil()
330 UiObject2 okButton = in appsToggleDialogTestUtil() local
333 okButton.clickAndWait(Until.newWindow(), WINDOW_LAUNCH_TIMEOUT_MS); in appsToggleDialogTestUtil()
380 UiObject2 okButton = in measurementToggleDialogTestUtil() local
383 okButton.clickAndWait(Until.newWindow(), WINDOW_LAUNCH_TIMEOUT_MS); in measurementToggleDialogTestUtil()
[all …]
/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/TvSystemUI/src/com/android/systemui/tv/usb/
DTvUsbDialogActivity.java81 Button okButton = findViewById(R.id.bottom_sheet_positive_button); in initUI() local
88 okButton.setText(android.R.string.ok); in initUI()
89 okButton.setOnClickListener(this); in initUI()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java287 UiObject2 okButton = mDevice.findObject(By.res("android:id/button1"));
288 okButton.click();
295 UiObject2 okButton = mDevice.findObject(By.res("android:id/button2"));
296 okButton.click();
/packages/apps/TV/src/com/android/tv/dialog/
DInteractiveAppDialogFragment.java103 Button okButton = v.findViewById(R.id.ok); in onCreateView() local
104 okButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollmentActivityTest.kt487 val okButton = device.findObject(By.text("OK")) in <lambda>() constant
488 assertThat(okButton).isNotNull() in <lambda>()
489 okButton.click() in <lambda>()
529 val okButton = device.findObject(By.text("OK")) in <lambda>() constant
530 assertThat(okButton).isNotNull() in <lambda>()
531 okButton.click() in <lambda>()
/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()
404 Button okButton = (Button) findViewById(R.id.button_ok); in updateButton() local
405 okButton.setEnabled((mTextIn.getText().length() < mStkInput.minLen) ? false : true); in updateButton()
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/direct/
DWifiP2pManagerSnippet.java392 UiObject2 okButton = mUiDevice.findObject(By.text("OK").clazz(Button.class)); in wifiP2pGetPinCode() local
393 if (okButton == null) { in wifiP2pGetPinCode()
397 okButton.click(); in wifiP2pGetPinCode()
438 UiObject2 okButton = mUiDevice.findObject(By.text("Accept").clazz(Button.class)); in wifiP2pGetKeypadPinCode() local
439 if (okButton == null) { in wifiP2pGetKeypadPinCode()
443 okButton.click(); in wifiP2pGetKeypadPinCode()
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastUiTest.java408 UiObject2 okButton = sDevice.wait(Until.findObject(closeButton), UI_TIMEOUT); in dismissFullScreenGuide() local
409 if (okButton != null) { in dismissFullScreenGuide()
410 okButton.click(); in dismissFullScreenGuide()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DDialogUtils.java43 Button gotItButton = customView.findViewById(R.id.okButton); in showDialog()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java515 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateCustomDialogOkButtonState() local
516 okButton.setEnabled(!TextUtils.isEmpty(editText.getText().toString().trim())); in updateCustomDialogOkButtonState()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java341 final UiObject okButton = new UiObject(new UiSelector() in prepareVpn() local
345 if (okButton.waitForExists(TIMEOUT_MS) == false) { in prepareVpn()
355 okButton.click(); in prepareVpn()