Home
last modified time | relevance | path

Searched refs:canTakeFocus (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/
DViewUtils.java198 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
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java666 } 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()
DUtils.java155 static boolean canTakeFocus(@NonNull AccessibilityNodeInfo node) { in canTakeFocus() method in Utils
185 return canTakeFocus(node) || descendantCanTakeFocus(node); in canHaveFocus()
DRotaryService.java1160 if (!sourceNode.equals(mLastTouchedNode) && Utils.canTakeFocus(sourceNode)) { in handleViewClickedEvent()