/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractLoginActivityTestCase.java | 49 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), in requestFocusOnUsername() 59 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), in requestFocusOnUsernameNoWindowChange() 73 mUiBot.waitForWindowChange(() -> mActivity.onPassword(View::requestFocus), in requestFocusOnPassword()
|
D | FillEventHistoryTest.java | 109 mActivity.onUsername(View::requestFocus); in testDatasetAuthenticationSelected() 146 mActivity.onUsername(View::requestFocus); in testAuthenticationSelected() 179 mActivity.onUsername(View::requestFocus); in testDatasetSelected_twoResponses() 216 mActivity.onPassword(View::requestFocus); in testDatasetSelected_twoResponses() 260 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceReturnsNullResponse() 276 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceReturnsNullResponse() 297 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceReturnsFailure() 313 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceReturnsFailure() 334 mActivity.onUsername(View::requestFocus); in testNoEvents_whenServiceTimesout() 350 mActivity.onPassword(View::requestFocus); in testNoEvents_whenServiceTimesout() [all …]
|
D | SimpleSaveActivityTest.java | 112 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutoFillOneDatasetAndSave() 218 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in saveTest() 259 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSave_launchIntent() 289 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveThenStartNewSessionRightAway() 322 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testSaveWithParcelableOnClientState() 372 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testCancelPreventsSaveUiFromShowing() 423 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in dismissSaveTest() 446 mActivity.syncRunOnUiThread(() -> mActivity.mLabel.requestFocus()); in dismissSaveTest() 504 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testTapHomeWhileSaveUiIsShowing() 538 mActivity.syncRunOnUiThread(() -> mActivity.mPassword.requestFocus()); in testTapHomeWhileSaveUiIsShowing() [all …]
|
D | DialogLauncherActivityTest.java | 66 mActivity.onUsername(View::requestFocus); in autofillNoDatasetsTest() 108 mActivity.onUsername(View::requestFocus); in autofillOneDatasetTest()
|
D | LoginActivityTest.java | 112 mActivity.onUsername(View::requestFocus); in testAutoFillNoDatasets() 147 mActivity.onUsername(View::requestFocus); in autofillAfterServiceReturnedNoDatasets() 200 mActivity.onPassword(View::requestFocus); in autofillAndSaveAfterServiceReturnedNoDatasets() 206 mActivity.onPassword(View::requestFocus); in autofillAndSaveAfterServiceReturnedNoDatasets() 227 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 233 mActivity.onPassword(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 238 mActivity.onUsername(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 243 mActivity.onPassword(View::requestFocus); in testMultipleIterationsAfterServiceReturnedNoDatasets() 274 mActivity.onUsername(View::requestFocus); in testAutofillManuallyAlwaysCallServiceAgain() 759 mActivity.onUsername(View::requestFocus); in testAutofillCallbackDisabled() [all …]
|
D | AutoFinishSessionTest.java | 80 mEditText2.requestFocus(); in removeViewsBaseTest() 81 mEditText1.requestFocus(); in removeViewsBaseTest() 210 mEditText2.requestFocus(); in activityToBackgroundShouldNotTriggerSave() 211 mEditText1.requestFocus(); in activityToBackgroundShouldNotTriggerSave()
|
D | MultipleFragmentLoginTest.java | 72 mEditText2.requestFocus(); in loginOnTwoFragments() 73 mEditText1.requestFocus(); in loginOnTwoFragments() 218 mEditText2.requestFocus(); in uiDismissedWhenFragmentIsGoneText() 219 mEditText1.requestFocus(); in uiDismissedWhenFragmentIsGoneText()
|
D | PreSimpleSaveActivityTest.java | 82 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiRestoredAfterTappingLinkTest() 141 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 199 newActivty.syncRunOnUiThread(() -> newActivty.mPassword.requestFocus()); in tapLinkThenTapBackThenStartOverTest() 235 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in saveUiCancelledAfterTappingLinkTest() 374 mActivity.syncRunOnUiThread(() -> mActivity.mPreInput.requestFocus()); in tapLinkAfterUpdateAppliedTest()
|
D | OptionalSaveActivityTest.java | 118 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in noAutofillSaveOnChangeTest() 175 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in noAutofillNoChangeNoSaveTest() 306 mActivity.syncRunOnUiThread(() -> { mActivity.mAddress1.requestFocus(); }); in autofillAndSaveOnChangeTest() 402 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in autofillNoChangeNoSaveTest() 564 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in saveWhenUserFilledDatasetFields() 605 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in testDontShowSaveUiWhenUserClearedAutofilledFieldThatIsRequired() 642 mActivity.syncRunOnUiThread(() -> mActivity.mAddress1.requestFocus()); in testShowSaveUiWhenUserClearedAutofilledFieldThatIsOptional()
|
D | AttachedContextActivityTest.java | 55 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutofill()
|
D | CheckoutActivityTest.java | 95 mActivity.onCcNumber((v) -> v.requestFocus()); in testAutofill() 140 mActivity.onCcNumber((v) -> v.requestFocus()); in testAutofillDynamicAdapter() 183 mActivity.onCcNumber((v) -> v.requestFocus()); in testGetAutofillOptionsSorted() 220 mActivity.onCcNumber((v) -> v.requestFocus()); in testSanitization() 303 mActivity.onCcNumber((v) -> v.requestFocus()); in customizedSaveUi() 374 mActivity.onCcNumber((v) -> v.requestFocus()); in testCustomizedSaveUiWhenListResolutionFails()
|
D | DisableAutofillTest.java | 104 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity() 111 activity.syncRunOnUiThread(() -> activity.mPassword.requestFocus()); in launchSimpleSaveActivity() 151 activity.syncRunOnUiThread(() -> activity.mPreInput.requestFocus()); in launchPreSimpleSaveActivity()
|
D | WebViewActivityTest.java | 376 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); in testAutofillAndSave_withExternalViews_loadWebViewFirst() 386 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); in testAutofillAndSave_withExternalViews_loadWebViewFirst() 470 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); in testAutofillAndSave_withExternalViews_loadExternalViewsFirst() 476 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); in testAutofillAndSave_withExternalViews_loadExternalViewsFirst() 512 mActivity.runOnUiThread(() -> mActivity.mOutside1.requestFocus()); in testAutofillAndSave_withExternalViews_loadExternalViewsFirst() 517 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); in testAutofillAndSave_withExternalViews_loadExternalViewsFirst() 527 mActivity.runOnUiThread(() -> mActivity.mOutside2.requestFocus()); in testAutofillAndSave_withExternalViews_loadExternalViewsFirst()
|
D | CustomDescriptionDateTest.java | 76 mActivity.onOutput((v) -> v.requestFocus()); in testCustomSave() 141 mActivity.onOutput((v) -> v.requestFocus()); in sanitizationTest()
|
D | InitializedCheckoutActivityTest.java | 63 mCheckoutActivity.onCcNumber((v) -> v.requestFocus()); in testSanitization()
|
D | LoginWithCustomHighlightActivityTest.java | 87 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), in requestFocusOnUsername()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 121 assertTrue(v1.requestFocus()); in testFocusHandling() 160 v1.requestFocus(); in testFocusHandling() 192 assertTrue(v2.requestFocus(View.FOCUS_UP)); in testFocusHandling() 198 assertTrue(v1.requestFocus(View.FOCUS_LEFT, null)); in testFocusHandling() 204 assertTrue(v3.requestFocus()); in testFocusHandling() 254 assertTrue(v1.requestFocus()); in testEnabledHandling() 260 v1.requestFocus(); in testEnabledHandling() 263 v1.requestFocus(); in testEnabledHandling() 271 v1.requestFocus(); in testEnabledHandling() 275 v1.requestFocus(); in testEnabledHandling() [all …]
|
D | ViewTreeObserverTest.java | 88 mActivityRule.runOnUiThread(view1::requestFocus); in testAddOnGlobalFocusChangeListener() 95 mActivityRule.runOnUiThread(view2::requestFocus); in testAddOnGlobalFocusChangeListener() 218 mActivityRule.runOnUiThread(view1::requestFocus); in testRemoveOnGlobalFocusChangeListener() 224 mActivityRule.runOnUiThread(view2::requestFocus); in testRemoveOnGlobalFocusChangeListener() 230 mActivityRule.runOnUiThread(view1::requestFocus); in testRemoveOnGlobalFocusChangeListener()
|
D | View_UsingViewsTest.java | 289 assertTrue(mEditText.requestFocus()); in testSetFocus() 306 assertTrue(mButtonOk.requestFocus()); in testSetFocus() 318 assertTrue(mButtonCancel.requestFocus()); in testSetFocus() 329 assertTrue(mSymbolTextView.requestFocus()); in testSetFocus() 340 assertTrue(mWarningTextView.requestFocus()); in testSetFocus() 350 assertTrue(mEditText.requestFocus()); in testSetFocus()
|
/cts/tests/app/CantSaveState1/src/com/android/test/cantsavestate2/ |
D | CantSave1Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/ |
D | CantSave2Activity.java | 27 getWindow().getDecorView().requestFocus(); in onCreate()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TransformationMethodTest.java | 87 mEditText.requestFocus(); in setup() 108 mActivityRule.runOnUiThread(() -> mButton.requestFocus()); in testOnFocusChanged() 115 mActivityRule.runOnUiThread(() -> mEditText.requestFocus()); in testOnFocusChanged()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarCtsActivity.java | 40 v.requestFocus(); in onCreate()
|
D | TimePickerTest.java | 563 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 579 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 588 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 608 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 639 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 644 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 650 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 656 mActivityRule.runOnUiThread(() -> mTimePicker.getAmView().requestFocus()); in testKeyboardInputModeSpinnerAmPm() 681 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() 696 mActivityRule.runOnUiThread(() -> mTimePicker.getHourView().requestFocus()); in testKeyboardInputModeSpinner24H() [all …]
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | FocusHandlingTest.java | 84 editText.requestFocus(); in launchTestActivity() 148 textView.requestFocus(); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 185 editText.requestFocus(); in testEditorStartsInput() 209 editText.requestFocus(); in testSoftInputStateAlwaysVisibleFocusedEditorView() 246 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testFocusableWindowDoesNotInvalidateExistingInputConnection() 350 instrumentation.runOnMainSync(() -> editText.requestFocus()); in testRestartInputWhileOtherProcessHasWindowFocus()
|