Searched refs:fullNameStyle (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForStructuredName.java | 54 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 …]
|
D | NameSplitter.java | 91 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 …]
|
D | NameLookupBuilder.java | 99 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()
|
D | ContactsDatabaseHelper.java | 2851 int fullNameStyle = nameSplitter.guessFullNameStyle(name); in insertStructuredNameLookup() local 2852 fullNameStyle = nameSplitter.getAdjustedFullNameStyle(fullNameStyle); in insertStructuredNameLookup() 2853 nameLookupBuilder.insertNameLookup(rawContactId, dataId, name, fullNameStyle); in insertStructuredNameLookup() 4637 name.fullNameStyle = c.isNull(RawContactNameQuery.FULL_NAME_STYLE) in updateRawContactDisplayName() 4703 displayNameStyle = bestName.fullNameStyle; in updateRawContactDisplayName() 4707 bestName.fullNameStyle = displayNameStyle; in updateRawContactDisplayName()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 253 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()
|