Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java87 public String middleName; field in NameSplitter.Name
102 public Name(String prefix, String givenNames, String middleName, String familyName, in Name() argument
106 this.middleName = middleName; in Name()
121 return middleName; in getMiddleName()
156 middleName = values.getAsString(StructuredName.MIDDLE_NAME); in fromValues()
174 putValueIfPresent(values, StructuredName.MIDDLE_NAME, middleName); in toValues()
193 middleName = null; in clear()
205 && TextUtils.isEmpty(middleName) in isEmpty()
215 return "[prefix: " + prefix + " given: " + givenNames + " middle: " + middleName in toString()
428 } else if (name.middleName == null) { in splitChineseName()
[all …]
DContactsDatabaseHelper.java4634 name.middleName = c.getString(RawContactNameQuery.MIDDLE_NAME); in updateRawContactDisplayName()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DNameSplitterTest.java248 name.middleName = "\u5C0F"; in testGuessFullNameStyleChineseMixed()
333 String middleName, String familyName, String suffix) { in assertSplitName() argument
338 assertEquals(middleName, name.getMiddleName()); in assertSplitName()
344 String middleName, String familyName, String suffix) { in assertJoinedName() argument
345 assertJoinedName(expected, FullNameStyle.WESTERN, prefix, givenNames, middleName, in assertJoinedName()
350 String middleName, String familyName, String suffix, boolean givenNameFirst) { in assertJoinedName() argument
355 name.middleName = middleName; in assertJoinedName()
DBaseContactsProvider2Test.java673 String middleName, String familyName, String suffix) { in assertStructuredName() argument
689 assertEquals(middleName, c.getString(2)); in assertStructuredName()