What are my chances of transferring to UCLA/UCB following two gap years from CC?

What kinds of grades did you get at Davis?
Both transcripts matter.

The gap shouldn’t matter.

Your combined GPA and articulated courses will matter.