/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 335 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/bookmark"; 457 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/browser-history"; 480 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/searches"; 586 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/images"; 659 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/image_mappings";
|
ContactsContract.java | 455 public static final String CONTENT_ITEM_TYPE = [all...] |
UserDictionary.java | 64 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.google.userword";
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactsIntentResolver.java | 108 if (Contacts.CONTENT_ITEM_TYPE.equals(type)) { 110 } else if (Phone.CONTENT_ITEM_TYPE.equals(type)) { 112 } else if (Phones.CONTENT_ITEM_TYPE.equals(type)) { 115 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(type)) { 120 } else if (People.CONTENT_ITEM_TYPE.equals(type)) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
ContactDetailFragmentTests.java | 43 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); 60 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); 79 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); 100 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE); 125 values.put(Email.MIMETYPE, Email.CONTENT_ITEM_TYPE);
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
RawContactModifier.java | 126 if (kind.mimeType.equals(Photo.CONTENT_ITEM_TYPE)) { 446 final boolean isPhoto = TextUtils.equals(Photo.CONTENT_ITEM_TYPE, kind.mimeType); 488 if (Photo.CONTENT_ITEM_TYPE.equals(kind.mimeType)) { 540 final DataKind kind = accountType.getKindForMimetype(Phone.CONTENT_ITEM_TYPE); 550 final DataKind kind = accountType.getKindForMimetype(Email.CONTENT_ITEM_TYPE); 560 final DataKind kind = accountType.getKindForMimetype(Im.CONTENT_ITEM_TYPE); 568 final DataKind kindOrg = accountType.getKindForMimetype(Organization.CONTENT_ITEM_TYPE); 585 final DataKind kindNotes = accountType.getKindForMimetype(Note.CONTENT_ITEM_TYPE); 605 RawContactModifier.ensureKindExists(state, accountType, StructuredName.CONTENT_ITEM_TYPE); 606 final ValuesDelta child = state.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
SuggestedMemberListAdapter.java | 251 selectionArgs.add(Photo.CONTENT_ITEM_TYPE); 252 selectionArgs.add(Email.CONTENT_ITEM_TYPE); 253 selectionArgs.add(Phone.CONTENT_ITEM_TYPE); 275 if (Photo.CONTENT_ITEM_TYPE.equals(mimetype)) { 279 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype) || 280 Phone.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 124 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE); 169 DataKind kind = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE); 171 RawContactModifier.ensureKindExists(state, type, Photo.CONTENT_ITEM_TYPE); 172 boolean hasPhotoEditor = type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null; 174 primary = state.getPrimaryEntry(Photo.CONTENT_ITEM_TYPE); 179 primary = state.getPrimaryEntry(StructuredName.CONTENT_ITEM_TYPE); 200 ArrayList<ValuesDelta> phones = state.getMimeEntries(Phone.CONTENT_ITEM_TYPE); 221 ArrayList<ValuesDelta> emails = state.getMimeEntries(Email.CONTENT_ITEM_TYPE);
|
RawContactEditorView.java | 217 RawContactModifier.ensureKindExists(state, type, StructuredName.CONTENT_ITEM_TYPE); 218 RawContactModifier.ensureKindExists(state, type, Organization.CONTENT_ITEM_TYPE); 254 RawContactModifier.ensureKindExists(state, type, Photo.CONTENT_ITEM_TYPE); 255 setHasPhotoEditor((type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE) != null)); 266 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE); 280 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimeType)) { 289 } else if (Photo.CONTENT_ITEM_TYPE.equals(mimeType)) { 293 } else if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 297 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType)) { 379 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyApiSupport.java | 126 + "='" + StructuredName.CONTENT_ITEM_TYPE + "')" 129 + "='" + Organization.CONTENT_ITEM_TYPE + "' AND organization.is_primary)" 132 + "='" + Email.CONTENT_ITEM_TYPE + "' AND email.is_primary)" 135 + "='" + Note.CONTENT_ITEM_TYPE + "')" 138 + "='" + Phone.CONTENT_ITEM_TYPE + "' AND phone.is_primary)"; 159 "CAST ((CASE WHEN mimetype='" + Email.CONTENT_ITEM_TYPE + "'" 162 + " (CASE WHEN mimetype='" + Im.CONTENT_ITEM_TYPE +"'" 165 + " (CASE WHEN mimetype='" + StructuredPostal.CONTENT_ITEM_TYPE + "'" 180 "(CASE WHEN " + Data.MIMETYPE + "='" + Im.CONTENT_ITEM_TYPE + "'" 223 Organization.CONTENT_ITEM_TYPE [all...] |
DataRowHandlerForIdentity.java | 32 super(context, dbHelper, aggregator, Identity.CONTENT_ITEM_TYPE);
|
DataRowHandlerForIm.java | 32 super(context, dbHelper, aggregator, Im.CONTENT_ITEM_TYPE, Im.TYPE, Im.LABEL);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsSelectInstrumentation.java | 61 Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_ITEM_TYPE), null, true);
|
/packages/apps/Browser/src/com/android/browser/ |
AutofillHandler.java | 145 ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE); 151 ContactsContract.CommonDataKinds.Email.CONTENT_ITEM_TYPE); 154 ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE); 157 ContactsContract.CommonDataKinds.Organization.CONTENT_ITEM_TYPE);
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
ImDataItem.java | 44 im.setMimeType(Im.CONTENT_ITEM_TYPE);
|
StructuredNameDataItem.java | 32 getContentValues().put(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
AllIntentsActivity.java | 236 intent.setType(Contacts.CONTENT_ITEM_TYPE); 242 intent.setType(People.CONTENT_ITEM_TYPE); 248 intent.setType(Phone.CONTENT_ITEM_TYPE); 254 intent.setType(Phones.CONTENT_ITEM_TYPE); 260 intent.setType(StructuredPostal.CONTENT_ITEM_TYPE); 272 intent.setType(Contacts.CONTENT_ITEM_TYPE); 279 intent.setType(Contacts.CONTENT_ITEM_TYPE); 286 intent.setType(Contacts.CONTENT_ITEM_TYPE); 656 row1.put(Data.MIMETYPE, Organization.CONTENT_ITEM_TYPE); 660 row2.put(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
ContactsSyncAdapter.java | 85 GroupMembership.CONTENT_ITEM_TYPE + "' AND " + GroupMembership.GROUP_ROW_ID + "=?"; 300 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/eas_children"; 311 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/eas_personal"; 326 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/eas_business"; 666 ops.addUntyped(entity, emails, Email.CONTENT_ITEM_TYPE, -1, MAX_EMAIL_ROWS); 667 ops.addUntyped(entity, ims, Im.CONTENT_ITEM_TYPE, -1, MAX_IM_ROWS); 668 ops.addUntyped(entity, homePhones, Phone.CONTENT_ITEM_TYPE, Phone.TYPE_HOME, 670 ops.addUntyped(entity, workPhones, Phone.CONTENT_ITEM_TYPE, Phone.TYPE_WORK, [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ConfirmAddDetailActivity.java | 134 private String mMimetype = Phone.CONTENT_ITEM_TYPE; 192 Nickname.CONTENT_ITEM_TYPE, Email.CONTENT_ITEM_TYPE, Im.CONTENT_ITEM_TYPE, 193 StructuredPostal.CONTENT_ITEM_TYPE, Phone.CONTENT_ITEM_TYPE }; 244 mMimetype = Phone.CONTENT_ITEM_TYPE; 246 mMimetype = Email.CONTENT_ITEM_TYPE; 385 if (Contacts.CONTENT_ITEM_TYPE.equals(mimeType)) { 390 } else if (RawContacts.CONTENT_ITEM_TYPE.equals(mimeType)) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_PhotoTest.java | 68 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE) 89 TestData photoData = rawContact.newDataRow(Photo.CONTENT_ITEM_TYPE)
|
/packages/apps/Contacts/src/com/android/contacts/ |
SplitAggregateView.java | 172 if (StructuredName.CONTENT_ITEM_TYPE.equals(mimetype)) { 174 } else if (Phone.CONTENT_ITEM_TYPE.equals(mimetype)) { 176 } else if (Email.CONTENT_ITEM_TYPE.equals(mimetype)) { 178 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimetype)) {
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DataUtil.java | 46 values.put(ContactsContract.Data.MIMETYPE, ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactDeltaTests.java | 76 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 108 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 182 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 222 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 347 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 161 mContactHeaderWidget.setExcludeMimes(new String[] { Contacts.CONTENT_ITEM_TYPE }); 378 if (Phone.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 400 } else if (Email.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 410 final String imMime = Im.CONTENT_ITEM_TYPE; 419 } else if (StructuredPostal.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 424 } else if (Im.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 437 } else if (Organization.CONTENT_ITEM_TYPE.equals(mimeType) && 457 } else if (Nickname.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 469 } else if (Note.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) { 474 } else if (Website.CONTENT_ITEM_TYPE.equals(mimeType) && hasData) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
BaseAccountType.java | 150 DataKind kind = addKind(new DataKind(StructuredName.CONTENT_ITEM_TYPE, 241 DataKind kind = addKind(new DataKind(Nickname.CONTENT_ITEM_TYPE, 257 DataKind kind = addKind(new DataKind(Phone.CONTENT_ITEM_TYPE, R.string.phoneLabelsGroup, 296 DataKind kind = addKind(new DataKind(Email.CONTENT_ITEM_TYPE, R.string.emailLabelsGroup, 316 DataKind kind = addKind(new DataKind(StructuredPostal.CONTENT_ITEM_TYPE, 339 DataKind kind = addKind(new DataKind(Im.CONTENT_ITEM_TYPE, R.string.imLabelsGroup, 20, 370 DataKind kind = addKind(new DataKind(Organization.CONTENT_ITEM_TYPE, 386 DataKind kind = addKind(new DataKind(Photo.CONTENT_ITEM_TYPE, -1, -1, true)); 394 DataKind kind = addKind(new DataKind(Note.CONTENT_ITEM_TYPE, R.string.label_notes, 110, 408 DataKind kind = addKind(new DataKind(Website.CONTENT_ITEM_TYPE, [all...] |