Lines Matching defs:person

242          * The person's name.
250 * Phonetic equivalent of the person's name, in a locale-dependent
279 * Notes about the person.
287 * The number of times a person has been contacted
295 * The last time a person was contacted.
303 * A custom ringtone associated with a person. Not always present.
311 * Whether the person should always be sent to voicemail. Not always
397 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/person";
401 * person.
405 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/person";
441 * Mark a person as having been contacted.
444 * @param personId the person who was contacted
479 * Adds a person to the My Contacts group.
482 * @param personId the person to add to the group
498 * Adds a person to a group referred to by name.
501 * @param personId the person to add to the group
530 * Adds a person to a group.
533 * @param personId the person to add to the group
534 * @param groupId the group to add the person to
579 public static Cursor queryGroups(ContentResolver resolver, long person) {
580 return resolver.query(GroupMembership.CONTENT_URI, null, "person=?",
581 new String[]{String.valueOf(person)}, Groups.DEFAULT_SORT_ORDER);
585 * Set the photo for this person. data may be null
587 * @param person the Uri of the person whose photo is to be updated
592 public static void setPhotoData(ContentResolver cr, Uri person, byte[] data) {
593 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY);
600 * Opens an InputStream for the person's photo and returns the photo as a Bitmap.
601 * If the person's photo isn't present returns the placeholderImageResource instead.
602 * @param person the person whose photo should be used
606 public static InputStream openContactPhotoInputStream(ContentResolver cr, Uri person) {
607 Uri photoUri = Uri.withAppendedPath(person, Contacts.Photos.CONTENT_DIRECTORY);
624 * Opens an InputStream for the person's photo and returns the photo as a Bitmap.
625 * If the person's photo isn't present returns the placeholderImageResource instead.
627 * @param person the person whose photo should be used
628 * @param placeholderImageResource the image resource to use if the person doesn't
634 public static Bitmap loadContactPhoto(Context context, Uri person,
636 if (person == null) {
640 InputStream stream = openContactPhotoInputStream(context.getContentResolver(), person);
658 * A sub directory of a single person that contains all of their Phones.
685 * A subdirectory of a single person that contains all of their
713 * The extensions for a person
739 * The ID of the person this phone number is assigned to.
744 public static final String PERSON_ID = "person";
943 * This table stores phone numbers and a reference to the person that the
1030 * The ID of the person this phone number is assigned to.
1035 public static final String PERSON_ID = "person";
1073 * person groups.
1081 * person group.
1128 * The row id of the person.
1133 public static final String PERSON_ID = "person";
1230 * person that the contact method belongs to.
1540 * The ID of the person this contact method is assigned to.
1545 public static final String PERSON_ID = "person";
1627 * The ID of the person this presence item is assigned to.
1632 public static final String PERSON_ID = "person";
1731 * The person this organization is tied to.
1736 public static final String PERSON_ID = "person";
1748 * A sub directory of a single person that contains all of their Phones.
1820 * The person this photo is associated with.
1825 public static final String PERSON_ID = "person";
1893 public static final String DEFAULT_SORT_ORDER = "person ASC";
1919 * The extensions for a person
1958 public static final String DEFAULT_SORT_ORDER = "person, name ASC";
1961 * The ID of the person this phone number is assigned to.
1966 public static final String PERSON_ID = "person";