Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java145 private static class MessageStatusWithPriority { class in VoicemailStatusHelperImpl
149 public MessageStatusWithPriority(StatusMessage message, int priority) { in MessageStatusWithPriority() method in VoicemailStatusHelperImpl.MessageStatusWithPriority
157 List<MessageStatusWithPriority> messages = in getStatusMessages()
158 new ArrayList<VoicemailStatusHelperImpl.MessageStatusWithPriority>(); in getStatusMessages()
161 MessageStatusWithPriority message = getMessageForStatusEntry(cursor); in getStatusMessages()
188 private List<StatusMessage> reorderMessages(List<MessageStatusWithPriority> messageWrappers) { in reorderMessages()
189 Collections.sort(messageWrappers, new Comparator<MessageStatusWithPriority>() { in reorderMessages()
191 public int compare(MessageStatusWithPriority msg1, MessageStatusWithPriority msg2) { in reorderMessages()
197 for (MessageStatusWithPriority messageWrapper : messageWrappers) { in reorderMessages()
206 private MessageStatusWithPriority getMessageForStatusEntry(Cursor cursor) { in getMessageForStatusEntry()
[all …]