Home
last modified time | relevance | path

Searched refs:requestFocus (Results 1 – 25 of 91) 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.java93 mPasswordEntry.requestFocus(); in onResume()
110 mPasswordEntry.requestFocus(); in reset()
153 mPasswordEntry.requestFocus(); in onFinishInflate()
183 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/
DBrowseFragment.java562 if (mHeadersFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
566 if (mRowsFragment.getView().requestFocus(direction, previouslyFocusedRect)) {
569 return mTitleView.requestFocus(direction, previouslyFocusedRect);
773 headerGridView.requestFocus(); in createHeadersTransition()
778 rowsGridView.requestFocus(); in createHeadersTransition()
828 mRowsFragment.getVerticalGridView().requestFocus();
911 mHeadersFragment.getView().requestFocus(); in onStart()
914 mRowsFragment.getView().requestFocus(); in onStart()
DErrorFragment.java271 mButton.requestFocus(); in updateButton()
278 mErrorFrame.requestFocus(); in onStart()
DHeadersFragment.java250 listView.requestFocus(); in onTransitionStart()
263 listView.requestFocus(); in onTransitionEnd()
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DButtonActivityTest.java41 button.requestFocus(); in testButtonActivatesIme()
/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/packages/SystemUI/src/com/android/systemui/egg/
DLLandActivity.java34 Log.v(LLand.TAG, "focus: " + world.requestFocus()); in onCreate()
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
DUiControllerImplIntegrationTest.java130 requestFocusSucceded.set(view.requestFocus() && view.hasWindowFocus()); in testInjectString()
168 requestFocusSucceded.set(view.requestFocus()); in testInjectLargeString()
205 requestFocusSucceded.set(view.requestFocus()); in testInjectEmptyString()
DEventInjectorTest.java85 assertTrue(view.requestFocus()); in testInjectKeyEventUpWithNoDown()
104 assertTrue(view.requestFocus()); in testInjectStaleKeyEvent()
/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