How do UC's look at repeated courses?

I got a F in Calculus 1 because of a sudden death in my family, which caused me to be absent a lot. When i repeated the course, I received an A. How do Uc’s, specifically CAL and UCLA, look at this?