Searched refs:contactIdsToPosition (Results 1 – 1 of 1) sorted by relevance
113 Map<Integer, Integer> contactIdsToPosition = new ArrayMap<>(); in createCursor() local118 contactIdsToPosition.put(contact.contactId(), cursor.getPosition()); in createCursor()124 for (Integer contactId : contactIdsToPosition.keySet()) { in createCursor()130 Collections.sort(coalescedContacts, (o1, o2) -> compare(contactIdsToPosition, o1, o2)); in createCursor()171 Map<Integer, Integer> contactIdsToPosition, Cp2Contact o1, Cp2Contact o2) { in compare() argument172 int position1 = contactIdsToPosition.get(o1.contactId()); in compare()173 int position2 = contactIdsToPosition.get(o2.contactId()); in compare()