Home
last modified time | relevance | path

Searched refs:focusedView (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DStaggeredGridLayoutManagerTest.java366 View focusedView = viewToFocus; in focusSearchFailure() local
368 focusSearchAndWaitForScroll(focusedView, focusDir); in focusSearchFailure()
369 focusedView = mRecyclerView.getFocusedChild(); in focusSearchFailure()
371 mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure()
375 focusSearchAndWaitForScroll(focusedView, focusDir); in focusSearchFailure()
376 focusedView = mRecyclerView.getFocusedChild(); in focusSearchFailure()
377 assertEquals(i, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure()
380 focusSearch(focusedView, View.FOCUS_RIGHT); in focusSearchFailure()
382 focusedView = mRecyclerView.getFocusedChild(); in focusSearchFailure()
383 assertEquals(25, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure()
[all …]
DGridLayoutManagerTest.java156 View focusedView = viewToFocus; in focusSearchFailure() local
158 focusSearch(focusedView, scrollDown ? View.FOCUS_DOWN : View.FOCUS_UP); in focusSearchFailure()
160 focusedView = recyclerView.getFocusedChild(); in focusSearchFailure()
162 recyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DControlBarPresenter.java129 View focusedView = mControlBar.getFocusedChild(); in showControls() local
130 if (focusedView != null && adapterSize > 0 && in showControls()
131 mControlBar.indexOfChild(focusedView) >= adapterSize) { in showControls()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1469 public void onPostWindowFocus(View rootView, View focusedView, int softInputMode, in onPostWindowFocus() argument
1473 if (DEBUG) Log.v(TAG, "onWindowFocus: " + focusedView in onPostWindowFocus()
1482 focusInLocked(focusedView != null ? focusedView : rootView); in onPostWindowFocus()
1486 if (focusedView != null) { in onPostWindowFocus()
1488 if (focusedView.onCheckIsTextEditor()) { in onPostWindowFocus()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuView.java680 View focusedView = getFocusedChild(); in onSaveInstanceState() local
683 if (getChildAt(i) == focusedView) { in onSaveInstanceState()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2080 final View focusedView = mContentParent.findFocus();
2081 if (focusedView != null && focusedView.getId() != View.NO_ID) {
2082 outState.putInt(FOCUSED_ID_TAG, focusedView.getId());
/frameworks/base/core/java/android/view/
DViewRootImpl.java3795 View focusedView = mView.findFocus(); in leaveTouchMode() local
3796 if (!(focusedView instanceof ViewGroup)) { in leaveTouchMode()
3799 } else if (((ViewGroup) focusedView).getDescendantFocusability() != in leaveTouchMode()
7244 View focusedView = mView.findFocus(); in onAccessibilityStateChanged() local
7245 if (focusedView != null && focusedView != mView) { in onAccessibilityStateChanged()
7246 focusedView.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED); in onAccessibilityStateChanged()
/frameworks/base/core/java/android/widget/
DAbsListView.java2203 View getAccessibilityFocusedChild(View focusedView) { in getAccessibilityFocusedChild() argument
2204 ViewParent viewParent = focusedView.getParent(); in getAccessibilityFocusedChild()
2206 focusedView = (View) viewParent; in getAccessibilityFocusedChild()
2214 return focusedView; in getAccessibilityFocusedChild()