• Home
  • Raw
  • Download

Lines Matching refs:contactIds

1185             long[] contactIds, final String[] names) {  in createDeleteMultipleContactsIntent()  argument
1188 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createDeleteMultipleContactsIntent()
1204 final long[] contactIds = intent.getLongArrayExtra(EXTRA_CONTACT_IDS); in deleteMultipleContacts() local
1205 if (contactIds == null) { in deleteMultipleContacts()
1209 for (long contactId : contactIds) { in deleteMultipleContacts()
1216 if (contactIds.length != names.length || names.length == 0) { in deleteMultipleContacts()
1218 R.plurals.contacts_deleted_toast, contactIds.length); in deleteMultipleContacts()
1362 public static Intent createJoinSeveralContactsIntent(Context context, long[] contactIds, in createJoinSeveralContactsIntent() argument
1366 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createJoinSeveralContactsIntent()
1375 public static Intent createJoinSeveralContactsIntent(Context context, long[] contactIds) { in createJoinSeveralContactsIntent() argument
1376 return createJoinSeveralContactsIntent(context, contactIds, /* receiver = */ null); in createJoinSeveralContactsIntent()
1408 final long[] contactIds = intent.getLongArrayExtra(EXTRA_CONTACT_IDS); in joinSeveralContacts() local
1413 final long rawContactIds[] = getRawContactIdsForAggregation(contactIds); in joinSeveralContacts()
1414 final long[][] separatedRawContactIds = getSeparatedRawContactIds(contactIds); in joinSeveralContacts()
1453 final String name = queryNameOfLinkedContacts(contactIds); in joinSeveralContacts()
1478 private String queryNameOfLinkedContacts(long[] contactIds) { in queryNameOfLinkedContacts() argument
1480 final String[] whereArgs = new String[contactIds.length]; in queryNameOfLinkedContacts()
1481 for (int i = 0; i < contactIds.length; i++) { in queryNameOfLinkedContacts()
1482 whereArgs[i] = String.valueOf(contactIds[i]); in queryNameOfLinkedContacts()
1619 private long[][] getSeparatedRawContactIds(long[] contactIds) { in getSeparatedRawContactIds() argument
1620 final long[][] rawContactIds = new long[contactIds.length][]; in getSeparatedRawContactIds()
1621 for (int i = 0; i < contactIds.length; i++) { in getSeparatedRawContactIds()
1622 rawContactIds[i] = getRawContactIds(contactIds[i]); in getSeparatedRawContactIds()
1662 private long[] getRawContactIdsForAggregation(long[] contactIds) { in getRawContactIdsForAggregation() argument
1663 if (contactIds == null) { in getRawContactIdsForAggregation()
1670 final String stringContactIds[] = new String[contactIds.length]; in getRawContactIdsForAggregation()
1671 for (int i = 0; i < contactIds.length; i++) { in getRawContactIdsForAggregation()
1673 stringContactIds[i] = String.valueOf(contactIds[i]); in getRawContactIdsForAggregation()
1674 if (contactIds[i] == -1) { in getRawContactIdsForAggregation()
1677 if (i == contactIds.length -1) { in getRawContactIdsForAggregation()