Home
last modified time | relevance | path

Searched refs:requestFocus (Results 1 – 25 of 77) sorted by relevance

1234

/cts/tests/autofillservice/src/android/autofillservice/cts/
DAbstractLoginActivityTestCase.java49 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()
DFillEventHistoryTest.java109 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 …]
DSimpleSaveActivityTest.java112 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 …]
DDialogLauncherActivityTest.java66 mActivity.onUsername(View::requestFocus); in autofillNoDatasetsTest()
108 mActivity.onUsername(View::requestFocus); in autofillOneDatasetTest()
DLoginActivityTest.java112 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 …]
DAutoFinishSessionTest.java80 mEditText2.requestFocus(); in removeViewsBaseTest()
81 mEditText1.requestFocus(); in removeViewsBaseTest()
210 mEditText2.requestFocus(); in activityToBackgroundShouldNotTriggerSave()
211 mEditText1.requestFocus(); in activityToBackgroundShouldNotTriggerSave()
DMultipleFragmentLoginTest.java72 mEditText2.requestFocus(); in loginOnTwoFragments()
73 mEditText1.requestFocus(); in loginOnTwoFragments()
218 mEditText2.requestFocus(); in uiDismissedWhenFragmentIsGoneText()
219 mEditText1.requestFocus(); in uiDismissedWhenFragmentIsGoneText()
DPreSimpleSaveActivityTest.java82 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()
DOptionalSaveActivityTest.java118 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()
DAttachedContextActivityTest.java55 mActivity.syncRunOnUiThread(() -> mActivity.mInput.requestFocus()); in testAutofill()
DCheckoutActivityTest.java95 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()
DDisableAutofillTest.java104 activity.syncRunOnUiThread(() -> activity.mInput.requestFocus()); in launchSimpleSaveActivity()
111 activity.syncRunOnUiThread(() -> activity.mPassword.requestFocus()); in launchSimpleSaveActivity()
151 activity.syncRunOnUiThread(() -> activity.mPreInput.requestFocus()); in launchPreSimpleSaveActivity()
DWebViewActivityTest.java376 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()
DCustomDescriptionDateTest.java76 mActivity.onOutput((v) -> v.requestFocus()); in testCustomSave()
141 mActivity.onOutput((v) -> v.requestFocus()); in sanitizationTest()
DInitializedCheckoutActivityTest.java63 mCheckoutActivity.onCcNumber((v) -> v.requestFocus()); in testSanitization()
DLoginWithCustomHighlightActivityTest.java87 mUiBot.waitForWindowChange(() -> mActivity.onUsername(View::requestFocus), in requestFocusOnUsername()
/cts/tests/tests/view/src/android/view/cts/
DView_FocusHandlingTest.java121 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 …]
DViewTreeObserverTest.java88 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()
DView_UsingViewsTest.java289 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/
DCantSave1Activity.java27 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/app/CantSaveState2/src/com/android/test/cantsavestate2/
DCantSave2Activity.java27 getWindow().getDecorView().requestFocus(); in onCreate()
/cts/tests/tests/text/src/android/text/method/cts/
DTransformationMethodTest.java87 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/
DSeekBarCtsActivity.java40 v.requestFocus(); in onCreate()
DTimePickerTest.java563 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/
DFocusHandlingTest.java84 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()

1234