Searched refs:HanziToPinyin (Results 1 – 3 of 3) sorted by relevance
23 import com.android.providers.contacts.HanziToPinyin.Token;38 return HanziToPinyin.getInstance().hasChineseTransliterator(); in hasChineseTransliterator()43 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(hanziString); in test()68 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(ONE_HANZI); in testGetToken()73 tokens = HanziToPinyin.getInstance().getTokens(TWO_HANZI); in testGetToken()80 tokens = HanziToPinyin.getInstance().getTokens(ASSIC); in testGetToken()84 tokens = HanziToPinyin.getInstance().getTokens(ONE_UNKNOWN); in testGetToken()88 tokens = HanziToPinyin.getInstance().getTokens(MISC); in testGetToken()
33 public class HanziToPinyin { class36 private static HanziToPinyin sInstance;74 private HanziToPinyin() { in HanziToPinyin() method in HanziToPinyin89 public static HanziToPinyin getInstance() { in getInstance()90 synchronized (HanziToPinyin.class) { in getInstance()92 sInstance = new HanziToPinyin(); in getInstance()
29 import com.android.providers.contacts.HanziToPinyin.Token;182 name = HanziToPinyin.getInstance().transliterate(name); in getBucketIndex()405 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(name); in getPinyinNameLookupKeys()