Home
last modified time | relevance | path

Searched refs:focusCandidate (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocusTest.java123 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() local
126 clearingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
128 gainingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
166 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() local
169 clearingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
171 gainingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1025 View focusCandidate = null; in findFocusableViewInBounds() local
1051 if (focusCandidate == null) { in findFocusableViewInBounds()
1053 focusCandidate = view; in findFocusableViewInBounds()
1057 (leftFocus && viewLeft < focusCandidate.getLeft()) || in findFocusableViewInBounds()
1058 (!leftFocus && viewRight > focusCandidate.getRight()); in findFocusableViewInBounds()
1067 focusCandidate = view; in findFocusableViewInBounds()
1072 focusCandidate = view; in findFocusableViewInBounds()
1079 focusCandidate = view; in findFocusableViewInBounds()
1086 return focusCandidate; in findFocusableViewInBounds()
DScrollView.java1047 View focusCandidate = null; in findFocusableViewInBounds() local
1073 if (focusCandidate == null) { in findFocusableViewInBounds()
1075 focusCandidate = view; in findFocusableViewInBounds()
1079 (topFocus && viewTop < focusCandidate.getTop()) || in findFocusableViewInBounds()
1080 (!topFocus && viewBottom > focusCandidate in findFocusableViewInBounds()
1090 focusCandidate = view; in findFocusableViewInBounds()
1095 focusCandidate = view; in findFocusableViewInBounds()
1102 focusCandidate = view; in findFocusableViewInBounds()
1109 return focusCandidate; in findFocusableViewInBounds()