Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java95 Fragment hostFragment, TreeSet<Long> contactIds) { in start() argument
96 if (contactIds == null) { in start()
105 fragment.setContactIds(contactIds); in start()
109 fragment.setContactIds(contactIds); in start()
130 public void setContactIds(TreeSet<Long> contactIds) { in setContactIds() argument
131 mContactIds = contactIds; in setContactIds()
166 final TreeSet<Long> contactIds = (TreeSet<Long>) args.getSerializable(ARG_CONTACT_IDS); in onCreateLoader() local
167 final Object[] parameterObject = contactIds.toArray(); in onCreateLoader()
168 final String[] parameters = new String[contactIds.size()]; in onCreateLoader()
171 for (int i = 0; i < contactIds.size(); i++) { in onCreateLoader()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java210 contactIds -> contactsUpdated(contactIds, lastModified), in isDirty()
264 Set<Long> contactIds = new ArraySet<>();
266 contactIds.addAll(ids);
268 return contactIds;
277 Set<Long> contactIds = new ArraySet<>();
294 return contactIds;
310 contactIds.add(info.getContactId());
315 return contactIds;
323 Set<Long> contactIds = new ArraySet<>();
325 return contactIds;
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1185 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
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java184 final Long[] contactIds = set.toArray(new Long[set.size()]); in convertLongSetToLongArray() local
185 final long[] result = new long[contactIds.length]; in convertLongSetToLongArray()
186 for (int i = 0; i < contactIds.length; i++) { in convertLongSetToLongArray()
187 result[i] = contactIds[i]; in convertLongSetToLongArray()
193 final String[] contactIds = set.toArray(new String[set.size()]); in convertStringSetToLongArray() local
194 final long[] result = new long[contactIds.length]; in convertStringSetToLongArray()
195 for (int i = 0; i < contactIds.length; i++) { in convertStringSetToLongArray()
197 result[i] = Long.parseLong(contactIds[i]); in convertStringSetToLongArray()
DGroupMembersFragment.java496 final long[] contactIds = getAdapter().getSelectedContactIdsArray(); in removeSelectedContacts() local
498 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in removeSelectedContacts()
511 long[] contactIds = data.getLongArrayExtra( in onActivityResult() local
513 if (contactIds == null) { in onActivityResult()
517 contactIds = new long[1]; in onActivityResult()
518 contactIds[0] = contactId; in onActivityResult()
523 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in onActivityResult()
814 final long[] contactIds = new long[1]; in onContactDeleteClicked() local
815 contactIds[0] = contactId; in onContactDeleteClicked()
817 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in onContactDeleteClicked()
DUpdateGroupMembersAsyncTask.java48 public UpdateGroupMembersAsyncTask(int type, Context context, long[] contactIds, in UpdateGroupMembersAsyncTask() argument
52 mContactIds = contactIds; in UpdateGroupMembersAsyncTask()
/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItemMutator.java414 Set<String> contactIds = new ArraySet<>(); in getSpeedDialUiItemsFromEntries() local
415 entries.forEach(entry -> contactIds.add(Long.toString(entry.contactId()))); in getSpeedDialUiItemsFromEntries()
416 if (contactIds.isEmpty()) { in getSpeedDialUiItemsFromEntries()
423 Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getSpeedDialUiItemsFromEntries()
497 Set<String> contactIds = new ArraySet<>(); in getStarredContacts() local
525 contactIds.add(Long.toString(cursor.getLong(0))); in getStarredContacts()
530 selection = Selection.builder().and(Selection.column(Phone.CONTACT_ID).in(contactIds)).build(); in getStarredContacts()
590 Set<Long> contactIds = new ArraySet<>(); in updatePinnedPosition() local
592 if (contactIds.add(item.contactId())) { in updatePinnedPosition()
/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/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java294 public void updateIndexForRawContacts(Set<Long> contactIds, Set<Long> rawContactIds) { in updateIndexForRawContacts() argument
296 Log.v(TAG, "Updating search index for " + contactIds.size() + in updateIndexForRawContacts()
301 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
304 sb.append(TextUtils.join(",", contactIds)); in updateIndexForRawContacts()
308 if (!contactIds.isEmpty()) { in updateIndexForRawContacts()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java367 final ArrayList<String> contactIds = getIntent().getStringArrayListExtra( in configureListFragment() local
370 accountName, accountType, accountDataSet, contactIds); in configureListFragment()
493 final long[] contactIds = in updateAddContactsButton()
495 returnSelectedContacts(contactIds); in updateAddContactsButton()
592 private void returnSelectedContacts(long[] contactIds) { in returnSelectedContacts() argument
594 intent.putExtra(UiIntentActions.TARGET_CONTACT_IDS_EXTRA_KEY, contactIds); in returnSelectedContacts()
/packages/apps/Contacts/src/com/android/contacts/list/
DGroupMemberPickerFragment.java174 String accountDataSet, ArrayList<String> contactIds) { in newInstance() argument
179 args.putStringArrayList(ARG_CONTACT_IDS, contactIds); in newInstance()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DAbstractContactAggregator.java461 final long[] contactIds; in aggregateInTransaction() local
468 contactIds = new long[actualCount]; in aggregateInTransaction()
474 contactIds[index] = c.getLong(AggregationQuery.CONTACT_ID); in aggregateInTransaction()
487 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
1968 Set<Long> contactIds = new ArraySet<>(); in queryAggregationSuggestions() local
1971 if (!contactIds.contains(cid) && cid != contactId) { in queryAggregationSuggestions()
1973 contactIds.add(cid); in queryAggregationSuggestions()