Lines Matching refs:groupId
88 public static final String EXTRA_GROUP_ID = "groupId";
499 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel,
503 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
515 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
518 if (groupId == -1) {
525 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
536 public static Intent createGroupDeletionIntent(Context context, long groupId) {
539 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
544 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
545 if (groupId == -1) {
551 ContentUris.withAppendedId(Groups.CONTENT_URI, groupId), null, null);
559 * @param groupId of the group that should be modified
569 public static Intent createGroupUpdateIntent(Context context, long groupId, String newLabel,
574 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
589 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
594 if (groupId == -1) {
600 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
610 addMembersToGroup(resolver, rawContactsToAdd, groupId);
611 removeMembersFromGroup(resolver, rawContactsToRemove, groupId);
619 long groupId) {
634 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});
643 insertBuilder.withValue(GroupMembership.GROUP_ROW_ID, groupId);
666 String.valueOf(groupId), e);
672 long groupId) {
683 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});