Searched refs:pinnedQueue (Results 1 – 1 of 1) sorted by relevance
559 final PriorityQueue<ContactEntry> pinnedQueue = in arrangeContactsByPinnedPosition() local575 pinnedQueue.add(contact); in arrangeContactsByPinnedPosition()579 final int maxToPin = Math.min(PIN_LIMIT, pinnedQueue.size() + unpinnedContacts.size()); in arrangeContactsByPinnedPosition()583 if (!pinnedQueue.isEmpty() && pinnedQueue.peek().pinned <= i) { in arrangeContactsByPinnedPosition()584 final ContactEntry toPin = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()596 while (!pinnedQueue.isEmpty()) { in arrangeContactsByPinnedPosition()597 final ContactEntry entry = pinnedQueue.poll(); in arrangeContactsByPinnedPosition()