Searched refs:pinnedQueue (Results 1 – 1 of 1) sorted by relevance
569 final PriorityQueue<ContactEntry> pinnedQueue = in arrangeContactsByPinnedPosition() local585 pinnedQueue.add(contact); in arrangeContactsByPinnedPosition()589 final int maxToPin = Math.min(PIN_LIMIT, pinnedQueue.size() + unpinnedContacts.size()); in arrangeContactsByPinnedPosition()593 if (!pinnedQueue.isEmpty() && pinnedQueue.peek().pinned <= i) { in arrangeContactsByPinnedPosition()594 final ContactEntry toPin = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()606 while (!pinnedQueue.isEmpty()) { in arrangeContactsByPinnedPosition()607 final ContactEntry entry = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()