HomeSort by relevance Sort by last modified time
    Searched refs:StructuredName (Results 26 - 50 of 88) sorted by null

12 3 4

  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ExchangeSource.java 31 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
74 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix,
77 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME,
79 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME,
81 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME,
83 kind.fieldList.add(new EditField(StructuredName.SUFFIX,
85 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME,
87 kind.fieldList.add(new EditField(StructuredName.PHONETIC_GIVEN_NAME,
90 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME,
92 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME
    [all...]
FallbackSource.java 35 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
106 DataKind kind = getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE);
108 kind = addKind(new DataKind(StructuredName.CONTENT_ITEM_TYPE,
117 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix,
120 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family,
122 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle,
124 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given,
126 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix,
128 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME,
130 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_PhoneLookup.java 27 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
79 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
80 .with(StructuredName.DISPLAY_NAME, "Hot Tamale")
93 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
94 .with(StructuredName.DISPLAY_NAME, "Cold Tamago")
108 rawContact3.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
109 .with(StructuredName.DISPLAY_NAME, "Warm Tempura")
ContactsContract_SearchSnippetsTest.java 28 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
221 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
222 .with(StructuredName.DISPLAY_NAME, "Hot Tamale")
235 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
236 .with(StructuredName.DISPLAY_NAME, "Cold Tamago")
254 rawContact3.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
255 .with(StructuredName.DISPLAY_NAME, "John Doe")
ContactsContract_DataTest.java 35 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
218 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
219 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name")
236 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
237 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name")
252 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
253 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name")
312 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
313 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name")
413 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE
    [all...]
ContactsContract_FrequentsStrequentsTest.java 30 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
440 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
441 .with(StructuredName.DISPLAY_NAME, "Hot Tamale")
454 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
455 .with(StructuredName.DISPLAY_NAME, "Cold Tamago")
468 rawContact3.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
469 .with(StructuredName.DISPLAY_NAME, "John Doe")
ContactsContract_ContactsTest.java 30 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
173 rawContact.newDataRow(StructuredName.CONTENT_ITEM_TYPE)
174 .with(StructuredName.GIVEN_NAME, "xxx")
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameSplitter.java 19 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
154 prefix = values.getAsString(StructuredName.PREFIX);
155 givenNames = values.getAsString(StructuredName.GIVEN_NAME);
156 middleName = values.getAsString(StructuredName.MIDDLE_NAME);
157 familyName = values.getAsString(StructuredName.FAMILY_NAME);
158 suffix = values.getAsString(StructuredName.SUFFIX);
160 Integer integer = values.getAsInteger(StructuredName.FULL_NAME_STYLE);
163 phoneticFamilyName = values.getAsString(StructuredName.PHONETIC_FAMILY_NAME);
164 phoneticMiddleName = values.getAsString(StructuredName.PHONETIC_MIDDLE_NAME);
165 phoneticGivenName = values.getAsString(StructuredName.PHONETIC_GIVEN_NAME)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
ContactUtil.java 27 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
163 StructuredName.DISPLAY_NAME,
164 StructuredName.GIVEN_NAME,
165 StructuredName.FAMILY_NAME,
166 StructuredName.PREFIX,
167 StructuredName.MIDDLE_NAME,
168 StructuredName.SUFFIX
426 StructuredName.CONTENT_ITEM_TYPE
430 + StructuredName.DISPLAY_NAME;
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
BaseAccountType.java 34 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
150 DataKind kind = addKind(new DataKind(StructuredName.CONTENT_ITEM_TYPE,
157 kind.fieldList.add(new EditField(StructuredName.DISPLAY_NAME,
159 kind.fieldList.add(new EditField(StructuredName.PREFIX, R.string.name_prefix,
161 kind.fieldList.add(new EditField(StructuredName.FAMILY_NAME, R.string.name_family,
163 kind.fieldList.add(new EditField(StructuredName.MIDDLE_NAME, R.string.name_middle,
165 kind.fieldList.add(new EditField(StructuredName.GIVEN_NAME, R.string.name_given,
167 kind.fieldList.add(new EditField(StructuredName.SUFFIX, R.string.name_suffix,
169 kind.fieldList.add(new EditField(StructuredName.PHONETIC_FAMILY_NAME,
171 kind.fieldList.add(new EditField(StructuredName.PHONETIC_MIDDLE_NAME
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DataUtil.java 44 CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE);
45 values.put(CommonDataKinds.StructuredName.DISPLAY_NAME, name);
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 33 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
213 appendValue(nameSb, values, StructuredName.PREFIX);
214 appendValue(nameSb, values, StructuredName.GIVEN_NAME);
215 appendValue(nameSb, values, StructuredName.MIDDLE_NAME);
216 appendValue(nameSb, values, StructuredName.FAMILY_NAME);
217 appendValue(nameSb, values, StructuredName.SUFFIX);
220 appendValue(nameSb, values, StructuredName.DISPLAY_NAME);
224 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_FAMILY_NAME);
225 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_MIDDLE_NAME);
226 appendValue(phoneticNameSb, values, StructuredName.PHONETIC_GIVEN_NAME)
    [all...]
StructuredNameEditorView.java 24 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
171 values.put(StructuredName.DISPLAY_NAME, displayName);
176 mSnapshot.setMimeType(StructuredName.CONTENT_ITEM_TYPE);
229 super.setValue(1, getValues().getAsString(StructuredName.GIVEN_NAME));
230 super.setValue(3, getValues().getAsString(StructuredName.FAMILY_NAME));
RawContactReadOnlyEditorView.java 26 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
112 // Make sure we have StructuredName
113 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE);
153 primary = state.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE);
154 mName.setText(primary != null ? primary.getAsString(StructuredName.DISPLAY_NAME) :
CompactKindSectionView.java 31 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
230 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType())) {
250 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType())) {
273 if (!StructuredName.CONTENT_ITEM_TYPE.equals(mKindSectionDataList.getMimeType())
284 * {@link StructuredName#CONTENT_ITEM_TYPE} mime type. The number and order of editors are
318 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) {
439 final boolean isNameKindSection = StructuredName.CONTENT_ITEM_TYPE.equals(
EditorUiUtils.java 20 import static android.provider.ContactsContract.CommonDataKinds.StructuredName;
95 mimetypeLayoutMap.put(StructuredName.CONTENT_ITEM_TYPE,
105 * @param mimetype The mime type (e.g. StructuredName.CONTENT_ITEM_TYPE)
185 case StructuredName.CONTENT_ITEM_TYPE:
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregator2Test.java 29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
257 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave");
258 values.put(StructuredName.GIVEN_NAME, "604");
259 values.put(StructuredName.MIDDLE_NAME, "Arizona");
260 values.put(StructuredName.FAMILY_NAME, "Ave");
265 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave");
266 values.put(StructuredName.GIVEN_NAME, "604");
267 values.put(StructuredName.FAMILY_NAME, "Arizona Ave");
276 values.put(StructuredName.GIVEN_NAME, "John");
277 values.put(StructuredName.GIVEN_NAME, "Abigale")
    [all...]
ContactAggregatorTest.java 29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
257 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave");
258 values.put(StructuredName.GIVEN_NAME, "604");
259 values.put(StructuredName.MIDDLE_NAME, "Arizona");
260 values.put(StructuredName.FAMILY_NAME, "Ave");
265 values.put(StructuredName.DISPLAY_NAME, "604 Arizona Ave");
266 values.put(StructuredName.GIVEN_NAME, "604");
267 values.put(StructuredName.FAMILY_NAME, "Arizona Ave");
276 values.put(StructuredName.GIVEN_NAME, "John");
277 values.put(StructuredName.GIVEN_NAME, "Abigale")
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardBuilder.java 29 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
54 * builder.appendNameProperties(contentValuesListMap.get(StructuredName.CONTENT_ITEM_TYPE))
206 final String familyName = contentValues.getAsString(StructuredName.FAMILY_NAME);
207 final String middleName = contentValues.getAsString(StructuredName.MIDDLE_NAME);
208 final String givenName = contentValues.getAsString(StructuredName.GIVEN_NAME);
209 final String prefix = contentValues.getAsString(StructuredName.PREFIX);
210 final String suffix = contentValues.getAsString(StructuredName.SUFFIX);
212 contentValues.getAsString(StructuredName.PHONETIC_FAMILY_NAME);
214 contentValues.getAsString(StructuredName.PHONETIC_MIDDLE_NAME);
216 contentValues.getAsString(StructuredName.PHONETIC_GIVEN_NAME)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SplitAggregateView.java 26 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
58 Data.IS_PRIMARY, StructuredName.DISPLAY_NAME, Nickname.NAME, Email.DATA,
175 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) {
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
ExternalAccountTypeTest.java 28 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
94 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE));
168 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE));
  /platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DialerJankTests.java 34 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
175 .withValue(ContactsContract.Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE)
176 .withValue(StructuredName.DISPLAY_NAME, CONTACT_NAME)
  /packages/services/Telephony/src/com/android/phone/
SimContacts.java 40 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
167 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, 0);
168 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
169 builder.withValue(StructuredName.DISPLAY_NAME, name);
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 174 ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
175 .withValue(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 174 ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
175 .withValue(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,

Completed in 1309 milliseconds

12 3 4