Home
last modified time | relevance | path

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

1234

/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java59 mUsername.requestFocus(); in testFocus_noService()
60 mPassword.requestFocus(); in testFocus_noService()
76 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_serviceDoesNotAutofill()
79 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_serviceDoesNotAutofill()
84 mUsername.requestFocus(); in testFocus_serviceDoesNotAutofill()
85 mPassword.requestFocus(); in testFocus_serviceDoesNotAutofill()
108 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
113 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields()
123 mActivityRule.runOnUiThread(() -> mUsername.requestFocus()); in testFocus_autofillBothFields()
128 mActivityRule.runOnUiThread(() -> mPassword.requestFocus()); in testFocus_autofillBothFields()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java61 assertTrue(a.beforeDescendants.requestFocus()); in testBeforeDescendants()
65 a.beforeDescendants.requestFocus(); in testBeforeDescendants()
74 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
78 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
86 assertTrue(a.blocksDescendants.requestFocus()); in testBlocksDescendants()
91 assertFalse(a.blocksDescendants.requestFocus()); in testBlocksDescendants()
99 assertFalse(a.blocksDescendantsChild.requestFocus()); in testChildOfDescendantBlockerRequestFocusFails()
107 a.beforeDescendantsChild.requestFocus(); in testBeforeDescendantsEnterTouchMode()
124 a.afterDescendantsChild.requestFocus(); in testAfterDescendantsEnterTouchMode()
DRequestFocusTest.java82 mBottomLeftButton.requestFocus(); in testPostedRequestFocus()
98 mTopRightButton.requestFocus(); in testWrongThreadRequestFocusFails()
131 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
174 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
DRequestFocus.java38 bottomRightButton.requestFocus(); in onCreate()
DGoneParentFocusedChild.java81 mButton.requestFocus(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java72 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testVisibleToInvisible()
86 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testVisibleToGone()
100 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToVisible()
120 getActivity().runOnUiThread(() -> mGone.requestFocus()); in testGoneToInvisible()
140 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToVisible()
160 getActivity().runOnUiThread(() -> mInvisible.requestFocus()); in testInvisibleToGone()
DDisabledLongpressTest.java73 getActivity().runOnUiThread(() -> mSimpleView.requestFocus()); in testKeypadLongClick()
DLongpressTest.java69 getActivity().runOnUiThread(() -> mSimpleView.requestFocus()); in testKeypadLongClick()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java51 textView.requestFocus(); in testPopupSetListSelection()
83 textView.requestFocus(); in testPopupGetListSelection()
110 textView.requestFocus(); in testPopupClearListSelection()
143 textView.requestFocus(); in testPopupNavigateNoAdapter()
180 textView.requestFocus(); in testPopupShow()
DAutoCompleteTextViewCallbacks.java43 textView.requestFocus(); in testPopupNoSelection()
68 textView.requestFocus(); in testPopupEnterSelection()
117 textView.requestFocus(); in testPopupLeaveSelection()
DDatePickerFocusTest.java62 assertTrue(mDatePicker.requestFocus()); in testFocusTravel()
129 assertTrue(year.requestFocus()); in testYearChoice()
163 prev.requestFocus(); in testArrowThroughDays()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputView.java59 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
72 mPasswordEntry.requestFocus(); in setPasswordEntryEnabled()
81 mPasswordEntry.requestFocus(); in setPasswordEntryInputEnabled()
238 mPasswordEntry.requestFocus(); in onFinishInflate()
245 mPasswordEntry.requestFocus(); in onResume()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithNoFadingEdgeTest.java52 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollDownToBottom()
65 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollFromBottomToTop()
DListOfThinItemsTest.java55 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToBottom()
87 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToTop()
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
DTouchModeFocusableTest.java67 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testClickEditTextGivesItFocus()
81 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DStateListDrawableTest.java51 mockView.requestFocus(); in broken_testFocusScenarioSetStringWildcardFirst()
63 mockView.requestFocus(); in broken_testFocusScenarioStateSetWildcardLast()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java49 plus.requestFocus(); in updateSplashPlayers()
53 minus.requestFocus(); in updateSplashPlayers()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DImeActivityAutoFocus.java28 editTextField.requestFocus(); in onStart()
/frameworks/base/core/java/android/widget/
DTabHost.java170 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
180 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
391 mTabWidget.getChildTabViewAt(mCurrentTab).requestFocus(); in dispatchKeyEvent()
448 mCurrentView.requestFocus(); in setCurrentTab()
DMediaController.java164 requestFocus(); in initFloatingWindow()
282 mPauseButton.requestFocus(); in initControllerView()
380 mPauseButton.requestFocus(); in show()
514 mPauseButton.requestFocus(); in dispatchKeyEvent()
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java159 if (mEditText.requestFocus()) { in showSoftInput()
218 mEditText.requestFocus(); in onCreateActionMode()
/frameworks/base/core/java/com/android/internal/app/
DLocalePickerWithRegion.java182 getListView().requestFocus(); in onResume()
246 mSearchView.requestFocus(); in onCreateOptionsMenu()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DCustomEditTextPreferenceTest.java60 verify(editText).requestFocus(); in bindDialogView_shouldRequestFocus()
DCustomEditTextPreferenceComaptTest.java60 verify(editText).requestFocus(); in bindDialogView_shouldRequestFocus()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardPinBasedInputViewTest.java64 verify(mPasswordEntry).requestFocus(); in onResume_requestsFocus()

1234