code: public boolean checkTouchSlop(int directions) {
          final int count = mInitialMotionX.length;
          for (int i = 0; i < count; i++) {
              if (checkTouchSlop(directions, i)) {
                  return true;
              }
          }
          return false;
      }
docs: Check if any pointer tracked in the current gesture has crossed
  the required slop threshold.
  
  <p>This depends on internal state populated by
  {@link #shouldInterceptTouchEvent(android.view.MotionEvent)} or
  {@link #processTouchEvent(android.view.MotionEvent)}. You should only rely on
  the results of this method after all currently available touch data
  has been provided to one of these two methods.</p>
  
  @param directions Combination of direction flags, see {@link #DIRECTION_HORIZONTAL},
  {@link #DIRECTION_VERTICAL}, {@link #DIRECTION_ALL}
  @return true if the slop threshold has been crossed, false otherwise