Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForStructuredName.java140 name.phoneticNameStyle = PhoneticNameStyle.UNDEFINED; in fixStructuredNameComponents()
148 update.put(StructuredName.PHONETIC_NAME_STYLE, name.phoneticNameStyle); in fixStructuredNameComponents()
157 name.phoneticNameStyle = PhoneticNameStyle.UNDEFINED; in fixStructuredNameComponents()
159 update.put(StructuredName.PHONETIC_NAME_STYLE, name.phoneticNameStyle); in fixStructuredNameComponents()
211 int phoneticNameStyle = builder.getInt(StructuredName.PHONETIC_NAME_STYLE); in appendSearchableData() local
212 if (phoneticNameStyle == PhoneticNameStyle.UNDEFINED) { in appendSearchableData()
213 phoneticNameStyle = mSplitter.guessPhoneticNameStyle(phoneticName); in appendSearchableData()
217 phoneticNameStyle); in appendSearchableData()
DNameSplitter.java97 public int phoneticNameStyle; field in NameSplitter.Name
150 return phoneticNameStyle; in getPhoneticNameStyle()
168 phoneticNameStyle = integer == null ? PhoneticNameStyle.UNDEFINED : integer; in fromValues()
181 values.put(StructuredName.PHONETIC_NAME_STYLE, phoneticNameStyle); in toValues()
200 phoneticNameStyle = PhoneticNameStyle.UNDEFINED; in clear()
897 name.phoneticNameStyle); in guessNameStyle()
905 public int getAdjustedNameStyleBasedOnPhoneticNameStyle(int nameStyle, int phoneticNameStyle) { in getAdjustedNameStyleBasedOnPhoneticNameStyle() argument
906 if (phoneticNameStyle != PhoneticNameStyle.UNDEFINED) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
908 if (phoneticNameStyle == PhoneticNameStyle.JAPANESE) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
910 } else if (phoneticNameStyle == PhoneticNameStyle.KOREAN) { in getAdjustedNameStyleBasedOnPhoneticNameStyle()
[all …]
DContactsDatabaseHelper.java4674 name.phoneticNameStyle = c.isNull(RawContactNameQuery.PHONETIC_NAME_STYLE) in updateRawContactDisplayName()
4753 bestPhoneticNameStyle = bestName.phoneticNameStyle; in updateRawContactDisplayName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java392 assertEquals(expectedPhoneticNameStyle, name.phoneticNameStyle); in assertPhoneticNameStyle()