Home
last modified time | relevance | path

Searched refs:rawContacts (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java120 result.rawContacts.add(rawContact); in loadInBackground()
206 public ArrayList<RawContact> rawContacts = new ArrayList<>(); field in PickRawContactLoader.RawContactsMetadata
214 in.readTypedList(rawContacts, RawContact.CREATOR); in RawContactsMetadata()
221 for (int i = rawContacts.size() - 1; i >= 0 ; i--) { in trimReadOnly()
222 final RawContact rawContact = rawContacts.get(i); in trimReadOnly()
226 rawContacts.remove(i); in trimReadOnly()
235 for (int i = 0; i < rawContacts.size(); i++) { in getIndexOfFirstWritableAccount()
236 final RawContact rawContact = rawContacts.get(i); in getIndexOfFirstWritableAccount()
257 dest.writeTypedList(rawContacts); in writeToParcel()
DPickRawContactDialogFragment.java70 return mRawContactsMetadata.rawContacts.size(); in getCount()
75 return mRawContactsMetadata.rawContacts.get(position); in getItem()
80 return mRawContactsMetadata.rawContacts.get(position).id; in getItemId()
99 final RawContact rawContact = mRawContactsMetadata.rawContacts.get(position); in getView()
DContactEditorFragment.java1195 ImmutableList<RawContact> rawContacts) { in setStateForExistingContact() argument
1198 mState.addAll(rawContacts.iterator()); in setStateForExistingContact()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java139 if (mShowReadOnly || (mResult.rawContacts.size() > 1 && mHasWritableAccount)) { in onLoad()
195 intent = getIntentForRawContact(mResult.rawContacts.get(mWritableAccountPosition).id); in loadEditor()
286 final long[][] result = new long[mResult.rawContacts.size()][1]; in getRawContactIds()
287 for (int i = 0; i < mResult.rawContacts.size(); i++) { in getRawContactIds()
288 result[i][0] = mResult.rawContacts.get(i).id; in getRawContactIds()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java301 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) { in setRawContacts() argument
302 mRawContacts = rawContacts; in setRawContacts()
DContactLoader.java662 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts(); in computeFormattedPhoneNumbers() local
663 final int rawContactCount = rawContacts.size(); in computeFormattedPhoneNumbers()
665 final RawContact rawContact = rawContacts.get(rawContactIndex); in computeFormattedPhoneNumbers()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator2.java427 final String rawContacts = TextUtils.join(",", component); in breakComponentsByExceptions() local
432 if (isFirstColumnGreaterThanZero(db, buildExceptionMatchingSql(rawContacts, rawContacts, in breakComponentsByExceptions()
435 findIdPairs(db, buildExceptionMatchingSql(rawContacts, rawContacts), joinPairs); in breakComponentsByExceptions()
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java485 /* package */ void setRawContacts(ImmutableList<RawContact> rawContacts) { in setRawContacts() argument
486 mRawContacts = rawContacts; in setRawContacts()
DContactLoader.java824 final ImmutableList<RawContact> rawContacts = contactData.getRawContacts(); in computeFormattedPhoneNumbers() local
825 final int rawContactCount = rawContacts.size(); in computeFormattedPhoneNumbers()
827 final RawContact rawContact = rawContacts.get(rawContactIndex); in computeFormattedPhoneNumbers()