/packages/apps/Contacts/src/com/android/contacts/ |
D | TypePrecedence.java | 45 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/ |
D | LegacyContactsProviderTest.java | 348 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert() 362 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert() 381 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsUpdate() 391 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsUpdate() 409 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesInsert() 435 values.put(People.TYPE, Phones.TYPE_CUSTOM); in testPhonesInsert() 443 Phones.TYPE_CUSTOM, Phones.TYPE_OTHER, Phones.LABEL); in testPhonesInsert() 453 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesUpdate() 483 values.put(Phones.TYPE, Phones.TYPE_CUSTOM); in testPhonesFilterQuery() 502 ContactMethods.TYPE_CUSTOM, "Some other way", "foo@acme.com", null, true); in testEmailInsert() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
D | GoogleAccountType.java | 98 buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Phone.LABEL)); in addDataKindPhone() 116 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); in addDataKindEmail() 152 buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Relation.LABEL)); in addDataKindRelation() 178 buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true).setCustomColumn(Event.LABEL)); in addDataKindEvent()
|
D | SamsungAccountType.java | 141 buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Phone.LABEL)); in addDataKindPhone() 159 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); in addDataKindEmail() 190 buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Relation.LABEL)); in addDataKindRelation() 215 buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true).setCustomColumn(Event.LABEL)); in addDataKindEvent()
|
D | BaseAccountType.java | 325 buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Phone.LABEL)); in addDataKindPhone() 359 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); in addDataKindEmail() 383 buildPostalType(StructuredPostal.TYPE_CUSTOM) in addDataKindStructuredPostal() 645 return type == BaseTypes.TYPE_CUSTOM; in isCustom() 740 return Relation.getTypeLabelResource(type == null ? Relation.TYPE_CUSTOM : type); in getTypeLabelResource() 1307 return build(Phone.TYPE_CUSTOM, true).setCustomColumn(Phone.LABEL); in buildEditTypeForTypeTag() 1358 return buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL); in buildEditTypeForTypeTag() 1440 return buildPostalType(StructuredPostal.TYPE_CUSTOM) in buildEditTypeForTypeTag() 1784 return buildEventType(Event.TYPE_CUSTOM, yo) in buildEditTypeForTypeTag() 1878 return buildRelationType(Relation.TYPE_CUSTOM) in buildEditTypeForTypeTag()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | GoogleAccountType.java | 103 kind.typeList.add(buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true) in addDataKindPhone() 121 kind.typeList.add(buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn( in addDataKindEmail() 152 kind.typeList.add(buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true) in addDataKindRelation() 178 kind.typeList.add(buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true) in addDataKindEvent()
|
D | SamsungAccountType.java | 143 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()
|
D | BaseAccountType.java | 267 buildPhoneType(Phone.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Phone.LABEL)); in addDataKindPhone() 300 buildEmailType(Email.TYPE_CUSTOM).setSecondary(true).setCustomColumn(Email.LABEL)); in addDataKindEmail() 318 kind.typeList.add(buildPostalType(StructuredPostal.TYPE_CUSTOM).setSecondary(true) in addDataKindStructuredPostal() 506 return type == BaseTypes.TYPE_CUSTOM; in isCustom() 589 return Relation.getTypeLabelResource(type == null ? Relation.TYPE_CUSTOM : type); in getTypeLabelResource() 1073 return build(Phone.TYPE_CUSTOM, true).setCustomColumn(Phone.LABEL); in buildEditTypeForTypeTag() 1105 return buildEmailType(Email.TYPE_CUSTOM) in buildEditTypeForTypeTag() 1171 return buildPostalType(StructuredPostal.TYPE_CUSTOM) in buildEditTypeForTypeTag() 1413 return buildEventType(Event.TYPE_CUSTOM, yo) in buildEditTypeForTypeTag() 1470 return buildRelationType(Relation.TYPE_CUSTOM).setSecondary(true) in buildEditTypeForTypeTag()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 148 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 149 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 150 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event() 332 mValues1.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation() 333 mValues2.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation() 334 mValues3.put(Relation.TYPE, Relation.TYPE_CUSTOM); in testDataItemCollapsing_relation()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | EventCompat.java | 51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) { in getTypeLabelInternal()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | EventDataItem.java | 55 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM in shouldCollapseWith()
|
D | RelationDataItem.java | 55 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM in shouldCollapseWith()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | RelationDataItem.java | 56 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM && in shouldCollapseWith()
|
D | EventDataItem.java | 56 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM && in shouldCollapseWith()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | FakeContactsProvider.java | 96 Email.TYPE_CUSTOM, Email.TYPE_HOME, Email.TYPE_WORK, Email.TYPE_OTHER, 100 Phone.TYPE_CUSTOM, 121 StructuredPostal.TYPE_CUSTOM,
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 696 if (type != null && type == Phone.TYPE_CUSTOM && in parseValues() 913 final int typeValue = extras.getInt(typeExtra, hasType ? BaseTypes.TYPE_CUSTOM in parseExtras() 952 private static final int TYPE_CUSTOM = Phone.TYPE_CUSTOM; field in RawContactModifier 1111 if (oldType != null && oldType == StructuredPostal.TYPE_CUSTOM) { in migratePostal() 1332 if (oldType != null && oldType == TYPE_CUSTOM) { in migrateGenericWithTypeColumn()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForEmail.java | 97 case Email.TYPE_CUSTOM: return 2; in getTypeRank()
|
D | DataRowHandlerForOrganization.java | 117 case Organization.TYPE_CUSTOM: return 1; in getTypeRank()
|
D | DataRowHandlerForPhoneNumber.java | 154 case Phone.TYPE_CUSTOM: return 4; in getTypeRank()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | CallLogCacheUpdater.java | 130 .withValue(Calls.CACHED_NUMBER_TYPE, Phone.TYPE_CUSTOM)
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | ContactDisplayUtilTests.java | 50 assertTrue(ContactDisplayUtils.isCustomPhoneType(Phone.TYPE_CUSTOM)); in testIsCustomPhoneTypeReturnsTrue()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 126 if (numberType == Phone.TYPE_CUSTOM && TextUtils.isEmpty(numberLabel)) { in getLabel()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 47 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT; in isCustomPhoneType()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ContactDisplayUtils.java | 46 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT; in isCustomPhoneType()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItem.java | 165 if (numberType == Phone.TYPE_CUSTOM && TextUtils.isEmpty(numberLabel)) { in getLabel()
|