code: private void postTouchEvent(TouchState state, int eventType) {
          Window window = state.getWindow(false, null);
          View view = window == null ? null : window.getView();
          if (view != null) {
              switch (state.getPointCount()) {
                  case 0:
                      postNoPoints(view);
                      break;
                  case 1:
                      postPoint(window, view, eventType, state.getPoint(0));
                      break;
                  default: {
                      int count = state.getPointCount();
                      int[] states = new int[count];
                      int[] ids = new int[count];
                      int[] xs = new int[count];
                      int[] ys = new int[count];
                      for (int i = 0; i < count; i++) {
                          states[i] = eventType;
                          TouchState.Point p = state.getPoint(i);
                          ids[i] = p.id;
                          xs[i] = p.x;
                          ys[i] = p.y;
                      }
                      postPoints(window, view, states, ids, xs, ys);
                  }
              }
          }
      }
docs: Sends the same event type for all points in the given state
  
  @param state The state for which to process all points
  @param eventType The type of TouchEvent to send (e.g. TouchEvent.PRESSED)