HomeSort by relevance Sort by last modified time
    Searched refs:structuredName (Results 1 - 3 of 3) sorted by null

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
NameConverterTests.java 19 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
36 Map<String, String> structuredName = new HashMap<String, String>();
37 structuredName.put(StructuredName.PREFIX, "Mr.");
38 structuredName.put(StructuredName.GIVEN_NAME, "John");
39 structuredName.put(StructuredName.MIDDLE_NAME, "Quincy");
40 structuredName.put(StructuredName.FAMILY_NAME, "Adams")
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
NameConverter.java 25 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
43 StructuredName.PREFIX,
44 StructuredName.GIVEN_NAME,
45 StructuredName.MIDDLE_NAME,
46 StructuredName.FAMILY_NAME,
47 StructuredName.SUFFIX
51 * Converts the given structured name (provided as a map from {@link StructuredName} fields to
58 * @param structuredName The structured name map to convert.
62 Map<String, String> structuredName) {
65 if (structuredName.containsKey(key))
    [all...]
  /packages/apps/Settings/src/com/android/settings/
Utils.java 405 final Cursor structuredName = cr.query(
407 new String[] {CommonDataKinds.StructuredName.GIVEN_NAME,
408 CommonDataKinds.StructuredName.FAMILY_NAME},
411 if (structuredName == null) return null;
414 if (!structuredName.moveToFirst()) {
417 String partialName = structuredName.getString(0);
419 partialName = structuredName.getString(1);
423 structuredName.close();
    [all...]

Completed in 109 milliseconds