Home
last modified time | relevance | path

Searched refs:contactIds (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java87 Activity activity, TreeSet<Long> contactIds) { in start() argument
88 if (contactIds == null) { in start()
97 fragment.setContactIds(contactIds); in start()
101 fragment.setContactIds(contactIds); in start()
122 public void setContactIds(TreeSet<Long> contactIds) { in setContactIds() argument
123 mContactIds = contactIds; in setContactIds()
158 final TreeSet<Long> contactIds = (TreeSet<Long>) args.getSerializable(ARG_CONTACT_IDS); in onCreateLoader() local
159 final Object[] parameterObject = contactIds.toArray(); in onCreateLoader()
160 final String[] parameters = new String[contactIds.size()]; in onCreateLoader()
163 for (int i = 0; i < contactIds.size(); i++) { in onCreateLoader()
[all …]
DJoinContactsDialogFragment.java46 public static void start(Activity activity, TreeSet<Long> contactIds) { in start() argument
49 = JoinContactsDialogFragment.newInstance(contactIds); in start()
53 private static JoinContactsDialogFragment newInstance(TreeSet<Long> contactIds) { in newInstance() argument
56 arguments.putSerializable(KEY_CONTACT_IDS, contactIds); in newInstance()
63 final TreeSet<Long> contactIds = in onCreateDialog() local
65 if (contactIds.size() <= 1) { in onCreateDialog()
80 joinContacts(contactIds); in onCreateDialog()
87 private void joinContacts(TreeSet<Long> contactIds) {
88 final Long[] contactIdsArray = contactIds.toArray(new Long[contactIds.size()]);
90 for (int i = 0; i < contactIds.size(); i++) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
DContactMatcher.java285 ArrayList<Long> contactIds = null; in prepareSecondaryMatchCandidates() local
295 if (contactIds == null) { in prepareSecondaryMatchCandidates()
296 contactIds = new ArrayList<Long>(); in prepareSecondaryMatchCandidates()
298 contactIds.add(score.getContactId()); in prepareSecondaryMatchCandidates()
302 return contactIds; in prepareSecondaryMatchCandidates()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1077 long[] contactIds) { in createDeleteMultipleContactsIntent() argument
1080 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createDeleteMultipleContactsIntent()
1095 final long[] contactIds = intent.getLongArrayExtra(EXTRA_CONTACT_IDS); in deleteMultipleContacts() local
1096 if (contactIds == null) { in deleteMultipleContacts()
1100 for (long contactId : contactIds) { in deleteMultipleContacts()
1105 .contacts_deleted_toast, contactIds.length); in deleteMultipleContacts()
1138 public static Intent createJoinSeveralContactsIntent(Context context, long[] contactIds) { in createJoinSeveralContactsIntent() argument
1141 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds); in createJoinSeveralContactsIntent()
1175 final long[] contactIds = intent.getLongArrayExtra(EXTRA_CONTACT_IDS); in joinSeveralContacts() local
1178 long rawContactIds[] = getRawContactIdsForAggregation(contactIds); in joinSeveralContacts()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java289 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument
291 Log.v(TAG, "Updating search index for " + contactIds.size() + in updateIndexForRawContacts()
296 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
299 sb.append(TextUtils.join(",", contactIds)); in updateIndexForRawContacts()
303 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java459 final long[] contactIds; in aggregateInTransaction() local
466 contactIds = new long[actualCount]; in aggregateInTransaction()
472 contactIds[index] = c.getLong(AggregationQuery.CONTACT_ID); in aggregateInTransaction()
485 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
1956 Set<Long> contactIds = new HashSet<>(); in queryAggregationSuggestions() local
1959 if (!contactIds.contains(cid) && cid != contactId) { in queryAggregationSuggestions()
1961 contactIds.add(cid); in queryAggregationSuggestions()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java1756 ArrayList<Long> contactIds = new ArrayList<Long>(); in findContacts() local
1758 return contactIds; in findContacts()
1762 contactIds.add(c.getLong(0)); in findContacts()
1767 return contactIds; in findContacts()
1775 final List<Long> contactIds = findContacts(context, Arrays.asList( in getContactInfo() local
1778 if (contactIds != null) { in getContactInfo()
1779 for (final long id : contactIds) { in getContactInfo()