Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java62 assertTrue(a.beforeDescendants.requestFocus()); in testBeforeDescendants()
66 a.beforeDescendants.requestFocus(); in testBeforeDescendants()
75 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
79 assertTrue(a.afterDescendants.requestFocus()); in testAfterDescendants()
87 assertTrue(a.blocksDescendants.requestFocus()); in testBlocksDescendants()
92 assertFalse(a.blocksDescendants.requestFocus()); in testBlocksDescendants()
100 assertFalse(a.blocksDescendantsChild.requestFocus()); in testChildOfDescendantBlockerRequestFocusFails()
108 a.beforeDescendantsChild.requestFocus(); in testBeforeDescendantsEnterTouchMode()
125 a.afterDescendantsChild.requestFocus(); in testAfterDescendantsEnterTouchMode()
DRequestFocusTest.java80 mBottomLeftButton.requestFocus(); in testPostedRequestFocus()
96 mTopRightButton.requestFocus(); in testWrongThreadRequestFocusFails()
129 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
172 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
DRequestFocus.java38 bottomRightButton.requestFocus(); in onCreate()
DGoneParentFocusedChild.java81 mButton.requestFocus(); in onCreate()
/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.java42 textView.requestFocus(); in testPopupNoSelection()
67 textView.requestFocus(); in testPopupEnterSelection()
116 textView.requestFocus(); in testPopupLeaveSelection()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DControlBar.java40 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() method in ControlBar
42 if (getChildAt(getChildCount() / 2).requestFocus(direction, previouslyFocusedRect)) { in requestFocus()
46 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
DPersistentFocusWrapper.java115 public boolean requestFocus(int direction, Rect previouslyFocusedRect) { in requestFocus() method in PersistentFocusWrapper
119 if (wrapper.getChildAt(mSelectedPosition).requestFocus( in requestFocus()
124 return super.requestFocus(direction, previouslyFocusedRect); in requestFocus()
DPlaybackControlsRowView.java70 if (focused != null && focused.requestFocus(direction, previouslyFocusedRect)) { in onRequestFocusInDescendants()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPinBasedInputView.java55 mPasswordEntry.requestFocus(); in reset()
62 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
217 mPasswordEntry.requestFocus(); in onFinishInflate()
DKeyguardPasswordView.java104 mPasswordEntry.requestFocus(); in onResume()
132 mPasswordEntry.requestFocus(); in reset()
162 mPasswordEntry.requestFocus(); in onFinishInflate()
193 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DStateListDrawableTest.java51 mockView.requestFocus(); in broken_testFocusScenarioSetStringWildcardFirst()
63 mockView.requestFocus(); in broken_testFocusScenarioStateSetWildcardLast()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBrowseSupportFragment.java509 … mHeadersSupportFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
514 mRowsSupportFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
518 getTitleView().requestFocus(direction, previouslyFocusedRect)) {
665 headerGridView.requestFocus(); in createHeadersTransition()
670 rowsGridView.requestFocus(); in createHeadersTransition()
727 mRowsSupportFragment.getVerticalGridView().requestFocus();
802 mHeadersSupportFragment.getView().requestFocus(); in onStart()
805 mRowsSupportFragment.getView().requestFocus(); in onStart()
DBrowseFragment.java507 mHeadersFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
512 mRowsFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
516 getTitleView().requestFocus(direction, previouslyFocusedRect)) {
663 headerGridView.requestFocus(); in createHeadersTransition()
668 rowsGridView.requestFocus(); in createHeadersTransition()
725 mRowsFragment.getVerticalGridView().requestFocus();
800 mHeadersFragment.getView().requestFocus(); in onStart()
803 mRowsFragment.getView().requestFocus(); in onStart()
DErrorFragment.java268 mButton.requestFocus(); in updateButton()
275 mErrorFrame.requestFocus(); in onStart()
DErrorSupportFragment.java270 mButton.requestFocus(); in updateButton()
277 mErrorFrame.requestFocus(); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLandActivity.java50 plus.requestFocus(); in updateSplashPlayers()
54 minus.requestFocus(); in updateSplashPlayers()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DButtonActivityTest.java41 button.requestFocus(); in testButtonActivatesIme()
/frameworks/base/core/java/android/widget/
DTabHost.java150 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
160 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
345 mTabWidget.getChildTabViewAt(mCurrentTab).requestFocus(); in dispatchKeyEvent()
402 mCurrentView.requestFocus(); in setCurrentTab()
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
DOneEditTextActivitySelected.java52 editText.requestFocus(); in onCreate()
DOneEditTextActivityNotSelected.java56 button.requestFocus(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/
DLongpressTest.java71 mSimpleView.requestFocus(); in testKeypadLongClick()
DDisabledLongpressTest.java75 mSimpleView.requestFocus(); in testKeypadLongClick()
/frameworks/base/core/java/android/webkit/
DFindActionModeCallback.java157 if (mEditText.requestFocus()) { in showSoftInput()
216 mEditText.requestFocus(); in onCreateActionMode()
/frameworks/base/docs/html/training/keyboard-input/
Dvisibility.jd68 something, calls {@link android.view.View#requestFocus requestFocus()} to give it focus, then
74 if (view.requestFocus()) {

12345