Home
last modified time | relevance | path

Searched refs:getKindForMimetype (Results 1 – 14 of 14) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
DExternalAccountTypeTest.java90 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); in testEditSchema()
91 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME)); in testEditSchema()
92 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); in testEditSchema()
93 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema()
94 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); in testEditSchema()
95 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema()
96 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); in testEditSchema()
97 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema()
98 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema()
99 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java208 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testValidTypes()
253 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testCanInsert()
282 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testBestValidType()
318 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testIsEmptyEmpty()
329 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testIsEmptyDirectFields()
346 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptySingle()
387 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptySpaces()
413 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimLeaveValid()
442 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptyUntouched()
466 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptyAfterUpdate()
[all …]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/
DDataItemTests.java129 final DataKind kind = mGoogleAccountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); in testDataItemCollapsing_email()
166 final DataKind kind = mGoogleAccountType.getKindForMimetype(Event.CONTENT_ITEM_TYPE); in testDataItemCollapsing_event()
202 final DataKind kind = mGoogleAccountType.getKindForMimetype(Im.CONTENT_ITEM_TYPE); in testDataItemCollapsing_im()
229 final DataKind kind = mGoogleAccountType.getKindForMimetype(Nickname.CONTENT_ITEM_TYPE); in testDataItemCollapsing_nickname()
251 DataKind kind = mGoogleAccountType.getKindForMimetype(Note.CONTENT_ITEM_TYPE); in testDataItemCollapsing_note()
283 mGoogleAccountType.getKindForMimetype(Organization.CONTENT_ITEM_TYPE); in testDataItemCollapsing_organization()
314 final DataKind kind = mGoogleAccountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testDataItemCollapsing_phone()
350 final DataKind kind = mGoogleAccountType.getKindForMimetype(Relation.CONTENT_ITEM_TYPE); in testDataItemCollapsing_relation()
379 final DataKind kind = mGoogleAccountType.getKindForMimetype(SipAddress.CONTENT_ITEM_TYPE); in testDataItemCollapsing_sip()
402 mGoogleAccountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in testDataItemCollapsing_structuredName()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DCompactRawContactsEditorView.java395 final DataKind dataKind = accountType.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in addPhotoView()
421 final DataKind dataKind = accountType.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in addPhotoView()
445 final DataKind dataKind = accountType.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in addPhotoView()
466 final DataKind dataKind = accountType.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in addPhotoView()
487 final DataKind dataKind = accountType.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in addPhotoView()
555 final DataKind dataKind = accountType.getKindForMimetype( in addStructuredNameView()
578 final DataKind dataKind = accountType.getKindForMimetype( in addStructuredNameView()
599 final DataKind dataKind = accountType.getKindForMimetype( in addStructuredNameView()
620 final DataKind dataKind = accountType.getKindForMimetype( in addStructuredNameView()
840 accountType.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME), in inflateStructuredNameEditorView()
[all …]
DRawContactEditorView.java221 setHasPhotoEditor((type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null)); in setState()
232 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE); in setState()
250 type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME), in setState()
253 type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME), in setState()
258 final DataKind nickNameKind = type.getKindForMimetype(Nickname.CONTENT_ITEM_TYPE); in setState()
DRawContactReadOnlyEditorView.java141 DataKind kind = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in setState()
144 boolean hasPhotoEditor = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null; in setState()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DFallbackSource.java106 DataKind kind = getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in inflateStructuredName()
156 DataKind kind = getKindForMimetype(Nickname.CONTENT_ITEM_TYPE); in inflateNickname()
179 DataKind kind = getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in inflatePhone()
224 DataKind kind = getKindForMimetype(Email.CONTENT_ITEM_TYPE); in inflateEmail()
250 DataKind kind = getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in inflateStructuredPostal()
308 DataKind kind = getKindForMimetype(Im.CONTENT_ITEM_TYPE); in inflateIm()
345 DataKind kind = getKindForMimetype(Organization.CONTENT_ITEM_TYPE); in inflateOrganization()
372 DataKind kind = getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in inflatePhoto()
386 DataKind kind = getKindForMimetype(Note.CONTENT_ITEM_TYPE); in inflateNote()
405 DataKind kind = getKindForMimetype(Website.CONTENT_ITEM_TYPE); in inflateWebsite()
[all …]
DSources.java282 kind = source.getKindForMimetype(mimeType); in getKindOrFallback()
288 kind = mFallbackSource.getKindForMimetype(mimeType); in getKindOrFallback()
DContactsSource.java169 public DataKind getKindForMimetype(String mimeType) { in getKindForMimetype() method in ContactsSource
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java115 final DataKind kind = accountType.getKindForMimetype(mimeType); in ensureKindExists()
541 final DataKind kind = accountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in parseExtras()
551 final DataKind kind = accountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); in parseExtras()
561 final DataKind kind = accountType.getKindForMimetype(Im.CONTENT_ITEM_TYPE); in parseExtras()
569 final DataKind kindOrg = accountType.getKindForMimetype(Organization.CONTENT_ITEM_TYPE); in parseExtras()
586 final DataKind kindNotes = accountType.getKindForMimetype(Note.CONTENT_ITEM_TYPE); in parseExtras()
611 final DataKind kind = accountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in parseStructuredNameExtra()
666 final DataKind kind = accountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in parseStructuredPostalExtra()
714 DataKind kind = accountType.getKindForMimetype(mimeType); in parseValues()
DAccountTypeManager.java157 return type == null ? null : type.getKindForMimetype(mimeType); in getKindOrFallback()
594 kind = type.getKindForMimetype(mimeType); in getKindOrFallback()
599 kind = mFallbackAccountType.getKindForMimetype(mimeType); in getKindOrFallback()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java85 final DataKind groupMembershipKind = type.getKindForMimetype( in addToDefaultGroup()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java319 public DataKind getKindForMimetype(String mimeType) { in getKindForMimetype() method in AccountType
DExternalAccountType.java229 if (getKindForMimetype(mimeType) == null) { in checkKindExists()