Home
last modified time | relevance | path

Searched refs:contactIds (Results 1 – 11 of 11) 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/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.java186 final Long[] contactIds = set.toArray(new Long[set.size()]); in convertLongSetToLongArray() local
187 final long[] result = new long[contactIds.length]; in convertLongSetToLongArray()
188 for (int i = 0; i < contactIds.length; i++) { in convertLongSetToLongArray()
189 result[i] = contactIds[i]; in convertLongSetToLongArray()
195 final String[] contactIds = set.toArray(new String[set.size()]); in convertStringSetToLongArray() local
196 final long[] result = new long[contactIds.length]; in convertStringSetToLongArray()
197 for (int i = 0; i < contactIds.length; i++) { in convertStringSetToLongArray()
199 result[i] = Long.parseLong(contactIds[i]); in convertStringSetToLongArray()
DGroupMembersFragment.java504 final long[] contactIds = getAdapter().getSelectedContactIdsArray(); in removeSelectedContacts() local
506 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in removeSelectedContacts()
519 long[] contactIds = data.getLongArrayExtra( in onActivityResult() local
521 if (contactIds == null) { in onActivityResult()
525 contactIds = new long[1]; in onActivityResult()
526 contactIds[0] = contactId; in onActivityResult()
531 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName, in onActivityResult()
822 final long[] contactIds = new long[1]; in onContactDeleteClicked() local
823 contactIds[0] = contactId; in onContactDeleteClicked()
825 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/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/activities/
DContactSelectionActivity.java364 final ArrayList<String> contactIds = getIntent().getStringArrayListExtra( in configureListFragment() local
367 accountName, accountType, accountDataSet, contactIds); in configureListFragment()
490 final long[] contactIds = in updateAddContactsButton()
492 returnSelectedContacts(contactIds); in updateAddContactsButton()
589 private void returnSelectedContacts(long[] contactIds) { in returnSelectedContacts() argument
591 intent.putExtra(UiIntentActions.TARGET_CONTACT_IDS_EXTRA_KEY, contactIds); in returnSelectedContacts()
/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.java460 final long[] contactIds; in aggregateInTransaction() local
467 contactIds = new long[actualCount]; in aggregateInTransaction()
473 contactIds[index] = c.getLong(AggregationQuery.CONTACT_ID); in aggregateInTransaction()
486 aggregateContact(txContext, db, rawContactIds[i], accountIds[i], contactIds[i], in aggregateInTransaction()
1961 Set<Long> contactIds = new HashSet<>(); in queryAggregationSuggestions() local
1964 if (!contactIds.contains(cid) && cid != contactId) { in queryAggregationSuggestions()
1966 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()
/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()