/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | LoginTest.java | 59 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/ |
D | DescendantFocusabilityTest.java | 61 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()
|
D | RequestFocusTest.java | 82 mBottomLeftButton.requestFocus(); in testPostedRequestFocus() 98 mTopRightButton.requestFocus(); in testWrongThreadRequestFocusFails() 131 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 174 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
|
D | RequestFocus.java | 38 bottomRightButton.requestFocus(); in onCreate()
|
D | GoneParentFocusedChild.java | 81 mButton.requestFocus(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VisibilityTest.java | 72 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()
|
D | DisabledLongpressTest.java | 73 getActivity().runOnUiThread(() -> mSimpleView.requestFocus()); in testKeypadLongClick()
|
D | LongpressTest.java | 69 getActivity().runOnUiThread(() -> mSimpleView.requestFocus()); in testKeypadLongClick()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 51 textView.requestFocus(); in testPopupSetListSelection() 83 textView.requestFocus(); in testPopupGetListSelection() 110 textView.requestFocus(); in testPopupClearListSelection() 143 textView.requestFocus(); in testPopupNavigateNoAdapter() 180 textView.requestFocus(); in testPopupShow()
|
D | AutoCompleteTextViewCallbacks.java | 43 textView.requestFocus(); in testPopupNoSelection() 68 textView.requestFocus(); in testPopupEnterSelection() 117 textView.requestFocus(); in testPopupLeaveSelection()
|
D | DatePickerFocusTest.java | 62 assertTrue(mDatePicker.requestFocus()); in testFocusTravel() 129 assertTrue(year.requestFocus()); in testYearChoice() 163 prev.requestFocus(); in testArrowThroughDays()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinBasedInputView.java | 59 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/ |
D | ListWithNoFadingEdgeTest.java | 52 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollDownToBottom() 65 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollFromBottomToTop()
|
D | ListOfThinItemsTest.java | 55 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToBottom() 87 getActivity().runOnUiThread(() -> mListView.requestFocus()); in testScrollToTop()
|
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/ |
D | TouchModeFocusableTest.java | 67 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testClickEditTextGivesItFocus() 81 getActivity().runOnUiThread(() -> mButton.requestFocus()); in testEnterTouchModeGivesFocusBackToFocusableInTouchMode()
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 51 mockView.requestFocus(); in broken_testFocusScenarioSetStringWildcardFirst() 63 mockView.requestFocus(); in broken_testFocusScenarioStateSetWildcardLast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLandActivity.java | 49 plus.requestFocus(); in updateSplashPlayers() 53 minus.requestFocus(); in updateSplashPlayers()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | ImeActivityAutoFocus.java | 28 editTextField.requestFocus(); in onStart()
|
/frameworks/base/core/java/android/widget/ |
D | TabHost.java | 170 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()
|
D | MediaController.java | 164 requestFocus(); in initFloatingWindow() 282 mPauseButton.requestFocus(); in initControllerView() 380 mPauseButton.requestFocus(); in show() 514 mPauseButton.requestFocus(); in dispatchKeyEvent()
|
/frameworks/base/core/java/android/webkit/ |
D | FindActionModeCallback.java | 159 if (mEditText.requestFocus()) { in showSoftInput() 218 mEditText.requestFocus(); in onCreateActionMode()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePickerWithRegion.java | 182 getListView().requestFocus(); in onResume() 246 mSearchView.requestFocus(); in onCreateOptionsMenu()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | CustomEditTextPreferenceTest.java | 60 verify(editText).requestFocus(); in bindDialogView_shouldRequestFocus()
|
D | CustomEditTextPreferenceComaptTest.java | 60 verify(editText).requestFocus(); in bindDialogView_shouldRequestFocus()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardPinBasedInputViewTest.java | 64 verify(mPasswordEntry).requestFocus(); in onResume_requestsFocus()
|