/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | AbstractLoginActivityTestCase.java | 59 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus)); 68 event = mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), 82 mUiBot.waitForWindowChange(() -> mActivity.onPassword(View::requestFocus));
|
D | AbstractLoginNotImportantForAutofillTestCase.java | 53 mActivity.onUsername(View::requestFocus); in testAutofill_none() 84 mActivity.onUsername(View::requestFocus); in testAutofill_oneField() 121 mActivity.onUsername(View::requestFocus); in testAutofill_twoFields() 194 mActivity.onUsername(View::requestFocus); in testAutofill_autoThenManualRequests()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 122 assertTrue(v1.requestFocus()); in testFocusHandling() 161 v1.requestFocus(); in testFocusHandling() 193 assertTrue(v2.requestFocus(View.FOCUS_UP)); in testFocusHandling() 199 assertTrue(v1.requestFocus(View.FOCUS_LEFT, null)); in testFocusHandling() 205 assertTrue(v3.requestFocus()); in testFocusHandling() 255 assertTrue(v1.requestFocus()); in testEnabledHandling() 261 v1.requestFocus(); in testEnabledHandling() 264 v1.requestFocus(); in testEnabledHandling() 272 v1.requestFocus(); in testEnabledHandling() 276 v1.requestFocus(); in testEnabledHandling() [all …]
|
D | ViewTreeObserverTest.java | 90 mActivityRule.runOnUiThread(view1::requestFocus); in testAddOnGlobalFocusChangeListener() 97 mActivityRule.runOnUiThread(view2::requestFocus); in testAddOnGlobalFocusChangeListener() 235 mActivityRule.runOnUiThread(view1::requestFocus); in testRemoveOnGlobalFocusChangeListener() 241 mActivityRule.runOnUiThread(view2::requestFocus); in testRemoveOnGlobalFocusChangeListener() 247 mActivityRule.runOnUiThread(view1::requestFocus); in testRemoveOnGlobalFocusChangeListener()
|
D | View_UsingViewsTest.java | 290 assertTrue(mEditText.requestFocus()); in testSetFocus() 307 assertTrue(mButtonOk.requestFocus()); in testSetFocus() 319 assertTrue(mButtonCancel.requestFocus()); in testSetFocus() 330 assertTrue(mSymbolTextView.requestFocus()); in testSetFocus() 341 assertTrue(mWarningTextView.requestFocus()); in testSetFocus() 351 assertTrue(mEditText.requestFocus()); in testSetFocus()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 117 mActivity.onUsername(View::requestFocus); 177 mActivity.onUsername(View::requestFocus); 245 mActivity.onUsername(View::requestFocus); 313 mActivity.onUsername(View::requestFocus); 332 mActivity.onPassword(View::requestFocus); 361 mActivity.onUsername(View::requestFocus); 399 mActivity.onUsername(View::requestFocus); 431 mActivity.onUsername(View::requestFocus); 464 mActivity.onUsername(View::requestFocus); 500 mActivity.onUsername(View::requestFocus); [all …]
|
D | DisableAutofillTest.java | 57 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity() 95 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity() 113 simpleActivity.syncRunOnUiThread(() -> input.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | SearchViewTest.java | 68 public SearchView launchTestActivity(boolean requestFocus) { in launchTestActivity() argument 84 if (requestFocus) { in launchTestActivity() 85 searchView.requestFocus(); in launchTestActivity() 95 private SearchView launchTestActivityWithListView(boolean requestFocus) { in launchTestActivityWithListView() argument 112 if (requestFocus) { in launchTestActivityWithListView() 113 searchView.requestFocus(); in launchTestActivityWithListView()
|
D | FocusHandlingTest.java | 111 editText.requestFocus(); in launchTestActivity() 189 textView.requestFocus(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 227 editText.requestFocus(); in testEditorStartsInput() 251 editText.requestFocus(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 288 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 392 runOnMainSync(editText::requestFocus); in testNonFocusablePopupWindowDoesNotAffectImeVisibility() 451 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testRestartInputWhileOtherProcessHasWindowFocus() 557 popupTextHasViewFocus.set(popupTextView.requestFocus()); in testMultiWindowFocusHandleOnDifferentUiThread() 606 editText.requestFocus(); in testKeyboardStateAfterImeFocusableFlagChanged() 623 editTextRef.get().requestFocus(); in testKeyboardStateAfterImeFocusableFlagChanged() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | MultiScreenDifferentActivitiesTest.java | 57 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 65 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 100 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged() 113 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 141 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave() 187 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure() 313 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest() 358 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave() 374 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testPartitionedSave() 414 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testDelayedSave() 443 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testDelayedSave() 484 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSave_launchIntent() 519 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi() 580 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testCloseSaveUiThenStartNewSessionRightAway() [all …]
|
D | AutofillSaveDialogTest.java | 59 loginActivity.onUsername(View::requestFocus); in testShowSaveUiWhenLaunchActivityWithFlagClearTopAndSingleTop() 104 loginActivity.onUsername(View::requestFocus); in testShowSaveUiWhenLaunchActivityWithFlagClearTaskAndNewTask()
|
D | OptionalSaveActivityTest.java | 123 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 180 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 312 mActivity.mAddress1.requestFocus(); 409 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 626 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 664 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 701 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 748 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
|
D | PreSimpleSaveActivityTest.java | 84 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest() 143 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 200 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 236 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest() 374 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkAfterUpdateAppliedTest()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 150 mActivity.onUsername(View::requestFocus); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 169 mActivity.syncRunOnUiThread(() -> child.requestFocus()); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 192 mActivity.onUsername(View::requestFocus); in testAutofillManuallyAfterServiceReturnedNoDatasets() 228 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 234 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 253 mActivity.onUsername(View::requestFocus); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 269 mActivity.syncRunOnUiThread(() -> child.requestFocus()); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 317 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 322 mActivity.onPassword(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 323 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() [all …]
|
D | FillEventHistoryTest.java | 71 mActivity.onUsername(View::requestFocus); in testContextCommitted_whenServiceDidntDoAnything() 97 mActivity.onUsername(View::requestFocus); in textContextCommitted_withoutDatasets() 136 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasets() 190 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 254 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() 320 mActivity.onUsername(View::requestFocus); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered() 379 mActivity.onUsername(View::requestFocus); in testContextCommitted_oneDatasetSelected() 450 mActivity.onUsername(View::requestFocus); in testContextCommitted_multipleDatasetsSelected() 466 mActivity.onPassword(View::requestFocus); in testContextCommitted_multipleDatasetsSelected() 536 mActivity.onUsername(View::requestFocus); in testContextCommitted_multipleDatasetsSelected_butNotChanged() [all …]
|
D | CheckoutActivityTest.java | 119 mActivity.onCcNumber((v) -> v.requestFocus()); 164 mActivity.onCcNumber((v) -> v.requestFocus()); 207 mActivity.onCcNumber((v) -> v.requestFocus()); 243 mActivity.onCcNumber((v) -> v.requestFocus()); 333 mActivity.onCcNumber((v) -> v.requestFocus()); 411 mActivity.onCcNumber((v) -> v.requestFocus()); 454 mActivity.onCcNumber((v) -> v.requestFocus()); 511 mActivity.onSaveCc((v) -> v.requestFocus()); 553 mActivity.onCcExpiration((v) -> v.requestFocus()); 631 mActivity.onCcNumber((v) -> v.requestFocus()); [all …]
|
D | MultipleFragmentLoginTest.java | 79 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 97 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus()); 226 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 233 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TransformationMethodTest.java | 88 mEditText.requestFocus(); in setup() 109 mActivityRule.runOnUiThread(() -> mButton.requestFocus()); in testOnFocusChanged() 116 mActivityRule.runOnUiThread(() -> mEditText.requestFocus()); in testOnFocusChanged()
|
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/ |
D | CantSave2Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFinishSessionTest.java | 91 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 97 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus()); 221 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 227 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarCtsActivity.java | 40 v.requestFocus(); in onCreate()
|
D | TimePickerTest.java | 571 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 587 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 596 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 616 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 647 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 652 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 658 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 664 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 689 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() 704 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() [all …]
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | ShowWhenLockedAttrImeActivity.java | 38 editText.requestFocus(); in onCreate()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ResizingEditActivity.java | 44 mExtraInput.requestFocus(); in showSoftInputOnExtraInputEditText()
|