Home
last modified time | relevance | path

Searched refs:nextFocus (Results 1 – 9 of 9) 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()
DHorizontalScrollView.java1477 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1482 if (nextFocus == null) { in onRequestFocusInDescendants()
1486 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1490 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DScrollView.java1504 final View nextFocus = previouslyFocusedRect == null ? in onRequestFocusInDescendants() local
1509 if (nextFocus == null) { in onRequestFocusInDescendants()
1513 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1517 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()
DListView.java2602 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem() local
2604 if (nextFocus != null) { in handleHorizontalFocusWithinListItem()
2610 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem()
2614 if (nextFocus.requestFocus(direction, focusedRect)) { in handleHorizontalFocusWithinListItem()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1920 final View nextFocus; in onFocusSearchFailed() local
1922 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()
1924 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()
1926 if (nextFocus == referenceChild || !nextFocus.isFocusable()) { in onFocusSearchFailed()
1929 return nextFocus; in onFocusSearchFailed()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DViewBindingAdapterTest.java112 View view = mBinder.nextFocus; in testNextFocus()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java1985 final View nextFocus; in onFocusSearchFailed() local
1987 nextFocus = getChildClosestToStart(); in onFocusSearchFailed()
1989 nextFocus = getChildClosestToEnd(); in onFocusSearchFailed()
1991 if (nextFocus.hasFocusable()) { in onFocusSearchFailed()
1995 return nextFocus; in onFocusSearchFailed()
DRecyclerView.java3461 ViewHolder nextFocus; in findNextViewToFocus() local
3464 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()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java1636 final View nextFocus = previouslyFocusedRect == null in onRequestFocusInDescendants() local
1641 if (nextFocus == null) { in onRequestFocusInDescendants()
1645 if (isOffScreen(nextFocus)) { in onRequestFocusInDescendants()
1649 return nextFocus.requestFocus(direction, previouslyFocusedRect); in onRequestFocusInDescendants()