Searched refs:nextFocus (Results 1 – 6 of 6) sorted by relevance
448 View nextFocus = this; in onKeyDown() local450 nextFocus = nextFocus.focusSearch(focusChangeDirection); in onKeyDown()451 } while (nextFocus != null && nextFocus != this && in onKeyDown()452 nextFocus.getParent() == parent); in onKeyDown()453 if (nextFocus != null) { in onKeyDown()454 nextFocus.requestFocus(); in onKeyDown()
1674 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1679 if (nextFocus == null) { in onRequestFocusInDescendants()1683 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1687 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
1776 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1781 if (nextFocus == null) { in onRequestFocusInDescendants()1785 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1789 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
2617 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local2619 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()2625 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()2629 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()
3433 ViewHolder nextFocus; in findNextViewToFocus() local3436 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3437 if (nextFocus == null) { in findNextViewToFocus()3440 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3441 return nextFocus.itemView; in findNextViewToFocus()3446 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3447 if (nextFocus == null) { in findNextViewToFocus()3450 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3451 return nextFocus.itemView; in findNextViewToFocus()