Searched refs:nextFocus (Results 1 – 6 of 6) sorted by relevance
437 View nextFocus = this; in onKeyDown() local439 nextFocus = nextFocus.focusSearch(focusChangeDirection); in onKeyDown()440 } while (nextFocus != null && nextFocus != this && in onKeyDown()441 nextFocus.getParent() == parent); in onKeyDown()442 if (nextFocus != null) { in onKeyDown()443 nextFocus.requestFocus(); in onKeyDown()
1614 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1619 if (nextFocus == null) { in onRequestFocusInDescendants()1623 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1627 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
1575 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1580 if (nextFocus == null) { in onRequestFocusInDescendants()1584 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1588 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
2623 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local2625 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()2631 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()2635 if (nextFocus.requestFocus(direction, focusedRect)) { in handleHorizontalFocusWithinListItem()
1916 final View nextFocus; in onFocusSearchFailed() local1918 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()1920 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()1922 if (nextFocus == referenceChild || !nextFocus.isFocusable()) { in onFocusSearchFailed()1925 return nextFocus; in onFocusSearchFailed()
3312 ViewHolder nextFocus; in findNextViewToFocus() local3315 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3316 if (nextFocus == null) { in findNextViewToFocus()3319 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3320 return nextFocus.itemView; in findNextViewToFocus()3325 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3326 if (nextFocus == null) { in findNextViewToFocus()3329 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3330 return nextFocus.itemView; in findNextViewToFocus()