Searched refs:fullNameStyle (Results 1 – 5 of 5) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForStructuredName.java | 69 Integer fullNameStyle = values.getAsInteger(StructuredName.FULL_NAME_STYLE); in insert() local 71 fullNameStyle != null in insert() 72 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) in insert() 98 Integer fullNameStyle = augmented.getAsInteger(StructuredName.FULL_NAME_STYLE); in update() local 100 fullNameStyle != null in update() 101 ? mSplitter.getAdjustedFullNameStyle(fullNameStyle) in update() 155 name.fullNameStyle = FullNameStyle.UNDEFINED; in fixStructuredNameComponents() 158 int unadjustedFullNameStyle = name.fullNameStyle; in fixStructuredNameComponents() 159 name.fullNameStyle = mSplitter.getAdjustedFullNameStyle(name.fullNameStyle); in fixStructuredNameComponents() 200 Integer fullNameStyle = builder.getInt(StructuredName.FULL_NAME_STYLE); in appendSearchableData() local [all …]
|
D | NameLookupBuilder.java | 88 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) { in insertNameLookup() argument 125 public void appendToSearchIndex(IndexBuilder builder, String name, int fullNameStyle) { in appendToSearchIndex() argument 135 appendNameShorthandLookup(builder, name, fullNameStyle); in appendToSearchIndex() 136 appendNameLookupForLocaleBasedName(builder, name, fullNameStyle); in appendToSearchIndex() 143 String fullName, int fullNameStyle) { in appendNameLookupForLocaleBasedName() argument 144 if (fullNameStyle == FullNameStyle.KOREAN) { in appendNameLookupForLocaleBasedName() 146 mSplitter.split(name, fullName, fullNameStyle); in appendNameLookupForLocaleBasedName() 286 public void appendNameShorthandLookup(IndexBuilder builder, String name, int fullNameStyle) { in appendNameShorthandLookup() argument 288 ContactLocaleUtils.getInstance().getNameLookupKeys(name, fullNameStyle); in appendNameShorthandLookup()
|
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 | ContactsDatabaseHelper.java | 2875 int fullNameStyle = nameSplitter.guessFullNameStyle(name); in insertStructuredNameLookup() local 2876 fullNameStyle = nameSplitter.getAdjustedFullNameStyle(fullNameStyle); in insertStructuredNameLookup() 2877 nameLookupBuilder.insertNameLookup(rawContactId, dataId, name, fullNameStyle); in insertStructuredNameLookup() 4860 name.fullNameStyle = c.isNull(RawContactNameQuery.FULL_NAME_STYLE) in updateRawContactDisplayName() 4926 displayNameStyle = bestName.fullNameStyle; in updateRawContactDisplayName() 4930 bestName.fullNameStyle = displayNameStyle; in updateRawContactDisplayName()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | NameSplitterTest.java | 254 assertEquals(FullNameStyle.WESTERN, name.fullNameStyle); in testGuessFullNameStyleChineseMixed() 353 name.fullNameStyle = nameStyle; in assertJoinedName() 368 assertEquals(expectedFullNameStyle, name.fullNameStyle); in assertFullNameStyle() 381 assertEquals(expectedFullNameStyle, name.fullNameStyle); in assertFullNameStyle()
|