Home
last modified time | relevance | path

Searched refs:HanziToPinyin (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java23 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()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DHanziToPinyin.java33 public class HanziToPinyin { class
36 private static HanziToPinyin sInstance;
74 private HanziToPinyin() { in HanziToPinyin() method in HanziToPinyin
89 public static HanziToPinyin getInstance() { in getInstance()
90 synchronized (HanziToPinyin.class) { in getInstance()
92 sInstance = new HanziToPinyin(); in getInstance()
DContactLocaleUtils.java29 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()