Searched refs:nextFocus (Results 1 – 9 of 9) 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()
1477 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1482 if (nextFocus == null) { in onRequestFocusInDescendants()1486 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1490 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
1504 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local1509 if (nextFocus == null) { in onRequestFocusInDescendants()1513 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1517 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
2602 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local2604 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()2610 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()2614 if (nextFocus.requestFocus(direction, focusedRect)) { in handleHorizontalFocusWithinListItem()
1920 final View nextFocus; in onFocusSearchFailed() local1922 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()1924 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()1926 if (nextFocus == referenceChild || !nextFocus.isFocusable()) { in onFocusSearchFailed()1929 return nextFocus; in onFocusSearchFailed()
112 View view = mBinder.nextFocus; in testNextFocus()
1985 final View nextFocus; in onFocusSearchFailed() local1987 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()1989 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()1991 if (nextFocus.hasFocusable()) { in onFocusSearchFailed()1995 return nextFocus; in onFocusSearchFailed()
3461 ViewHolder nextFocus; in findNextViewToFocus() local3464 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3465 if (nextFocus == null) { in findNextViewToFocus()3468 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3469 return nextFocus.itemView; in findNextViewToFocus()3474 nextFocus = findViewHolderForAdapterPosition(i); in findNextViewToFocus()3475 if (nextFocus == null) { in findNextViewToFocus()3478 if (nextFocus.itemView.hasFocusable()) { in findNextViewToFocus()3479 return nextFocus.itemView; in findNextViewToFocus()
1636 final View nextFocus = previouslyFocusedRect == null in onRequestFocusInDescendants() local1641 if (nextFocus == null) { in onRequestFocusInDescendants()1645 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()1649 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()