Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/list/
DPhoneFavoritesTileAdapter.java40 import com.android.contacts.common.list.ContactEntry;
67 private ArrayList<ContactEntry> mContactEntries = null;
77 private final Comparator<ContactEntry> mContactEntryComparator =
78 new Comparator<ContactEntry>() {
80 public int compare(ContactEntry lhs, ContactEntry rhs) {
87 private String getPreferredSortName(ContactEntry contactEntry) {
96 private ContactEntry mDraggedEntry = null;
218 final ContactEntry existing = (ContactEntry) duplicates.get(id); in saveCursorToCache()
237 final ContactEntry contact = new ContactEntry(); in saveCursorToCache()
317 public ContactEntry getItem(int position) { in getItem()
[all …]
DPhoneFavoriteSquareTileView.java26 import com.android.contacts.common.list.ContactEntry;
39 private ContactEntry mContactEntry;
83 public void loadFromContact(ContactEntry entry) { in loadFromContact()
112 protected String getNameForView(ContactEntry contactEntry) { in getNameForView()
116 public ContactEntry getContactEntry() { in getContactEntry()
DPhoneFavoriteTileView.java28 import com.android.contacts.common.list.ContactEntry;
82 public void loadFromContact(ContactEntry entry) { in loadFromContact()
93 if (entry == ContactEntry.BLANK_ENTRY) { in loadFromContact()
/packages/apps/Car/Dialer/src/com/android/car/dialer/
DContactEntry.java29 public class ContactEntry implements Comparable<ContactEntry> { class
41 public static ContactEntry fromCursor(Cursor cursor, Context context) { in fromCursor()
50 return new ContactEntry(context, name, number, starred > 0, pinnedPosition); in fromCursor()
53 public ContactEntry( in ContactEntry() method in ContactEntry
86 public int compareTo(ContactEntry strequentContactEntry) { in compareTo()
115 if (obj instanceof ContactEntry) { in equals()
116 ContactEntry other = (ContactEntry) obj; in equals()
DStrequentsAdapter.java59 private List<ContactEntry> mData;
105 private void setData(List<ContactEntry> data) { in setData()
213 private List<ContactEntry> convertStrequentCursorToArray(Cursor cursor) { in convertStrequentCursorToArray()
214 List<ContactEntry> strequentContactEntries = new ArrayList<>(); in convertStrequentCursorToArray()
215 HashMap<Integer, ContactEntry> entryMap = new HashMap<>(); in convertStrequentCursorToArray()
219 final ContactEntry entry = ContactEntry.fromCursor(cursor, mContext); in convertStrequentCursorToArray()
326 private void onBindView(final CallLogViewHolder viewHolder, final ContactEntry entry) { in onBindView()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutRefresher.java24 import com.android.contacts.common.list.ContactEntry;
40 public static void refresh(@NonNull Context context, List<ContactEntry> contacts) { in refresh()
56 private static final class Task extends FallibleAsyncTask<List<ContactEntry>, Void, Void> {
73 protected final Void doInBackgroundFallible(List<ContactEntry>... params) { in doInBackgroundFallible()
DDynamicShortcuts.java30 import com.android.contacts.common.list.ContactEntry;
95 public void refresh(List<ContactEntry> contacts) { in refresh()
118 for (ContactEntry entry : contacts) { in refresh()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactEntry.java25 public class ContactEntry { class
27 public static final ContactEntry BLANK_ENTRY = new ContactEntry();
DContactTileView.java77 public void loadFromContact(ContactEntry entry) {
119 protected String getNameForView(ContactEntry contactEntry) {