I basically agree with Sander, but 4 days in Yosemite? Yosemite in mid-summer is very very very crowded (must have reservations made for camping quite a bit ahead, and motels require a car). There's more to SF than just the city (one of the world's smallest in size) - you'll want to see Marin/Sonoma counties - beautiful coastlines, wine, etc. (suggest you rent a mountain bike in SF and cross the Golden Gate Bridge into Marin and ferry back). Then there's the Monterey Peninsula about 3 hours south - take the bus.
San Diego has great beaches (La Jolla, Pacific, Ocean and Coronado beaches), one of the world's best zoos, Seaworld and the Tijuana Trolley to Mexico. It also has hellish traffic and a poor bus system. I would get a room in Pacific Beach (a surfer hangout) - a good place to find girls too.
LV in summer is HOT HOT HOT - be sure to get a room w/pool and AC. (don't waste too much gambling - no one really wins in LV!)
You're missing much by not coming up north to Portland - a very cool town!