/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractLoginActivityTestCase.java | 47 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus)); 56 event = mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), 70 mUiBot.waitForWindowChange(() -> mActivity.onPassword(View::requestFocus));
|
D | FillEventHistoryTest.java | 99 mActivity.onUsername(View::requestFocus); in testDatasetAuthenticationSelected() 136 mActivity.onUsername(View::requestFocus); in testAuthenticationSelected() 169 mActivity.onUsername(View::requestFocus); in testDatasetSelected_twoResponses() 206 mActivity.onPassword(View::requestFocus); in testDatasetSelected_twoResponses() 250 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceReturnsNullResponse() 266 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceReturnsNullResponse() 287 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceReturnsFailure() 303 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceReturnsFailure() 324 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceTimesout() 340 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceTimesout() [all …]
|
D | SimpleSaveActivityTest.java | 117 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave() 163 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure() 288 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest() 333 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave() 349 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testPartitionedSave() 389 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testDelayedSave() 418 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testDelayedSave() 458 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSave_launchIntent() 492 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveThenStartNewSessionRightAway() 532 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveWithParcelableOnClientState() [all …]
|
D | MultiScreenDifferentActivitiesTest.java | 53 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 61 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 96 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged() 109 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
|
D | LoginActivityTest.java | 128 mActivity.onUsername(View::requestFocus); in testAutoFillNoDatasets() 153 mActivity.onUsername(View::requestFocus); in testAutoFillNoDatasets_multipleFields_alwaysNull() 159 mActivity.onPassword(View::requestFocus); in testAutoFillNoDatasets_multipleFields_alwaysNull() 162 mActivity.onUsername(View::requestFocus); in testAutoFillNoDatasets_multipleFields_alwaysNull() 165 mActivity.onPassword(View::requestFocus); in testAutoFillNoDatasets_multipleFields_alwaysNull() 180 mActivity.onUsername(View::requestFocus); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 199 mActivity.syncRunOnUiThread(() -> child.requestFocus()); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 222 mActivity.onUsername(View::requestFocus); in testAutofillManuallyAfterServiceReturnedNoDatasets() 258 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 264 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() [all …]
|
D | AutoFinishSessionTest.java | 86 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 92 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus()); 216 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 222 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
|
D | MultipleFragmentLoginTest.java | 72 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 90 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus()); 219 mActivity.syncRunOnUiThread(() -> mEditText2.requestFocus()); 226 mActivity.syncRunOnUiThread(() -> mEditText1.requestFocus());
|
D | OptionalSaveActivityTest.java | 118 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 175 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 306 mActivity.syncRunOnUiThread(() -> { mActivity.mAddress1.requestFocus(); }); 402 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 619 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 657 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 694 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 741 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
|
D | PreSimpleSaveActivityTest.java | 74 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest() 133 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 190 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 226 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest() 364 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkAfterUpdateAppliedTest()
|
D | DialogLauncherActivityTest.java | 66 mActivity.onUsername(View::requestFocus); 108 mActivity.onUsername(View::requestFocus);
|
D | CheckoutActivityTest.java | 98 mActivity.onCcNumber((v) -> v.requestFocus()); 143 mActivity.onCcNumber((v) -> v.requestFocus()); 186 mActivity.onCcNumber((v) -> v.requestFocus()); 223 mActivity.onCcNumber((v) -> v.requestFocus()); 313 mActivity.onCcNumber((v) -> v.requestFocus()); 391 mActivity.onCcNumber((v) -> v.requestFocus());
|
D | WebViewActivityTest.java | 356 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); 366 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); 450 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); 456 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); 492 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); 497 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); 507 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus());
|
D | DisableAutofillTest.java | 96 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity() 103 activity.syncRunOnUiThread(() -> activity.mPassword.requestFocus()); in launchSimpleSaveActivity() 148 activity.syncRunOnUiThread(() -> activity.mPreInput.requestFocus()); in launchPreSimpleSaveActivity()
|
/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 | 108 mActivity.onUsername(View::requestFocus); 166 mActivity.onUsername(View::requestFocus); 234 mActivity.onUsername(View::requestFocus); 304 mActivity.onUsername(View::requestFocus); 341 mActivity.onUsername(View::requestFocus); 373 mActivity.onUsername(View::requestFocus); 406 mActivity.onUsername(View::requestFocus); 442 mActivity.onUsername(View::requestFocus); 468 mActivity.onUsername(View::requestFocus); 503 mActivity.onUsername(View::requestFocus); [all …]
|
D | DisableAutofillTest.java | 55 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity() 93 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity() 111 simpleActivity.syncRunOnUiThread(() -> input.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
|
D | AbstractLoginNotImportantForAutofillTestCase.java | 52 mActivity.onUsername(View::requestFocus); in testAutofill_none() 83 mActivity.onUsername(View::requestFocus); in testAutofill_oneField() 120 mActivity.onUsername(View::requestFocus); in testAutofill_twoFields() 191 mActivity.onUsername(View::requestFocus); in testAutofill_autoThenManualRequests()
|
/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/inputmethod/src/android/view/inputmethod/cts/ |
D | SearchViewTest.java | 53 public SearchView launchTestActivity(boolean requestFocus) { in launchTestActivity() argument 69 if (requestFocus) { in launchTestActivity() 70 searchView.requestFocus(); in launchTestActivity()
|
D | FocusHandlingTest.java | 85 editText.requestFocus(); in launchTestActivity() 149 textView.requestFocus(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 187 editText.requestFocus(); in testEditorStartsInput() 211 editText.requestFocus(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 248 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 352 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testRestartInputWhileOtherProcessHasWindowFocus()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TimePickerTest.java | 569 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 585 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 594 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 614 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 645 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 650 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 656 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 662 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 687 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() 702 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() [all …]
|
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/ |
D | CantSave2Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/ |
D | CantSave1Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|