Home | History | Annotate | Download | only in contacts

Lines Matching refs:mimetype

572         if (entry.mimetype.equals(CommonDataKinds.Phone.CONTENT_ITEM_TYPE)) {
578 } else if (entry.mimetype.equals(CommonDataKinds.Email.CONTENT_ITEM_TYPE)) {
583 } else if (entry.mimetype.equals(CommonDataKinds.StructuredPostal.CONTENT_ITEM_TYPE)) {
908 final String mimeType = entryValues.getAsString(Data.MIMETYPE);
909 if (mimeType == null) continue;
911 final DataKind kind = sources.getKindOrFallback(accountType, mimeType, this,
915 final ViewEntry entry = ViewEntry.fromValues(context, mimeType, kind,
922 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
944 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
963 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
968 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
981 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType) &&
1001 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
1013 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
1018 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
1030 } else if (SipAddress.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) {
1108 public static ViewEntry fromValues(Context context, String mimeType, DataKind kind,
1115 entry.mimetype = mimeType;
1154 if (TypePrecedence.getTypePrecedence(mimetype, type)
1155 > TypePrecedence.getTypePrecedence(entry.mimetype, entry.type)) {
1186 if (!ContactsUtils.shouldCollapse(context, mimetype, data, entry.mimetype,
1191 if (!TextUtils.equals(mimetype, entry.mimetype)
1287 if (entry.mimetype.equals(Phone.CONTENT_ITEM_TYPE)
1288 || entry.mimetype.equals(Constants.MIME_SMS_ADDRESS)) {