Home | History | Annotate | Download | only in provider

Lines Matching defs:Contacts

47  * The contract between the contacts provider and applications. Contains
49 * {@link Contacts}.
69 * A row in the {@link Contacts} table represents an aggregate of one or more
71 * the RawContacts table is changed, the affected aggregate contacts are updated as
90 * disaggregation of raw contacts
106 /** The authority for the contacts provider */
107 public static final String AUTHORITY = "com.android.contacts";
108 /** A content:// style uri to the authority for the contacts provider */
139 * that stores the preferred sorting order for contacts (by given name vs. by family name).
143 public static final String SORT_ORDER = "android.contacts.SORT_ORDER";
161 * that stores the preferred display order for contacts (given name first vs. family
166 public static final String DISPLAY_ORDER = "android.contacts.DISPLAY_ORDER";
307 * Columns of {@link ContactsContract.Contacts} that track the user's
310 * @see Contacts
314 * @see ContactsContract.Contacts.AggregationSuggestions
351 * Columns of {@link ContactsContract.Contacts} that refer to intrinsic
355 * @see Contacts
358 * @see ContactsContract.Contacts.AggregationSuggestions
401 * @see Contacts
521 * @see Contacts
544 * A contacts provider is free to choose whatever representation makes most
564 * A contacts provider is free to provide alternatives as necessary for
566 * For example the default Android Open Source Project contacts provider
658 * Constants for the contacts table, which contains a record per aggregate
659 * of raw contacts representing the same person.
675 * contacts.</dd>
677 * <dd>Be careful with deleting Contacts! Deleting an aggregate contact
678 * deletes all constituent raw contacts. The corresponding sync adapters
679 * will notice the deletions of their respective raw contacts and remove
700 * <th colspan='4'>Contacts</th>
721 * raw contacts is chosen using a heuristic: a longer name or a name
763 * {@link #markAsContacted}. When raw contacts are aggregated, this field is
765 * constituent raw contacts. Setting this field automatically changes the
766 * corresponding field on all constituent raw contacts.</td>
774 * increments {@link #TIMES_CONTACTED}. When raw contacts are aggregated,
776 * constituent raw contacts. Setting this field automatically changes the
777 * corresponding field on all constituent raw contacts.</td>
783 * <td>An indicator for favorite contacts: '1' if favorite, '0' otherwise.
784 * When raw contacts are aggregated, this field is automatically computed:
785 * if any constituent raw contacts are starred, then this field is set to
787 * all constituent raw contacts.</td>
802 * directly to voice mail ('1') or not ('0'). When raw contacts are
804 * constituent raw contacts have SEND_TO_VOICEMAIL=1, then this field is set
806 * on all constituent raw contacts.</td>
814 * constituent raw contacts. The provider may choose not to store this value
823 * of all constituent raw contacts' status updates.</td>
855 public static class Contacts implements BaseColumns, ContactsColumns,
860 private Contacts() {}
865 public static final Uri CONTENT_URI = Uri.withAppendedPath(AUTHORITY_URI, "contacts");
869 * shortcuts or otherwise create long-term links to contacts
878 * contacts).
887 * Base {@link Uri} for referencing a single {@link Contacts} entry,
898 * Base {@link Uri} for referencing multiple {@link Contacts} entry,
918 * requested {@link Contacts} entry.
925 Contacts.LOOKUP_KEY, Contacts._ID
945 * given {@link ContactsContract.Contacts#_ID} and {@link #LOOKUP_KEY}.
948 return ContentUris.withAppendedId(Uri.withAppendedPath(Contacts.CONTENT_LOOKUP_URI,
962 Cursor c = resolver.query(lookupUri, new String[]{Contacts._ID}, null, null, null);
970 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
982 * contacts.
1006 * {@link ContactsContract.Data}, filtered to include only starred contacts
1007 * and the most frequently contacted contacts.
1061 * contains all aggregation suggestions (other contacts). The
1073 * Uri uri = Contacts.CONTENT_URI.buildUpon()
1075 * .appendPath(Contacts.AggregationSuggestions.CONTENT_DIRECTORY)
1079 * new String[] {Contacts.DISPLAY_NAME, Contacts._ID, Contacts.LOOKUP_KEY},
1095 * {@link android.provider.ContactsContract.Contacts#CONTENT_FILTER_URI}.
1108 * Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
1109 * Uri photoUri = Uri.withAppendedPath(contactUri, Contacts.Photo.CONTENT_DIRECTORY);
1111 * new String[] {Contacts.Photo.PHOTO}, null, null, null);
1131 * {@link ContactsContract.Contacts#openContactPhotoInputStream(ContentResolver, Uri)}
1157 * Opens an InputStream for the contacts's default photo and returns the
1189 * A reference to the {@link ContactsContract.Contacts#_ID} that this
1230 * name is chosen randomly from the constituent raw contacts.
1234 * all other raw contacts in the same aggregated contact.
1251 * Constants for the raw contacts table, which contains one row of contact
1260 * existing raw contacts and if so will aggregate it with those. The
1278 * Raw contacts can be inserted incrementally or in a batch.
1332 * Raw contacts can be updated incrementally or in a batch.
1339 * contacts associated with a {@link Contacts} row are deleted, the {@link Contacts} row
1344 * a raw contacts row.
1351 * changes to the phone, but not the reverse. If one of those raw contacts
1359 * It is easy to find all raw contacts in a Contact:
1368 * To find raw contacts within a specific account,
1428 * <td>The ID of the row in the {@link ContactsContract.Contacts} table
1430 * to. Raw contacts are linked to contacts by the aggregation process, which can be controlled
1461 * {@link ContactsContract.Contacts#markAsContacted}.</td>
1471 * {@link ContactsContract.Contacts#markAsContacted}.
1478 * <td>An indicator for favorite contacts: '1' if favorite, '0' otherwise.
1480 * if any raw contacts in that aggregate contact are starred, then the contact
1492 * ringtone on a contact, use the field {@link ContactsContract.Contacts#CUSTOM_RINGTONE
1493 * Contacts.CUSTOM_RINGTONE}
1617 * ID value is not provided, and multiple raw contacts may be returned.
1645 * {@link Contacts} aggregate.
1664 * have a corresponding {@link Contacts} aggregate and therefore will not be included in
1665 * {@link Contacts} query results.
1677 * Build a {@link android.provider.ContactsContract.Contacts#CONTENT_LOOKUP_URI}
1678 * style {@link Uri} for the parent {@link android.provider.ContactsContract.Contacts}
1682 // TODO: use a lighter query by joining rawcontacts with contacts in provider
1685 RawContacts.CONTACT_ID, Contacts.LOOKUP_KEY
1693 return Contacts.getLookupUri(contactId, lookupKey);
2134 * used in the corresponding raw contacts. Otherwise it could result in lost or
2467 * <td>The id of the row in the {@link Contacts} table that this data belongs
2486 * {@link ContactsContract.Contacts} is available
2496 * <th colspan='4'>Join with {@link ContactsContract.Contacts}</th>
2502 * <td>See {@link ContactsContract.Contacts}</td>
2508 * <td>See {@link ContactsContract.Contacts}</td>
2514 * <td>See {@link ContactsContract.Contacts}.</td>
2520 * <td>See {@link ContactsContract.Contacts}.</td>
2526 * <td>See {@link ContactsContract.Contacts}.</td>
2532 * <td>See {@link ContactsContract.Contacts}.</td>
2538 * <td>See {@link ContactsContract.Contacts}.</td>
2544 * <td>See {@link ContactsContract.Contacts}.</td>
2550 * <td>See {@link ContactsContract.Contacts}.</td>
2556 * <td>See {@link ContactsContract.Contacts}.</td>
2562 * <td>See {@link ContactsContract.Contacts}.</td>
2568 * <td>See {@link ContactsContract.Contacts}.</td>
2574 * <td>See {@link ContactsContract.Contacts}.</td>
2580 * <td>See {@link ContactsContract.Contacts}.</td>
2586 * <td>See {@link ContactsContract.Contacts}.</td>
2592 * <td>See {@link ContactsContract.Contacts}.</td>
2619 * This flag is useful (currently) only for vCard exporter in Contacts app, which
2621 * Contacts app itself has priviledge to access all data including "un-exportable"
2636 * Build a {@link android.provider.ContactsContract.Contacts#CONTENT_LOOKUP_URI}
2637 * style {@link Uri} for the parent {@link android.provider.ContactsContract.Contacts}
2649 RawContacts.CONTACT_ID, Contacts.LOOKUP_KEY
2657 return Contacts.getLookupUri(contactId, lookupKey);
2668 * Constants for the raw contacts entities table, which can be thought of as
2825 * This flag is useful (currently) only for vCard exporter in Contacts app, which
2827 * Contacts app itself has priviledge to access all data including "un-expotable"
2909 * Columns from the Contacts table are also available through a join.
2913 * <th colspan='4'>Join with {@link Contacts}</th>
2919 * <td>See {@link ContactsContract.Contacts}</td>
2925 * <td>See {@link ContactsContract.Contacts}</td>
2931 * <td>See {@link ContactsContract.Contacts}.</td>
2937 * <td>See {@link ContactsContract.Contacts}.</td>
2943 * <td>See {@link ContactsContract.Contacts}.</td>
2949 * <td>See {@link ContactsContract.Contacts}.</td>
2955 * <td>See {@link ContactsContract.Contacts}.</td>
2961 * <td>See {@link ContactsContract.Contacts}.</td>
2967 * <td>See {@link ContactsContract.Contacts}.</td>
2973 * <td>See {@link ContactsContract.Contacts}.</td>
3066 * for multiple contacts at once.
3235 * Additional columns returned by the {@link Contacts#CONTENT_FILTER_URI} providing the
4985 * The total number of {@link Contacts} that have
4994 * The total number of {@link Contacts} that have both
5004 * Flag indicating if the contacts belonging to this group should be
5070 * <td>The total number of {@link Contacts} that have
5078 * <td>The total number of {@link Contacts} that have both
5087 * <td>Flag indicating if the contacts belonging to this group should be
5243 * Allows the provider to automatically decide whether the specified raw contacts should
5249 * Makes sure that the specified raw contacts are included in the same
5255 * Makes sure that the specified raw contacts are NOT included in the same
5298 * Flag indicating if contacts without any {@link CommonDataKinds.GroupMembership}
5313 * Read-only count of {@link Contacts} from a specific source that have
5321 * Read-only count of {@link Contacts} from a specific source that have
5331 * Contacts-specific settings for various {@link Account}'s.
5362 * <td>Flag indicating if contacts without any
5378 * <td>Read-only count of {@link Contacts} from a specific source that have
5385 * <td>Read-only count of {@link Contacts} from a specific source that have
5461 * The status used when the provider is in the process of upgrading. Contacts
5495 * a specific {@link Contacts} entry.
5503 "com.android.contacts.action.QUICK_CONTACT";
5533 * the {@link Contacts} entry being shown. This may include social
5540 * of the {@link Contacts} entry being shown. This may include detailed
5546 * Extra used to specify the last selected tab index of the Contacts app.
5555 * the requested {@link Contacts} entry. This may be based on available
5565 * @param lookupUri A {@link ContactsContract.Contacts#CONTENT_LOOKUP_URI} style
5583 * Creates the Intent to launch Quick Contacts
5606 * the requested {@link Contacts} entry. This may be based on available
5619 * {@link ContactsContract.Contacts#CONTENT_LOOKUP_URI} style
5637 * Creates the Intent to launch Quick Contacts
5657 * that involve contacts.
5664 "android.provider.Contacts.SEARCH_SUGGESTION_CLICKED";
5671 "android.provider.Contacts.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED";
5678 "android.provider.Contacts.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED";
5685 "com.android.contacts.action.ATTACH_IMAGE";
5691 * contact with the provided details filled in. If multiple contacts
5705 * create activity if there are no contacts to show.
5711 "com.android.contacts.action.SHOW_OR_CREATE_CONTACT";
5721 "com.android.contacts.action.FORCE_CREATE";
5731 "com.android.contacts.action.CREATE_DESCRIPTION";
5788 * Intents related to the Contacts app UI.
5794 * The action for the default contacts list tab.
5797 "com.android.contacts.action.LIST_DEFAULT";
5800 * The action for the contacts list tab.
5803 "com.android.contacts.action.LIST_GROUP";
5808 public static final String GROUP_NAME_EXTRA_KEY = "com.android.contacts.extra.GROUP";
5811 * The action for the all contacts list tab.
5814 "com.android.contacts.action.LIST_ALL_CONTACTS";
5817 * The action for the contacts with phone numbers list tab.
5820 "com.android.contacts.action.LIST_CONTACTS_WITH_PHONES";
5823 * The action for the starred contacts list tab.
5826 "com.android.contacts.action.LIST_STARRED";
5829 * The action for the frequent contacts list tab.
5832 "com.android.contacts.action.LIST_FREQUENT";
5835 * The action for the "strequent" contacts list tab. It first lists the starred
5836 * contacts in alphabetical order and then the frequent contacts in descending
5840 "com.android.contacts.action.LIST_STREQUENT";
5847 "com.android.contacts.extra.TITLE_EXTRA";
5850 * Activity Action: Display a filtered list of contacts
5858 "com.android.contacts.action.FILTER_CONTACTS";
5865 "com.android.contacts.extra.FILTER_TEXT";