Home
last modified time | relevance | path

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

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DUtils.java197 @NonNull AccessibilityNodeInfo scrollableContainer) { in canScrollableContainerTakeFocus()
198 return scrollableContainer.isScrollable() && !descendantCanTakeFocus(scrollableContainer); in canScrollableContainerTakeFocus()
DNavigator.java217 AccessibilityNodeInfo scrollableContainer = findScrollableContainer(candidate); in findRotateTarget() local
222 if (scrollableContainer != null in findRotateTarget()
223 && scrollableContainer.getActionList().contains(scrollAction) in findRotateTarget()
224 && (!Utils.isDescendant(scrollableContainer, nextCandidate) in findRotateTarget()
230 Utils.recycleNode(scrollableContainer); in findRotateTarget()
DRotaryService.java2020 AccessibilityNodeInfo scrollableContainer = in handleRotateEvent() local
2022 if (scrollableContainer != null) { in handleRotateEvent()
2023 injectScrollEvent(scrollableContainer, clockwise, remainingRotationCount); in handleRotateEvent()
2024 scrollableContainer.recycle(); in handleRotateEvent()
2173 private void injectScrollEvent(@NonNull AccessibilityNodeInfo scrollableContainer, in injectScrollEvent() argument
2195 int axis = Utils.isHorizontallyScrollableContainer(scrollableContainer) in injectScrollEvent()
2198 AccessibilityWindowInfo window = scrollableContainer.getWindow(); in injectScrollEvent()
2200 L.w("Failed to get window of " + scrollableContainer); in injectScrollEvent()
2206 scrollableContainer.getBoundsInScreen(bounds); in injectScrollEvent()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java623 AccessibilityNodeInfo scrollableContainer = createNode("scrollableContainer"); in testFindScrollableContainer() local
628 assertThat(target).isEqualTo(scrollableContainer); in testFindScrollableContainer()