In your hypothetical, the T-shirt announces a bias that applies to the defendant before her.  

In the real case, if indeed the hat is meant to show support for Trump, that doesn't amount to any particular bias applicable to parties in the court.