Searched refs:canTakeFocus (Results 1 – 4 of 4) sorted by relevance
198 if (view == null || !canTakeFocus(view)) { in requestFocus()501 v -> !isScrollableContainer(v) && canTakeFocus(v) && requestFocus(v), in focusOnFirstRegularView()514 /* targetPredicate= */ v -> isScrollableContainer(v) && canTakeFocus(v), in focusOnScrollableContainer()531 if (defaultFocus != null && canTakeFocus(defaultFocus)) { in findDefaultFocusView()555 /* targetPredicate= */ v -> v.isFocusedByDefault() && canTakeFocus(v), in findFocusedByDefaultView()587 /* targetPredicate= */ v -> v != view && canTakeFocus(v), in findFirstFocusableDescendant()599 /* targetPredicate= */ v -> v != view && v.isSelected() && canTakeFocus(v), in findFirstSelectedFocusableDescendant()654 private static boolean canTakeFocus(@NonNull View view) { in canTakeFocus() method in ViewUtils
666 } while (!Utils.canTakeFocus(targetNode)); in findFocusableDescendantInDirection()678 candidateNode -> candidateNode != node && Utils.canTakeFocus(candidateNode)); in findFirstFocusableDescendant()689 candidateNode -> candidateNode != node && Utils.canTakeFocus(candidateNode)); in findLastFocusableDescendant()759 if (Utils.canTakeFocus(candidateNode)) { in isCandidate()784 if (!Utils.canTakeFocus(candidateNode)) { in isCandidate()
155 static boolean canTakeFocus(@NonNull AccessibilityNodeInfo node) { in canTakeFocus() method in Utils185 return canTakeFocus(node) || descendantCanTakeFocus(node); in canHaveFocus()
1160 if (!sourceNode.equals(mLastTouchedNode) && Utils.canTakeFocus(sourceNode)) { in handleViewClickedEvent()