Home | History | Annotate | Download | only in browse

Lines Matching refs:conversation

31 import com.android.mail.providers.Conversation;
43 * This is the view model for the conversation header. It includes all the
44 * information needed to layout a conversation header view. Each view model is
45 * associated with a conversation and is cached to improve the relayout time.
59 // The hashcode used to detect if the conversation has changed.
104 public Conversation conversation;
121 * The email address and name of the sender whose avatar will be drawn as a conversation icon.
137 * Returns the view model for a conversation. If the model doesn't exist for this conversation
140 * @param account the account contains this conversation
141 * @param conversationId the Id of this conversation
142 * @return the view model for this conversation, or null
152 static ConversationItemViewModel forConversation(String account, Conversation conv) {
155 header.conversation = conv;
170 * Returns the view model for a conversation. If this is the first time
174 * @param account the account contains this conversation
175 * @param conversationId the Id of this conversation
176 * @return the view model for this conversation
216 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred,
217 conversation.read, conversation.priority, conversation.sendingState);
226 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred,
227 conversation.read, conversation.priority, conversation.sendingState);
246 * Get conversation information to use for accessibility.
256 int last = conversation.conversationInfo.participantInfos != null ?
257 conversation.conversationInfo.participantInfos.size() - 1 : -1;
259 lastParticipant = conversation.conversationInfo.participantInfos.get(last).name;
261 if (conversation.read) {
266 for (ParticipantInfo p : conversation.conversationInfo.participantInfos) {
288 boolean isToday = DateUtils.isToday(conversation.dateMs);
289 String date = DateUtils.getRelativeTimeSpanString(context, conversation.dateMs)
292 conversation.read ? R.string.read_string : R.string.unread_string);
301 conversation.subject, conversation.getSnippet(), date, readString,
330 * be drawn as the conversation icon.