Home
last modified time | relevance | path

Searched refs:nextFocus (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DSimpleMonthView.java448 View nextFocus = this; in onKeyDown() local
450 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()
DHorizontalScrollView.java1674 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1679 if (nextFocus == null) { in onRequestFocusInDescendants()
1683 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1687 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DScrollView.java1776 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1781 if (nextFocus == null) { in onRequestFocusInDescendants()
1785 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1789 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DListView.java2617 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local
2619 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()
2625 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()
2629 if (nextFocus.requestFocus(direction, focusedRect)) { in handleHorizontalFocusWithinListItem()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1916 final View nextFocus; in onFocusSearchFailed() local
1918 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()
1920 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()
1922 if (nextFocus == referenceChild || !nextFocus.isFocusable()) { in onFocusSearchFailed()
1925 return nextFocus; in onFocusSearchFailed()
DRecyclerView.java3433 ViewHolder nextFocus; in findNextViewToFocus() local
3436 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()