private Map<String, Object> getTouchParameters(WebElement element, int x, int y) {
    Map<String, Object> params = Maps.newHashMap();
    if (element != null) {
      params.put("element", ((RemoteWebElement) element).getId());
    }
    params.put("x", x);
    params.put("y", y);
    return params;
  }
The TouchActionBuilder is used to construct TouchActions by sequencing low level
touch screen interactions that are executed on a device
selendroid-client/src/main/java/io/selendroid/client/TouchActionBuilder.java