You can find a good summary of the patents & verdict here:
http://www.zdnet.com/the-verdict-is-in-samsung-vs-apple-7000...
You are correct that it concerns trade dress, but the rounded rectangles were more significant than you give them credit for being. The ZDNet summary helpfully lists the design features at issue for each patent. I'm listing only those that contain rounded rectangles; there were seven patents in all:
Design patents infringed?
For design patent D'677 (rounded rectangle, edge-to-edge glass, thin bezel, horizontal speaker for phone): Yes for all but Galaxy Ace.
For design patent D'889 (rounded rectangle, edge-to-edge glass, thin bezel for tablet): No for all.
HN eats the links to these patents from the original summary, so I put them below:
http://www.google.com/patents/USD618677
http://www.google.com/patents/USD504889