/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | DescendantFocusabilityTest.java | 62 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()
|
D | RequestFocusTest.java | 80 mBottomLeftButton.requestFocus(); in testPostedRequestFocus() 96 mTopRightButton.requestFocus(); in testWrongThreadRequestFocusFails() 129 clearingFocusButton.requestFocus(); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() 172 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/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 | 42 textView.requestFocus(); in testPopupNoSelection() 67 textView.requestFocus(); in testPopupEnterSelection() 116 textView.requestFocus(); in testPopupLeaveSelection()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ControlBar.java | 40 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/ |
D | KeyguardPasswordView.java | 93 mPasswordEntry.requestFocus(); in onResume() 110 mPasswordEntry.requestFocus(); in reset() 153 mPasswordEntry.requestFocus(); in onFinishInflate() 183 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
|
D | KeyguardPinBasedInputView.java | 55 mPasswordEntry.requestFocus(); in reset() 62 return mPasswordEntry.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants() 202 mPasswordEntry.requestFocus(); in onFinishInflate()
|
D | KeyguardAccountView.java | 129 return mLogin.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants() 140 mLogin.requestFocus(); in reset()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 51 mockView.requestFocus(); in broken_testFocusScenarioSetStringWildcardFirst() 63 mockView.requestFocus(); in broken_testFocusScenarioStateSetWildcardLast()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BrowseFragment.java | 562 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()
|
D | ErrorFragment.java | 271 mButton.requestFocus(); in updateButton() 278 mErrorFrame.requestFocus(); in onStart()
|
D | HeadersFragment.java | 250 listView.requestFocus(); in onTransitionStart() 263 listView.requestFocus(); in onTransitionEnd()
|
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/ |
D | ButtonActivityTest.java | 41 button.requestFocus(); in testButtonActivatesIme()
|
/frameworks/base/core/java/android/widget/ |
D | TabHost.java | 153 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()
|
D | MediaController.java | 146 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/ |
D | LLandActivity.java | 34 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/ |
D | UiControllerImplIntegrationTest.java | 130 requestFocusSucceded.set(view.requestFocus() && view.hasWindowFocus()); in testInjectString() 168 requestFocusSucceded.set(view.requestFocus()); in testInjectLargeString() 205 requestFocusSucceded.set(view.requestFocus()); in testInjectEmptyString()
|
D | EventInjectorTest.java | 85 assertTrue(view.requestFocus()); in testInjectKeyEventUpWithNoDown() 104 assertTrue(view.requestFocus()); in testInjectStaleKeyEvent()
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | OneEditTextActivitySelected.java | 52 editText.requestFocus(); in onCreate()
|
D | OneEditTextActivityNotSelected.java | 56 button.requestFocus(); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | LongpressTest.java | 71 mSimpleView.requestFocus(); in testKeypadLongClick()
|
D | DisabledLongpressTest.java | 75 mSimpleView.requestFocus(); in testKeypadLongClick()
|
/frameworks/base/docs/html/training/keyboard-input/ |
D | visibility.jd | 68 something, calls {@link android.view.View#requestFocus requestFocus()} to give it focus, then 74 if (view.requestFocus()) {
|