Lines Matching defs:groupId
100 public static final String EXTRA_GROUP_ID = "groupId";
612 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel,
616 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
628 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
631 if (groupId == -1) {
638 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
649 public static Intent createGroupDeletionIntent(Context context, long groupId) {
652 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
657 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
658 if (groupId == -1) {
664 ContentUris.withAppendedId(Groups.CONTENT_URI, groupId), null, null);
672 * @param groupId of the group that should be modified
682 public static Intent createGroupUpdateIntent(Context context, long groupId, String newLabel,
687 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
702 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
707 if (groupId == -1) {
713 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
723 groupId);
724 removeMembersFromGroup(resolver, rawContactsToRemove, groupId);
732 long groupId) {
747 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});
756 insertBuilder.withValue(GroupMembership.GROUP_ROW_ID, groupId);
778 String.valueOf(groupId), e);
784 long groupId) {
795 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)});