Searched refs:getKindForMimetype (Results 1 – 14 of 14) sorted by relevance
94 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); in testEditSchema()95 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME)); in testEditSchema()96 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); in testEditSchema()97 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema()98 assertNotNull(type.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE)); in testEditSchema()99 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema()100 assertNotNull(type.getKindForMimetype(Organization.CONTENT_ITEM_TYPE)); in testEditSchema()101 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema()102 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema()103 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema()[all …]
209 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testValidTypes()254 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testValidTypesWhenUpdating()291 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testCanInsert()320 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testBestValidType()356 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testIsEmptyEmpty()367 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testIsEmptyDirectFields()384 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptySingle()429 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptySpaces()455 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimLeaveValid()484 final DataKind kindPhone = source.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in testTrimEmptyUntouched()[all …]
129 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 …]
106 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 …]
282 kind = source.getKindForMimetype(mimeType); in getKindOrFallback()288 kind = mFallbackSource.getKindForMimetype(mimeType); in getKindOrFallback()
169 public DataKind getKindForMimetype(String mimeType) { in getKindForMimetype() method in ContactsSource
234 setHasPhotoEditor((type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null)); in setState()245 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE); in setState()263 type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME), in setState()266 type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME), in setState()271 final DataKind nickNameKind = type.getKindForMimetype(Nickname.CONTENT_ITEM_TYPE); in setState()
143 DataKind kind = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); in setState()146 boolean hasPhotoEditor = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null; in setState()
377 accountType.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME), in addNameEditorViews()390 accountType.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME), in addNameEditorViews()
115 final DataKind kind = accountType.getKindForMimetype(mimeType); in ensureKindExists()531 final DataKind kind = accountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); in parseExtras()541 final DataKind kind = accountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); in parseExtras()551 final DataKind kind = accountType.getKindForMimetype(Im.CONTENT_ITEM_TYPE); in parseExtras()559 final DataKind kindOrg = accountType.getKindForMimetype(Organization.CONTENT_ITEM_TYPE); in parseExtras()576 final DataKind kindNotes = accountType.getKindForMimetype(Note.CONTENT_ITEM_TYPE); in parseExtras()601 final DataKind kind = accountType.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE); in parseStructuredNameExtra()656 final DataKind kind = accountType.getKindForMimetype(StructuredPostal.CONTENT_ITEM_TYPE); in parseStructuredPostalExtra()704 DataKind kind = accountType.getKindForMimetype(mimeType); in parseValues()
157 return type == null ? null : type.getKindForMimetype(mimeType); in getKindOrFallback()594 kind = type.getKindForMimetype(mimeType); in getKindOrFallback()599 kind = mFallbackAccountType.getKindForMimetype(mimeType); in getKindOrFallback()
85 final DataKind groupMembershipKind = type.getKindForMimetype( in addToDefaultGroup()
324 public DataKind getKindForMimetype(String mimeType) { in getKindForMimetype() method in AccountType
229 if (getKindForMimetype(mimeType) == null) { in checkKindExists()