Home
last modified time | relevance | path

Searched refs:NameConverter (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java37 import com.android.contacts.common.util.NameConverter;
137 for (String field : NameConverter.STRUCTURED_NAME_FIELDS) { in switchFromFullNameToStructuredName()
144 Map<String, String> structuredNameMap = NameConverter.displayNameToStructuredName( in switchFromFullNameToStructuredName()
167 String displayName = NameConverter.structuredNameToDisplayName(getContext(), in switchFromStructuredNameToFullName()
184 for (String key : NameConverter.STRUCTURED_NAME_FIELDS) { in valuesToStructuredNameMap()
196 String displayName = NameConverter.structuredNameToDisplayName(getContext(), in rebuildFullName()
202 for (String field : NameConverter.STRUCTURED_NAME_FIELDS) { in eraseStructuredName()
209 Map<String, String> structuredNameMap = NameConverter.displayNameToStructuredName( in rebuildStructuredName()
241 final String displayName = NameConverter.structuredNameToDisplayName( in getDisplayName()
DPhoneticNameEditorView.java27 import com.android.contacts.common.util.NameConverter;
64 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(value, null); in parsePhoneticName()
74 mPhoneticName = NameConverter.buildPhoneticName(family, middle, given); in buildPhoneticName()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DNameConverterTests.java24 import com.android.contacts.common.util.NameConverter;
44 NameConverter.structuredNameToDisplayName(mContext, structuredName)); in testStructuredNameToDisplayName()
48 NameConverter.structuredNameToDisplayName(mContext, structuredName)); in testStructuredNameToDisplayName()
52 NameConverter.structuredNameToDisplayName(mContext, structuredName)); in testStructuredNameToDisplayName()
74 Map<String, String> structuredName = NameConverter.displayNameToStructuredName(mContext, in assertStructuredName()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java54 import com.android.contacts.common.util.NameConverter;
646 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(phoneticName, null); in parseStructuredNameExtra()
1071 NameConverter.displayNameToStructuredName(context, displayName, values); in migrateStructuredName()
1080 NameConverter.structuredNameToDisplayName(context, values)); in migrateStructuredName()
1081 for (String field : NameConverter.STRUCTURED_NAME_FIELDS) { in migrateStructuredName()
1093 NameConverter.parsePhoneticName(phoneticFullName, null); in migrateStructuredName()
1118 NameConverter.buildPhoneticName( in migrateStructuredName()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DNameConverter.java37 public class NameConverter { class