Two Elephants Men's Quick Dry Shorts

Two Elephants Men's Quick Dry Shorts

Are these good for swimming and or cycling? Or just running?

I can’t speak to this brand; however, I have several others like Asics and New Balance which are very similar to these. I use them for running, swimming and biking. There isn’t any padding in the rear so biking can be a little sore.
I switched over from conventional running shorts a few years ago and will never go back.