Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSimpleMonthView.java437 View nextFocus = this; in onKeyDown() local
439 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()
DScrollView.java1614 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1619 if (nextFocus == null) { in onRequestFocusInDescendants()
1623 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1627 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DHorizontalScrollView.java1575 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1580 if (nextFocus == null) { in onRequestFocusInDescendants()
1584 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1588 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DListView.java2623 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local
2625 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()
2631 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()
2635 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.java3312 ViewHolder nextFocus; in findNextViewToFocus() local
3315 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()