When you did the trial by written declaration and mailed it in, the first thing you did was to enter your plea. When you did this, you waived your rights to a speedy trial. See the last line.
40519. (b) Any person who has received a written notice to appear may, prior to the time at which the person is required to appear, plead not guilty in writing in lieu of appearing in person. The written plea shall be directed to the court named in the notice to appear and, if mailed, shall be sent by certified or registered mail postmarked not later than five days prior to the day upon which appearance is required. The written plea and request to the court or city agency shall be accompanied by a deposit consisting of the amount of bail established pursuant to Section 1269b of the Penal Code, together with any assessment required by Section 42006 of this code or Section 1464 of the Penal Code, for that offense, which amount shall be used for the purpose of guaranteeing the appearance of the defendant at the time and place set by the court for trial and to apply toward the payment of any fine or assessment prescribed by the court in the event of conviction. Upon receipt of the plea and deposit, the case shall be set for arraignment and trial on the same date, unless the defendant requests separate arraignment.
Thereafter, the case shall be conducted in the same manner as if the defendant had appeared in person, had made his or her plea in open court, and had deposited that sum as bail. The court or the clerk of the court shall notify the accused of the time and place of trial by first-class mail postmarked at least 10 days prior to the time set for the trial. Any person using this procedure shall be deemed to have waived the right to be tried within the statutory period.
Sorry Dude.. you haven't won yet.
Jimbo