Searched refs:focusCandidate (Results 1 – 3 of 3) sorted by relevance
123 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable() local126 clearingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()128 gainingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()166 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable() local169 clearingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()171 gainingFocusButton, focusCandidate); in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
1047 View focusCandidate = null; in findFocusableViewInBounds() local1073 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()
1025 View focusCandidate = null; in findFocusableViewInBounds() local1051 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()