Home
last modified time | relevance | path

Searched refs:TYPE_CUSTOM (Results 1 – 25 of 30) sorted by relevance

12

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DTypePrecedence.java38 Phone.TYPE_CUSTOM,
48 Email.TYPE_CUSTOM,
54 StructuredPostal.TYPE_CUSTOM,
60 Im.TYPE_CUSTOM,
66 Organization.TYPE_CUSTOM,
DFallbackSource.java199 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in inflatePhone()
239 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in inflateEmail()
266 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_CUSTOM).setSecondary(true) in inflateStructuredPostal()
358 kind.typeList.add(buildOrgType(Organization.TYPE_CUSTOM).setSecondary(true) in inflateOrganization()
501 return type == BaseTypes.TYPE_CUSTOM; in isCustom()
539 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT; in isCustom()
574 return (type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT); in isCustom()
DGoogleSource.java96 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in inflatePhone()
116 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in inflateEmail()
DExchangeSource.java254 kind.typeList.add(buildOrgType(Organization.TYPE_CUSTOM).setSecondary(true) in inflateOrganization()
/packages/apps/Contacts/src/com/android/contacts/
DTypePrecedence.java45 Phone.TYPE_CUSTOM,
56 Email.TYPE_CUSTOM,
62 StructuredPostal.TYPE_CUSTOM,
68 Im.TYPE_CUSTOM,
74 Organization.TYPE_CUSTOM,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java330 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert()
344 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert()
363 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsUpdate()
373 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsUpdate()
391 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesInsert()
415 values.put(People.TYPE, Phones.TYPE_CUSTOM); in testPhonesInsert()
423 Phones.TYPE_CUSTOM, Phones.TYPE_OTHER, Phones.LABEL); in testPhonesInsert()
433 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesUpdate()
463 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesFilterQuery()
482 ContactMethods.TYPE_CUSTOM, "Some other way", "foo@acme.com", null, true); in testEmailInsert()
[all …]
DCallLogProviderTest.java136 values.put(Calls.CACHED_NUMBER_TYPE, Phone.TYPE_CUSTOM); in testUpdate()
180 ci.numberType = Phone.TYPE_CUSTOM; in testAddCall()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DGoogleAccountType.java97 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true) in addDataKindPhone()
115 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in addDataKindEmail()
146 kind.typeList.add(buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true) in addDataKindRelation()
172 kind.typeList.add(buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true) in addDataKindEvent()
DSamsungAccountType.java143 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true) in addDataKindPhone()
161 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in addDataKindEmail()
192 kind.typeList.add(buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true) in addDataKindRelation()
218 kind.typeList.add(buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true) in addDataKindEvent()
DBaseAccountType.java274 buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Phone.LABEL)); in addDataKindPhone()
307 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); in addDataKindEmail()
325 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_CUSTOM).setSecondary(true) in addDataKindStructuredPostal()
505 return type == BaseTypes.TYPE_CUSTOM; in isCustom()
588 return Relation.getTypeLabelResource(type == null ? Relation.TYPE_CUSTOM : type); in getTypeLabelResource()
1087 return build(Phone.TYPE_CUSTOM, true).setCustomColumn(Phone.LABEL); in buildEditTypeForTypeTag()
1119 return buildEmailType(Email.TYPE_CUSTOM) in buildEditTypeForTypeTag()
1185 return buildPostalType(StructuredPostal.TYPE_CUSTOM) in buildEditTypeForTypeTag()
1425 return buildEventType(Event.TYPE_CUSTOM, yo) in buildEditTypeForTypeTag()
1482 return buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true) in buildEditTypeForTypeTag()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java49 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); in testIsCustomPhoneTypeReturnsTrue()
61 final CharSequence smsResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM, in testGetLabelForCallOrSmsReturnsCustomLabel()
65 final CharSequence callResult = ContactDisplayUtils.getLabelForCallOrSms(Phone.TYPE_CUSTOM, in testGetLabelForCallOrSmsReturnsCustomLabel()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java90 customType = Phone.TYPE_CUSTOM; in getDisplayLabel()
94 customType = Email.TYPE_CUSTOM; in getDisplayLabel()
98 customType = StructuredPostal.TYPE_CUSTOM; in getDisplayLabel()
102 customType = Organization.TYPE_CUSTOM; in getDisplayLabel()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DDataItemTests.java157 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
158 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
159 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
341 mValues1.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation()
342 mValues2.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation()
343 mValues3.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation()
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
DEventCompat.java51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) { in getTypeLabelInternal()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DEventDataItem.java56 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM && in shouldCollapseWith()
DRelationDataItem.java56 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM && in shouldCollapseWith()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java698 if (type != null && type == Phone.TYPE_CUSTOM && in parseValues()
915 final int typeValue = extras.getInt(typeExtra, hasType ? BaseTypes.TYPE_CUSTOM in parseExtras()
954 private static final int TYPE_CUSTOM = Phone.TYPE_CUSTOM; field in RawContactModifier
1179 if (oldType != null && oldType == StructuredPostal.TYPE_CUSTOM) { in migratePostal()
1400 if (oldType != null && oldType == TYPE_CUSTOM) { in migrateGenericWithTypeColumn()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForEmail.java90 case Email.TYPE_CUSTOM: return 2; in getTypeRank()
DDataRowHandlerForOrganization.java109 case Organization.TYPE_CUSTOM: return 1; in getTypeRank()
DDataRowHandlerForPhoneNumber.java146 case Phone.TYPE_CUSTOM: return 4; in getTypeRank()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java54 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT; in isCustomPhoneType()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneCallDetailsHelper.java213 } else if (!(details.numberType == Phone.TYPE_CUSTOM in getCallTypeOrLocation()
DContactInfoHelper.java131 new JSONObject().put(Phone.NUMBER, number).put(Phone.TYPE, Phone.TYPE_CUSTOM)); in createTemporaryContactUri()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java1083 mockNameValues.put(Email.TYPE, Email.TYPE_CUSTOM); in testMigrateEmailFromGoogleToExchange()
1112 assertEquals(Email.TYPE_CUSTOM, outputValues.getAsInteger(Email.TYPE).intValue()); in testMigrateEmailFromGoogleToExchange()
1230 mockNameValues.put(Phone.TYPE, Phone.TYPE_CUSTOM); in testMigratePhoneFromGoogleToExchange()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java531 row2.put(Email.TYPE, Email.TYPE_CUSTOM); in putDataExtra()

12