Home
last modified time | relevance | path

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

/packages/apps/Dialer/tests/src/com/android/dialer/list/
DPhoneFavoritesTileAdapterTest.java13 import com.android.contacts.common.list.ContactEntry;
47 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0), in testArrangeContactsByPinnedPosition_NoPinned()
55 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0), in testArrangeContactsByPinnedPosition_NoPinned_RemoveDemoted()
63 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(1), in testArrangeContactsByPinnedPosition_OnePinned_Beginning()
71 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0), in testArrangeContactsByPinnedPosition_OnePinned_Middle()
79 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0), in testArrangeContactsByPinnedPosition_OnePinned_End()
87 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0), in testArrangeContactsByPinnedPosition_OnePinned_Outside()
95 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(1, 2), in testArrangeContactsByPinnedPosition_OnePinned_RemoveDemoted()
103 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(0, 1), in testArrangeContactsByPinnedPosition_TwoPinned_Split()
111 ArrayList<ContactEntry> toArrange = Lists.newArrayList(getTestContactEntry(1, 2), in testArrangeContactsByPinnedPosition_TwoPinned_Adjacent()
[all …]
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoritesTileAdapter.java44 import com.android.contacts.common.list.ContactEntry;
76 protected ArrayList<ContactEntry> mContactEntries = null;
78 private ContactEntry mDraggedEntry = null;
124 final Comparator<ContactEntry> mContactEntryComparator = new Comparator<ContactEntry>() {
126 public int compare(ContactEntry lhs, ContactEntry rhs) {
133 private String getPreferredSortName(ContactEntry contactEntry) {
155 mContactEntries = new ArrayList<ContactEntry>(); in PhoneFavoritesTileAdapter()
268 final ContactEntry existing = (ContactEntry) duplicates.get(id); in saveCursorToCache()
287 final ContactEntry contact = new ContactEntry(); in saveCursorToCache()
364 public ContactEntry getItem(int position) { in getItem()
[all …]
DPhoneFavoriteSquareTileView.java28 import com.android.contacts.common.list.ContactEntry;
41 private ContactEntry mContactEntry;
77 public void loadFromContact(ContactEntry entry) { in loadFromContact()
105 protected String getNameForView(ContactEntry contactEntry) { in getNameForView()
109 public ContactEntry getContactEntry() { in getContactEntry()
DPhoneFavoriteTileView.java29 import com.android.contacts.common.list.ContactEntry;
87 public void loadFromContact(ContactEntry entry) { in loadFromContact()
98 if (entry == ContactEntry.BLANK_ENTRY) { in loadFromContact()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java232 protected ContactEntry createContactEntryFromCursor(Cursor cursor, int position) { in createContactEntryFromCursor()
244 ContactEntry contact = new ContactEntry(); in createContactEntryFromCursor()
328 public ArrayList<ContactEntry> getItem(int position) { in getItem()
329 ArrayList<ContactEntry> resultList = new ArrayList<ContactEntry>(mColumnCount); in getItem()
396 ArrayList<ContactEntry> contactList = getItem(position); in getView()
492 public void configureRow(ArrayList<ContactEntry> list, boolean isLastRow) { in configureRow()
497 ContactEntry entry = in configureRow()
503 private void addTileFromEntry(ContactEntry entry, int childIndex, boolean isLastRow) {
DContactEntry.java29 public class ContactEntry { class
59 public static final ContactEntry BLANK_ENTRY = new ContactEntry();
DContactTileView.java94 public void loadFromContact(ContactEntry entry) {
182 protected String getNameForView(ContactEntry contactEntry) {
DContactTilePhoneFrequentView.java50 public void loadFromContact(ContactEntry entry) { in loadFromContact()
/packages/apps/Contacts/src/com/android/contacts/list/
DGroupMemberTileAdapter.java23 import com.android.contacts.common.list.ContactEntry;
75 public ArrayList<ContactEntry> getItem(int position) { in getItem()
76 final ArrayList<ContactEntry> resultList = Lists.newArrayListWithCapacity(mColumnCount); in getItem()