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.java273 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
385 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
387 if (nameStyle == PhoneticNameStyle.JAPANESE) { in getNameLookupKeys()
461 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
462 if (nameStyle != FullNameStyle.JAPANESE && in getNameLookupKeys()
463 nameStyle != FullNameStyle.KOREAN) { in getNameLookupKeys()
560 public String getSortKey(String name, int nameStyle) { in getSortKey() argument
600 public Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
603 if (nameStyle == FullNameStyle.CHINESE || in getNameLookupKeys()
604 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()
956 int nameStyle = FullNameStyle.UNDEFINED; in guessFullNameStyle() local
980 nameStyle = FullNameStyle.WESTERN; in guessFullNameStyle()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java121 private Iterator<String> getNameLookupKeys(String name, int nameStyle) { in getNameLookupKeys() argument
122 return mTargetUtils.getNameLookupKeys(name, nameStyle); in getNameLookupKeys()
DNameSplitterTest.java349 private void assertJoinedName(String expected, int nameStyle, String prefix, String givenNames, in assertJoinedName() argument
352 name.fullNameStyle = nameStyle; in assertJoinedName()