The top tier UCs look at all your GPAs but I am pretty sure the rest of them mainly look at your UC GPA. If you are borderline, they consider everything. Good luck!
Berkeley and UCLA look at both weighted and unweighted. The rest of the UCs usually use UC GPA (capped at 8-semester honors/AP or 4.4/4.5). Although most UCs are switching to holistic review, so they may look at both.