Home
last modified time | relevance | path

Searched refs:nameStyle (Results 1 – 4 of 4) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java219 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
331 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
333 if (nameStyle == PhoneticNameStyle.JAPANESE) { in getNameLookupKeys()
394 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
395 if (nameStyle != FullNameStyle.JAPANESE && in getNameLookupKeys()
396 nameStyle != FullNameStyle.KOREAN) { in getNameLookupKeys()
485 public String getSortKey(String name, int nameStyle) { in getSortKey() argument
525 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
528 if (nameStyle == FullNameStyle.CHINESE || in getNameLookupKeys()
529 nameStyle == FullNameStyle.CJK) { in getNameLookupKeys()
[all …]
DNameSplitter.java689 public int getAdjustedFullNameStyle(int nameStyle) { in getAdjustedFullNameStyle() argument
690 if (nameStyle == FullNameStyle.UNDEFINED) { in getAdjustedFullNameStyle()
700 } else if (nameStyle == FullNameStyle.CJK) { in getAdjustedFullNameStyle()
709 return nameStyle; in getAdjustedFullNameStyle()
905 public int getAdjustedNameStyleBasedOnPhoneticNameStyle(int nameStyle, int phoneticNameStyle) { in getAdjustedNameStyleBasedOnPhoneticNameStyle() argument
907 if (nameStyle == FullNameStyle.UNDEFINED || nameStyle == FullNameStyle.CJK) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
913 … if (nameStyle == FullNameStyle.CJK && phoneticNameStyle == PhoneticNameStyle.PINYIN) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
918 return nameStyle; in getAdjustedNameStyleBasedOnPhoneticNameStyle()
983 int nameStyle = FullNameStyle.UNDEFINED; in guessFullNameStyle() local
1007 nameStyle = FullNameStyle.WESTERN; in guessFullNameStyle()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java110 private Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
112 return utils.getNameLookupKeys(name, nameStyle); in getNameLookupKeys()
DNameSplitterTest.java330 private void assertJoinedName(String expected, int nameStyle, String prefix, String givenNames, in assertJoinedName() argument
333 name.fullNameStyle = nameStyle; in assertJoinedName()