Home
last modified time | relevance | path

Searched refs:RankedContact (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DContactsManager.java51 protected static class RankedContact { class in ContactsManager
59 RankedContact(final Cursor cursor) { in RankedContact() method in ContactsManager.RankedContact
96 private static class AffinityComparator implements Comparator<RankedContact> {
98 public int compare(RankedContact contact1, RankedContact contact2) { in compare()
158 final ArrayList<RankedContact> contacts = new ArrayList<>(); in getValidNames()
172 contacts.add(new RankedContact(cursor)); in getValidNames()
182 for (RankedContact contact : contacts) { in getValidNames()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsManagerTest.java124 ContactsManager.RankedContact contact = new ContactsManager.RankedContact(cursor); in testComputeAffinity()