Dialer: imporve pinyin search speed

Change-Id: Ia92aab99395ca338fd145242b5267aaae0e71b74