..well at the same time that Davis was winning the governor's office (1998) Bill Jones won the office of Secretary of State.
In the statewide elections before that (1994) Jones won Secretary of State, Dan Lungren was re-elected Attorney General, Matt Fong won the Treasurer's office, Chuck Quackenbush won Insurance Commissioner, and Pete Wilson was re-elected Governor - the fourth consecutive Republican governor. Republicans won 41 of 80 seats in The State Assembly resulting in a Republican Assembly Speaker, Curt Pringle.
Prior to Davis, Republicans controlled the Governor's office for 16 years.
Yes, Republicans have done poorly in the past few elections cycles, for many complex reasons, but this is not a socialist state like Massachusettes by any means.
In the 2000 primary the Protection of Marriage Act was on the ballot (DOMA) and it passed with 61.7% YES votes. Politics is complex, even more so in the state that came up with both Ronald Reagan and Barbara Boxer.