Home
last modified time | relevance | path

Searched refs:PINYIN (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java56 tokens.get(0).type, Token.PINYIN); in test()
70 assertEquals(tokens.get(0).type, Token.PINYIN); in testGetToken()
75 assertEquals(tokens.get(0).type, Token.PINYIN); in testGetToken()
76 assertEquals(tokens.get(1).type, Token.PINYIN); in testGetToken()
91 assertEquals(tokens.get(1).type, Token.PINYIN); in testGetToken()
96 assertEquals(tokens.get(6).type, Token.PINYIN); in testGetToken()
DNameSplitterTest.java274 assertPhoneticNameStyle(PhoneticNameStyle.PINYIN, "du4", null, "juan1"); in testGuessPhoneticNameStyle()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DHanziToPinyin.java47 public static final int PINYIN = 2; field in HanziToPinyin.Token
116 token.type = Token.PINYIN; in tokenize()
161 if (token.type == Token.PINYIN) { in getTokens()
DNameSplitter.java913 … if (nameStyle == FullNameStyle.CJK && phoneticNameStyle == PhoneticNameStyle.PINYIN) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
1055 return PhoneticNameStyle.PINYIN; in guessPhoneticNameStyle()
DContactLocaleUtils.java485 if (Token.PINYIN == token.type) { in getPinyinNameLookupKeys()