Home | History | Annotate | Download | only in contacts

Lines Matching defs:groupId

99     public static final String EXTRA_GROUP_ID = "groupId";
605 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel,
609 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
621 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
624 if (groupId == -1) {
631 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
642 public static Intent createGroupDeletionIntent(Context context, long groupId) {
645 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
650 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
651 if (groupId == -1) {
657 ContentUris.withAppendedId(Groups.CONTENT_URI, groupId), null, null);
665 * @param groupId of the group that should be modified
675 public static Intent createGroupUpdateIntent(Context context, long groupId, String newLabel,
680 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
695 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
700 if (groupId == -1) {
706 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
716 addMembersToGroup(resolver, rawContactsToAdd, groupId);
717 removeMembersFromGroup(resolver, rawContactsToRemove, groupId);
725 long groupId) {
740 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});
749 insertBuilder.withValue(GroupMembership.GROUP_ROW_ID, groupId);
771 String.valueOf(groupId), e);
777 long groupId) {
788 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});