Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java86 public String givenNames; field in NameSplitter.Name
102 public Name(String prefix, String givenNames, String middleName, String familyName, in Name() argument
105 this.givenNames = givenNames; in Name()
117 return givenNames; in getGivenNames()
155 givenNames = values.getAsString(StructuredName.GIVEN_NAME); in fromValues()
173 putValueIfPresent(values, StructuredName.GIVEN_NAME, givenNames); in toValues()
192 givenNames = null; in clear()
204 return TextUtils.isEmpty(givenNames) in isEmpty()
215 return "[prefix: " + prefix + " given: " + givenNames + " middle: " + middleName in toString()
405 name.givenNames = tokens.mTokens[tokens.mStartPointer]; in splitWesternName()
[all …]
DNameLookupBuilder.java164 if (name.givenNames != null) { in appendNameLookupForLocaleBasedName()
165 builder.appendName(name.givenNames); in appendNameLookupForLocaleBasedName()
166 appendKoreanNameConsonantsLookup(builder, name.givenNames); in appendNameLookupForLocaleBasedName()
DContactsDatabaseHelper.java4664 name.givenNames = c.getString(RawContactNameQuery.GIVEN_NAME); in updateRawContactDisplayName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java247 name.givenNames = "Du"; in testGuessFullNameStyleChineseMixed()
332 private void assertSplitName(String fullName, String prefix, String givenNames, in assertSplitName() argument
337 assertEquals(givenNames, name.getGivenNames()); in assertSplitName()
343 private void assertJoinedName(String expected, String prefix, String givenNames, in assertJoinedName() argument
345 assertJoinedName(expected, FullNameStyle.WESTERN, prefix, givenNames, middleName, in assertJoinedName()
349 private void assertJoinedName(String expected, int nameStyle, String prefix, String givenNames, in assertJoinedName() argument
354 name.givenNames = givenNames; in assertJoinedName()