/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | TypePrecedence.java | 38 Phone.TYPE_CUSTOM, 48 Email.TYPE_CUSTOM, 54 StructuredPostal.TYPE_CUSTOM, 60 Im.TYPE_CUSTOM, 66 Organization.TYPE_CUSTOM,
|
D | FallbackSource.java | 199 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()
|
D | GoogleSource.java | 96 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()
|
D | ExchangeSource.java | 254 kind.typeList.add(buildOrgType(Organization.TYPE_CUSTOM).setSecondary(true) in inflateOrganization()
|
/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 | 330 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 …]
|
D | CallLogProviderTest.java | 136 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/ |
D | GoogleAccountType.java | 97 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()
|
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 | 274 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/ |
D | ContactDisplayUtilTests.java | 49 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/ |
D | ContactsUtils.java | 90 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/ |
D | DataItemTests.java | 157 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/ |
D | EventCompat.java | 51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) { in getTypeLabelInternal()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | EventDataItem.java | 56 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM && in shouldCollapseWith()
|
D | RelationDataItem.java | 56 } else if (getKindTypeColumn(mKind) == Relation.TYPE_CUSTOM && in shouldCollapseWith()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 698 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/ |
D | DataRowHandlerForEmail.java | 90 case Email.TYPE_CUSTOM: return 2; in getTypeRank()
|
D | DataRowHandlerForOrganization.java | 109 case Organization.TYPE_CUSTOM: return 1; in getTypeRank()
|
D | DataRowHandlerForPhoneNumber.java | 146 case Phone.TYPE_CUSTOM: return 4; in getTypeRank()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | ContactDisplayUtils.java | 54 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT; in isCustomPhoneType()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 213 } else if (!(details.numberType == Phone.TYPE_CUSTOM in getCallTypeOrLocation()
|
D | ContactInfoHelper.java | 131 new JSONObject().put(Phone.NUMBER, number).put(Phone.TYPE, Phone.TYPE_CUSTOM)); in createTemporaryContactUri()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactModifierTests.java | 1083 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/ |
D | AllIntentsActivity.java | 531 row2.put(Email.TYPE, Email.TYPE_CUSTOM); in putDataExtra()
|