Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java69 public final boolean hasAttachments; field in Conversation
182 dest.writeInt(hasAttachments ? 1 : 0); in writeToParcel()
208 hasAttachments = (in.readInt() != 0); in Conversation()
283 hasAttachments = cursor.getInt(UIProvider.CONVERSATION_HAS_ATTACHMENTS_COLUMN) != 0; in Conversation()
323 hasAttachments = other.hasAttachments; in Conversation()
362 this.hasAttachments = hasAttachment; in Conversation()
428 public Builder setHasAttachments(boolean hasAttachments) { in setHasAttachments() argument
429 mHasAttachments = hasAttachments; in setHasAttachments()
DMessage.java143 public boolean hasAttachments; field in Message
286 dest.writeInt(hasAttachments ? 1 : 0); in writeToParcel()
322 hasAttachments = in.readInt() != 0; in Message()
389 hasAttachments = cursor.getInt(UIProvider.MESSAGE_HAS_ATTACHMENTS_COLUMN) != 0; in Message()
392 attachmentListUri = hasAttachments && !TextUtils.isEmpty(attachmentsUri) ? Uri in Message()
396 attachmentByCidUri = hasAttachments && !TextUtils.isEmpty(attachmentsByCidUri) ? in Message()
456 hasAttachments = false; in Message()
494 hasAttachments = !mAttachments.isEmpty(); in Message()
496 attachmentListUri = hasAttachments ? in Message()
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetConversationListItemViewBuilder.java151 final boolean hasAttachments = conversation.hasAttachments; in getStyledView()
183 if (hasAttachments) { in getStyledView()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java190 int hasAttachments = messageCursor in testGetFolders() local
196 assertEquals(messageCursor.getInt(hasAttachments), 1); in testGetFolders()
203 assertEquals(messageCursor.getInt(hasAttachments), 1); in testGetFolders()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java180 int conversationId, String subject, int hasAttachments, int messageCount, in createConversationDetailsMap() argument
192 conversationMap.put(ConversationColumns.HAS_ATTACHMENTS, hasAttachments); in createConversationDetailsMap()
247 String subject, int hasAttachments, boolean addReplyTo) { in createMessageDetailsMap() argument
258 messageMap.put(MessageColumns.HAS_ATTACHMENTS, hasAttachments); in createMessageDetailsMap()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java291 && !(mData.hasAttachments() || mMessageHasYouTubeLink); in shouldShowMessageBubbleArrow()
441 (!mData.hasAttachments() || shouldShowMessageTextBubble()); in updateViewContent()
694 if (mData.hasAttachments()) { in updateViewAppearance()
978 mData.hasAttachments() && !shouldShowMessageTextBubble()) { in updateTextAppearance()
DConversationMessageBubbleView.java91 mShouldAnimateWidthChange = !changed && !data.hasAttachments(); in bind()
DComposeMessageView.java320 final boolean haveAttachments = mBinding.getData().hasAttachments(); in hideAttachmentsWhenShowingSims()
641 mBinding.getData().hasAttachments(); in updateVisualsOnDraftChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java463 public static int getSendersLength(Context context, boolean hasAttachments) { in getSendersLength() argument
465 if (hasAttachments) { in getSendersLength()
DMessageFooterView.java246 if (msg != null && msg.hasAttachments && msg.attachmentListUri != null) { in getAttachmentLoaderId()
DConversationItemView.java785 mHeader.conversation.hasAttachments); in calculateTextsAndBitmaps()
813 if (mHeader.conversation.hasAttachments) { in calculateTextsAndBitmaps()
DMessageHeaderView.java648 setChildVisibility(mMessage.hasAttachments ? VISIBLE : GONE, in updateChildVisibility()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java179 if (message.hasAttachments()) { in getViewAt()
409 if (message.hasAttachments()) { in updateViewContent()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java418 private static Message getRefMessageWithCc(long messageId, boolean hasAttachments) { in getRefMessageWithCc() argument
429 messageValues[UIProvider.MESSAGE_HAS_ATTACHMENTS_COLUMN] = hasAttachments ? 1 : 0; in getRefMessageWithCc()
1034 refMessage.hasAttachments = true; in testChangeModes3()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSecureConversationViewController.java215 if (mMessage.hasAttachments) { in renderMessage()
/packages/apps/UnifiedEmail/src/com/android/mail/print/
DPrintUtils.java253 if (!message.hasAttachments) { in renderAttachments()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java433 public boolean hasAttachments() { in hasAttachments() method in DraftMessageData
DConversationMessageData.java419 public boolean hasAttachments() {
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java709 if (TextUtils.isEmpty(text) && !convMessageData.hasAttachments()) { in buildConversationPageForWearable()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java1155 message.hasAttachments = attachments != null && attachments.size() > 0; in createMessage()
1578 if (message.hasAttachments) { in initFromDraftMessage()