private static boolean isScrollable ( AccessibilityNodeInfoCompat node ) { if ( node . isScrollable ( ) ) { return true ; } return supportsAnyAction ( node , AccessibilityNodeInfoCompat . ACTION_SCROLL_FORWARD , AccessibilityNodeInfoCompat . ACTION_SCROLL_BACKWARD ) ; }
Check whether a given node is scrollable .