title: Scroll dx, dy using AccessibilityService in Android
body: <p>Hi I want to scroll dx or dy using AccessibilityService, currently I am using below code to scroll but this performs 1 full page scroll, how can i scroll based on values like (x1, y1) to (x2, y2) or using dx/dy using performAction() function in AccessibilityService.</p>
  
  <pre><code>public boolean scrollView(AccessibilityNodeInfo nodeInfo) {
  
      if (nodeInfo == null) return false;
  
      if (nodeInfo.isScrollable()) {
          return nodeInfo.performAction(AccessibilityNodeInfo.ACTION_SCROLL_FORWARD);
      }
  
      for (int i = 0; i &lt; nodeInfo.getChildCount(); i++) {
      if (scrollView(nodeInfo.getChild(i)) {
          return true;
      }
  }
  
  return false; }
  </code></pre>