static boolean isSameRow(ConstraintWidget a,ConstraintWidget b){
  return Math.max(a.getY(),b.getY()) < Math.min(a.getY() + a.getHeight(),b.getY() + b.getHeight());
}

static boolean isSameRow ( ConstraintWidget a , ConstraintWidget b ) { return Math . max ( a . getY ( ) , b . getY ( ) ) < Math . min ( a . getY ( ) + a . getHeight ( ) , b . getY ( ) + b . getHeight ( ) ) ; }
are the two widgets in the same horizontal area
