Searched refs:mAttachment (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Email/emailsync/src/com/android/emailsync/
H A DPartRequest.java28 public final Attachment mAttachment; field in class:PartRequest
35 mAttachment = _att;
36 mLocation = mAttachment.mLocation;
46 return ((PartRequest)o).mAttachment.mId == mAttachment.mId;
51 return (int)mAttachment.mId;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentBar.java61 private Attachment mAttachment; field in class:MessageAttachmentBar
114 final Attachment prevAttachment = mAttachment;
115 mAttachment = attachment;
116 mActionHandler.setAttachment(mAttachment);
176 if (mAttachment.canSave()) {
181 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()),
182 "attachment_bar", mAttachment.size);
185 if (mAttachment.isPresentLocally()) {
187 mActionHandler.startRedownloadingAttachment(mAttachment);
190 Utils.normalizeMimeType(mAttachment
[all...]
H A DAttachmentActionHandler.java48 private Attachment mAttachment; field in class:AttachmentActionHandler
72 mAttachment = attachment;
86 if (mAttachment.isPresentLocally() &&
88 mAttachment.destination == destination)) {
107 mAttachment, destination, rendition, additionalPriority, delayDownload);
127 mCommandHandler.sendCommand(mAttachment.uri, params);
152 mAttachment);
165 final boolean showProgress = mAttachment.shouldShowProgress();
169 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) {
170 dialog.setProgress(mAttachment
[all...]
H A DAttachmentProgressDialogFragment.java35 private Attachment mAttachment; field in class:AttachmentProgressDialogFragment
57 mAttachment = args.getParcelable(ATTACHMENT_KEY);
70 mDialog.setMessage(mAttachment.getName());
73 mDialog.setMax(mAttachment.size);
98 mCommandHandler.sendCommand(mAttachment.uri, params);
119 && Objects.equal(attachment.getIdentifierUri(), mAttachment.getIdentifierUri());
H A DMessageAttachmentTile.java94 mActionHandler.setAttachment(mAttachment);
147 if (!mAttachment.isPresentLocally()) {
155 final String mime = Utils.normalizeMimeType(mAttachment.getContentType());
158 .sendEvent("view_attachment", mime, "attachment_tile", mAttachment.size);
170 intent, mAttachment.contentUri, mime);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DAttachmentComposeView.java38 private final Attachment mAttachment; field in class:AttachmentComposeView
43 mAttachment = attachment;
68 ((TextView) findViewById(R.id.attachment_name)).setText(mAttachment.getName());
70 if (mAttachment.size > 0) {
72 setText(AttachmentUtils.convertToHumanReadableSize(context, mAttachment.size));
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAttachmentLoader.java48 private final Attachment mAttachment; field in class:AttachmentLoader
57 mAttachment = req.mAttachment;
58 mAttachmentId = mAttachment.mId;
59 mAttachmentSize = (int)mAttachment.mSize;
60 mMessageId = mAttachment.mMessageKey;
111 AttachmentUtilities.saveAttachment(mContext, in, mAttachment);
141 s.data(Tags.BASE_FILE_REFERENCE, mAttachment.mLocation);
145 String location = mAttachment.mLocation;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTile.java47 protected Attachment mAttachment; field in class:AttachmentTile
96 ThumbnailLoadTask.setupThumbnailPreview(mThumbnailTask, this, mAttachment, null);
111 final Attachment prevAttachment = mAttachment;
112 mAttachment = attachment;
152 Bitmap cachedPreview = mAttachmentPreviewCache.get(mAttachment);
209 mAttachmentPreviewCache.set(mAttachment, result);
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasAttachmentLoader.java65 private final Attachment mAttachment; field in class:EasAttachmentLoader.ProgressCallback
70 mAttachment = attachment;
74 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachment.mId,

Completed in 138 milliseconds