Home
last modified time | relevance | path

Searched refs:newFocused (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerTest.java228 View newFocused = mRecyclerView.getChildAt(focusIndex); in topUnfocusableViewsVisibility() local
229 requestFocus(newFocused, true); in topUnfocusableViewsVisibility()
313 View newFocused = mRecyclerView.getChildAt(focusIndex); in bottomUnfocusableViewsVisibility() local
314 requestFocus(newFocused, true); in bottomUnfocusableViewsVisibility()
399 View newFocused = mRecyclerView.getChildAt(focusIndex); in leftUnfocusableViewsVisibility() local
400 requestFocus(newFocused, true); in leftUnfocusableViewsVisibility()
484 View newFocused = mRecyclerView.getChildAt(focusIndex); in rightUnfocusableViewsVisibility() local
485 requestFocus(newFocused, true); in rightUnfocusableViewsVisibility()
575 View newFocused = mRecyclerView.getChildAt(focusIndex); in unfocusableScrollingWhenFocusCleared() local
576 requestFocus(newFocused, true); in unfocusableScrollingWhenFocusCleared()
DRecyclerViewLayoutTest.java509 View newFocused = focusSearch(viewAbove, View.FOCUS_FORWARD); in focusSearchWithOtherFocusables() local
510 assertThat(newFocused, sameInstance(rv.getChildAt(0))); in focusSearchWithOtherFocusables()
511 newFocused = focusSearch(rv.getChildAt(0), View.FOCUS_FORWARD); in focusSearchWithOtherFocusables()
512 assertThat(newFocused, sameInstance(rv.getChildAt(1))); in focusSearchWithOtherFocusables()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1078 View newFocused = findFocusableViewInBounds(goLeft, left, right); in scrollAndFocus() local
1079 if (newFocused == null) { in scrollAndFocus()
1080 newFocused = this; in scrollAndFocus()
1090 if (newFocused != findFocus()) newFocused.requestFocus(direction); in scrollAndFocus()
1607 View newFocused = findFocusableViewInMyBounds(movingRight, in fling() local
1610 if (newFocused == null) { in fling()
1611 newFocused = this; in fling()
1614 if (newFocused != currentFocused) { in fling()
1615 newFocused.requestFocus(movingRight ? View.FOCUS_RIGHT : View.FOCUS_LEFT); in fling()
DScrollView.java1093 View newFocused = findFocusableViewInBounds(up, top, bottom); in scrollAndFocus() local
1094 if (newFocused == null) { in scrollAndFocus()
1095 newFocused = this; in scrollAndFocus()
1105 if (newFocused != findFocus()) newFocused.requestFocus(direction); in scrollAndFocus()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java1208 View newFocused = findFocusableViewInBounds(up, top, bottom); in scrollAndFocus() local
1209 if (newFocused == null) { in scrollAndFocus()
1210 newFocused = this; in scrollAndFocus()
1220 if (newFocused != findFocus()) newFocused.requestFocus(direction); in scrollAndFocus()