/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | AbstractLoginActivityTestCase.java | 69 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus)); 78 event = mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), 92 mUiBot.waitForWindowChange(() -> mActivity.onPassword(View::requestFocus));
|
D | AbstractLoginNotImportantForAutofillTestCase.java | 54 mActivity.onUsername(View::requestFocus); in testAutofill_none() 85 mActivity.onUsername(View::requestFocus); in testAutofill_oneField() 122 mActivity.onUsername(View::requestFocus); in testAutofill_twoFields() 195 mActivity.onUsername(View::requestFocus); in testAutofill_autoThenManualRequests()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 133 assertTrue(v1.requestFocus()); in testFocusHandling() 172 v1.requestFocus(); in testFocusHandling() 204 assertTrue(v2.requestFocus(View.FOCUS_UP)); in testFocusHandling() 210 assertTrue(v1.requestFocus(View.FOCUS_LEFT, null)); in testFocusHandling() 216 assertTrue(v3.requestFocus()); in testFocusHandling() 266 assertTrue(v1.requestFocus()); in testEnabledHandling() 272 v1.requestFocus(); in testEnabledHandling() 275 v1.requestFocus(); in testEnabledHandling() 283 v1.requestFocus(); in testEnabledHandling() 287 v1.requestFocus(); in testEnabledHandling() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 122 mActivity.onUsername(View::requestFocus); 185 mActivity.onUsername(View::requestFocus); 253 mActivity.onUsername(View::requestFocus); 321 mActivity.onUsername(View::requestFocus); 340 mActivity.onPassword(View::requestFocus); 369 mActivity.onUsername(View::requestFocus); 407 mActivity.onUsername(View::requestFocus); 439 mActivity.onUsername(View::requestFocus); 472 mActivity.onUsername(View::requestFocus); 508 mActivity.onUsername(View::requestFocus); [all …]
|
D | DisableAutofillTest.java | 58 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_sameActivity() 96 preSimpleActivity.syncRunOnUiThread(() -> preInput.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity() 114 simpleActivity.syncRunOnUiThread(() -> input.requestFocus()); in testAugmentedAutofill_standardAutofillDisabledByService_otherActivity()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | SimpleSaveActivityTest.java | 142 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave() 187 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave_largeAssistStructure() 321 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest() 365 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testPartitionedSave() 381 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testPartitionedSave() 420 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testDelayedSave() 447 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testDelayedSave() 486 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSave_launchIntent() 521 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveThenStartNewSessionRightAwayShouldKeepSaveUi() 582 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testCloseSaveUiThenStartNewSessionRightAway() [all …]
|
D | AutofillSaveDialogTest.java | 79 loginActivity.onUsername(View::requestFocus); in testShowSaveUiHideIcon() 132 loginActivity.onUsername(View::requestFocus); in testShowSaveUiCustomServiceLabel() 178 loginActivity.onUsername(View::requestFocus); in testShowSaveUiWhenLaunchActivityWithFlagClearTopAndSingleTop() 223 loginActivity.onUsername(View::requestFocus); in testShowSaveUiWhenLaunchActivityWithFlagClearTaskAndNewTask() 283 loginActivity.onUsername(View::requestFocus); in testShowSaveUiAfterLoginViewReset() 334 loginActivity.onUsername(View::requestFocus); in testDontShowSaveUiIfViewIsResetToEmptyProgressively() 386 loginActivity.onUsername(View::requestFocus); in testSuppressSaveDialog_OnCredmanOnlyFields() 427 loginActivity.onUsername(View::requestFocus); in testSuppressSaveDialog_onMixedFields()
|
D | OptionalSaveActivityTest.java | 124 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 181 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 313 mActivity.mAddress1.requestFocus(); 410 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 627 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 665 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 702 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); 749 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus());
|
D | PreSimpleSaveActivityTest.java | 85 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest() 143 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 199 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 234 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest() 368 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkAfterUpdateAppliedTest()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | SearchViewTest.java | 75 public SearchView launchTestActivity(boolean requestFocus) { in launchTestActivity() argument 91 if (requestFocus) { in launchTestActivity() 92 searchView.requestFocus(); in launchTestActivity() 102 private SearchView launchTestActivityWithListView(boolean requestFocus) { in launchTestActivityWithListView() argument 119 if (requestFocus) { in launchTestActivityWithListView() 120 searchView.requestFocus(); in launchTestActivityWithListView()
|
D | FocusHandlingTest.java | 145 editText.requestFocus(); in launchTestActivity() 245 testActivity.runOnUiThread(() -> viewRef1.get().requestFocus()); in testSwitchingBetweenEquivalentNonEditableViews() 250 testActivity.runOnUiThread(() -> viewRef2.get().requestFocus()); in testSwitchingBetweenEquivalentNonEditableViews() 300 textView.requestFocus(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 340 textView.requestFocus(); in testNoEditorNoStartInput() 375 editText.requestFocus(); in testDelayedAddEditorStartsInput() 396 editText.requestFocus(); in testEditorStartsInput() 417 editText.requestFocus(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 462 instrumentation.runOnMainSync(editTextRef.get()::requestFocus); in testSoftInputStateAlwaysVisibleFocusEditorAfterLaunch() 490 instrumentation.runOnMainSync(editText::requestFocus); in testFocusableWindowDoesNotInvalidateExistingInputConnection() [all …]
|
D | InputConnectionLifecycleTest.java | 143 testEditor.requestFocus(); in testCloseConnectionWithRestartInput() 221 testEditor.requestFocus(); in testCloseConnectionWithLosingViewFocus() 236 runOnMainSync(() -> anotherEditTextRef.get().requestFocus()); in testCloseConnectionWithLosingViewFocus() 298 testEditor.requestFocus(); in testCloseConnectionWithLosingWindowFocus()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | MultiScreenDifferentActivitiesTest.java | 58 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 66 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 101 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged() 114 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioFocusWithVdmTest.java | 119 int defaultFocusRequestResult = defaultDevicePlayback.requestFocus(); in testAudioFocusRequestOnVdmContextWithCustomDevicePolicy() 123 int vdmFocusRequestResult = vdmDevicePlayback.requestFocus(); in testAudioFocusRequestOnVdmContextWithCustomDevicePolicy() 152 int defaultFocusRequestResult = defaultDevicePlayback.requestFocus(); in testAudioFocusRequestOnVdmContextWithDefaultDevicePolicy() 156 int vdmFocusRequestResult = vdmDevicePlayback.requestFocus(); in testAudioFocusRequestOnVdmContextWithDefaultDevicePolicy() 180 public int requestFocus() { in requestFocus() method in AudioFocusWithVdmTest.PlaybackHelperForTest
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | LoginActivityTest.java | 176 mActivity.onUsername(View::requestFocus); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 195 mActivity.syncRunOnUiThread(() -> child.requestFocus()); in testAutofillAutomaticallyAfterServiceReturnedNoDatasets() 218 mActivity.onUsername(View::requestFocus); in testAutofillManuallyAfterServiceReturnedNoDatasets() 254 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 260 mActivity.onPassword(View::requestFocus); in testAutofillManuallyAndSaveAfterServiceReturnedNoDatasets() 279 mActivity.onUsername(View::requestFocus); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 295 mActivity.syncRunOnUiThread(() -> child.requestFocus()); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 343 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 348 mActivity.onPassword(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 349 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() [all …]
|
D | FillEventHistoryTest.java | 74 mActivity.onUsername(View::requestFocus); in testContextCommitted_whenServiceDidntDoAnything() 100 mActivity.onUsername(View::requestFocus); in textContextCommitted_withoutDatasets() 141 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasets() 197 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 261 mActivity.onUsername(View::requestFocus); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected() 327 mActivity.onUsername(View::requestFocus); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered() 386 mActivity.onUsername(View::requestFocus); in testContextCommitted_oneDatasetSelected() 457 mActivity.onUsername(View::requestFocus); in testContextCommitted_multipleDatasetsSelected() 473 mActivity.onPassword(View::requestFocus); in testContextCommitted_multipleDatasetsSelected() 544 mActivity.onUsername(View::requestFocus); in testContextCommitted_multipleDatasetsSelected_butNotChanged() [all …]
|
D | CheckoutActivityTest.java | 121 mActivity.onCcNumber((v) -> v.requestFocus()); 166 mActivity.onCcNumber((v) -> v.requestFocus()); 209 mActivity.onCcNumber((v) -> v.requestFocus()); 245 mActivity.onCcNumber((v) -> v.requestFocus()); 335 mActivity.onCcNumber((v) -> v.requestFocus()); 413 mActivity.onCcNumber((v) -> v.requestFocus()); 456 mActivity.onCcNumber((v) -> v.requestFocus()); 521 mActivity.onSaveCc((v) -> v.requestFocus()); 563 mActivity.onCcExpiration((v) -> v.requestFocus()); 642 mActivity.onCcNumber((v) -> v.requestFocus()); [all …]
|
D | DialogLauncherActivityTest.java | 72 mActivity.onUsername(View::requestFocus); 114 mActivity.onUsername(View::requestFocus);
|
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 | 95 mEditText.requestFocus(); in setup() 116 mActivityRule.runOnUiThread(() -> mButton.requestFocus()); in testOnFocusChanged() 123 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 | TimePickerTest.java | 583 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 599 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 608 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 628 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 659 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 664 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 670 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 676 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 701 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() 716 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() [all …]
|
D | SeekBarCtsActivity.java | 40 v.requestFocus(); in onCreate()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | ShowWhenLockedAttrImeActivity.java | 38 editText.requestFocus(); in onCreate()
|