B737 Next Generation Undifferentiated
Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument
Flight Crew Last 90 Days 212.35; Flight Crew Type 2341.78
Situational Awareness
Ground Event / Encounter Loss Of Aircraft Control; Inflight Event / Encounter Wake Vortex Encounter
Air Traffic Control Issued New Clearance; Flight Crew Requested ATC Assistance / Clarification; Flight Crew Took Evasive Action
Environment - Non Weather Related; Procedure
FL320; calm skies; slight 20 knot headwind on arrival.  Autopilot on; aircraft rolled to approx 25 degrees bank and autopilot kicked off. First Officer was hand flying and recovered to wings level.  Seatbelt sign turned on and announcement made for everyone to take their seats. ATC notified and queried about what aircraft we were following.  B777 aircraft was approximately 12 miles ahead.  We asked to offset and a 1 mile left offset was given.  We flew that offset on the arrival until wind conditions shifted at which time we removed the offset.  No pax or crew injuries were reported.
B737NG Captain reported encountering wake turbulence descending through FL320 12 miles in trail of a B777 on the DYAMD arrival into SFO.