Home
last modified time | relevance | path

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

1234

/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()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardPasswordView.java94 mPasswordEntry.requestFocus(); in onResume()
112 mPasswordEntry.requestFocus(); in reset()
155 mPasswordEntry.requestFocus(); in onFinishInflate()
185 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DKeyguardPinBasedInputView.java55 mPasswordEntry.requestFocus(); in reset()
62 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
202 mPasswordEntry.requestFocus(); in onFinishInflate()
DKeyguardAccountView.java129 return mLogin.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
140 mLogin.requestFocus(); in reset()
/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.java578 … mHeadersSupportFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
583 mRowsSupportFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
587 mTitleView.requestFocus(direction, previouslyFocusedRect)) {
766 headerGridView.requestFocus(); in createHeadersTransition()
771 rowsGridView.requestFocus(); in createHeadersTransition()
828 mRowsSupportFragment.getVerticalGridView().requestFocus();
927 mHeadersSupportFragment.getView().requestFocus(); in onStart()
930 mRowsSupportFragment.getView().requestFocus(); in onStart()
DBrowseFragment.java576 mHeadersFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
581 mRowsFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
585 mTitleView.requestFocus(direction, previouslyFocusedRect)) {
764 headerGridView.requestFocus(); in createHeadersTransition()
769 rowsGridView.requestFocus(); in createHeadersTransition()
826 mRowsFragment.getVerticalGridView().requestFocus();
925 mHeadersFragment.getView().requestFocus(); in onStart()
928 mRowsFragment.getView().requestFocus(); in onStart()
DErrorSupportFragment.java270 mButton.requestFocus(); in updateButton()
277 mErrorFrame.requestFocus(); in onStart()
DErrorFragment.java268 mButton.requestFocus(); in updateButton()
275 mErrorFrame.requestFocus(); in onStart()
DHeadersFragment.java250 listView.requestFocus(); in onTransitionStart()
263 listView.requestFocus(); in onTransitionEnd()
DHeadersSupportFragment.java252 listView.requestFocus(); in onTransitionStart()
265 listView.requestFocus(); in onTransitionEnd()
/frameworks/base/core/java/android/widget/
DTabHost.java153 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
163 mTabContent.requestFocus(View.FOCUS_FORWARD); in setup()
216 mTabWidget.getChildTabViewAt(mCurrentTab).requestFocus(); in onTouchModeChanged()
370 mTabWidget.getChildTabViewAt(mCurrentTab).requestFocus(); in dispatchKeyEvent()
434 mCurrentView.requestFocus(); in setCurrentTab()
DMediaController.java146 requestFocus(); in initFloatingWindow()
262 mPauseButton.requestFocus(); in initControllerView()
350 mPauseButton.requestFocus(); in show()
487 mPauseButton.requestFocus(); in dispatchKeyEvent()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DButtonActivityTest.java41 button.requestFocus(); in testButtonActivatesIme()
/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/docs/html/training/keyboard-input/
Dvisibility.jd68 something, calls {@link android.view.View#requestFocus requestFocus()} to give it focus, then
74 if (view.requestFocus()) {

1234