code: @Override
      public boolean onTouch(View v, MotionEvent event) {
          boolean b = scaleGestureDetector.onTouchEvent(event);
  
          boolean c = gestureDetector.onTouchEvent(event);
  
          return b || c || v.onTouchEvent(event);
      }
docs: Called when a touch event is dispatched to a view. This allows listeners to
  get a chance to respond before the target view.
  
  @param v     The view the touch event has been dispatched to.
  @param event The MotionEvent object containing full information about
  the event.
  @return True if the listener has consumed the event, false otherwise.