The procedure at Mountain View station also applies at Martinez, CA, AFAIK. The gates cry wolf if a train is approaching, but if the train stops, the gates go up, the bells stop ringing and the lights stop flashing. Then, when the train starts to move, the signals and gates are again activated...