Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForStructuredName.java54 Integer fullNameStyle = values.getAsInteger(StructuredName.FULL_NAME_STYLE); in insert() local
56 fullNameStyle != null in insert()
57 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) in insert()
82 Integer fullNameStyle = augmented.getAsInteger(StructuredName.FULL_NAME_STYLE); in update() local
84 fullNameStyle != null in update()
85 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) in update()
139 name.fullNameStyle = FullNameStyle.UNDEFINED; in fixStructuredNameComponents()
142 int unadjustedFullNameStyle = name.fullNameStyle; in fixStructuredNameComponents()
143 name.fullNameStyle = mSplitter.getAdjustedFullNameStyle(name.fullNameStyle); in fixStructuredNameComponents()
184 Integer fullNameStyle = builder.getInt(StructuredName.FULL_NAME_STYLE); in appendSearchableData() local
[all …]
DNameLookupBuilder.java99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { in insertNameLookup() argument
142 public void appendToSearchIndex(IndexBuilder builder, String name, int fullNameStyle) { in appendToSearchIndex() argument
152 appendNameShorthandLookup(builder, name, fullNameStyle); in appendToSearchIndex()
153 appendNameLookupForLocaleBasedName(builder, name, fullNameStyle); in appendToSearchIndex()
160 String fullName, int fullNameStyle) { in appendNameLookupForLocaleBasedName() argument
161 if (fullNameStyle == FullNameStyle.KOREAN) { in appendNameLookupForLocaleBasedName()
163 mSplitter.split(name, fullName, fullNameStyle); in appendNameLookupForLocaleBasedName()
327 public void appendNameShorthandLookup(IndexBuilder builder, String name, int fullNameStyle) { in appendNameShorthandLookup() argument
329 ContactLocaleUtils.getInstance().getNameLookupKeys(name, fullNameStyle); in appendNameShorthandLookup()
DNameSplitter.java91 public int fullNameStyle; field in NameSplitter.Name
134 return fullNameStyle; in getFullNameStyle()
161 fullNameStyle = integer == null ? FullNameStyle.UNDEFINED : integer; in fromValues()
177 values.put(StructuredName.FULL_NAME_STYLE, fullNameStyle); in toValues()
196 fullNameStyle = FullNameStyle.UNDEFINED; in clear()
350 int fullNameStyle = guessFullNameStyle(fullName); in split() local
351 if (fullNameStyle == FullNameStyle.CJK) { in split()
352 fullNameStyle = getAdjustedFullNameStyle(fullNameStyle); in split()
355 split(name, fullName, fullNameStyle); in split()
362 public void split(Name name, String fullName, int fullNameStyle) { in split() argument
[all …]
DContactsDatabaseHelper.java2794 int fullNameStyle = nameSplitter.guessFullNameStyle(name); in insertStructuredNameLookup() local
2795 fullNameStyle = nameSplitter.getAdjustedFullNameStyle(fullNameStyle); in insertStructuredNameLookup()
2796 nameLookupBuilder.insertNameLookup(rawContactId, dataId, name, fullNameStyle); in insertStructuredNameLookup()
4668 name.fullNameStyle = c.isNull(RawContactNameQuery.FULL_NAME_STYLE) in updateRawContactDisplayName()
4734 displayNameStyle = bestName.fullNameStyle; in updateRawContactDisplayName()
4738 bestName.fullNameStyle = displayNameStyle; in updateRawContactDisplayName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java253 assertEquals(FullNameStyle.WESTERN, name.fullNameStyle); in testGuessFullNameStyleChineseMixed()
352 name.fullNameStyle = nameStyle; in assertJoinedName()
367 assertEquals(expectedFullNameStyle, name.fullNameStyle); in assertFullNameStyle()
380 assertEquals(expectedFullNameStyle, name.fullNameStyle); in assertFullNameStyle()