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

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentBar.java63 private Attachment mAttachment; field in class:MessageAttachmentBar
124 final Attachment prevAttachment = mAttachment;
125 mAttachment = attachment;
130 mActionHandler.setAttachment(mAttachment);
193 if (mAttachment.canSave()) {
198 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()),
199 "attachment_bar", mAttachment.size);
202 if (mAttachment.isPresentLocally()) {
204 mActionHandler.startRedownloadingAttachment(mAttachment);
207 Utils.normalizeMimeType(mAttachment
[all...]
H A DAttachmentActionHandler.java51 private Attachment mAttachment; field in class:AttachmentActionHandler
85 mAttachment = attachment;
99 if (mAttachment.isPresentLocally() &&
101 mAttachment.destination == destination)) {
120 mAttachment, destination, rendition, additionalPriority, delayDownload);
140 mCommandHandler.sendCommand(mAttachment.uri, params);
165 mAttachment);
178 final boolean showProgress = mAttachment.shouldShowProgress();
182 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) {
183 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.java103 mActionHandler.setAttachment(mAttachment);
158 if (!mAttachment.isPresentLocally()) {
166 final String mime = Utils.normalizeMimeType(mAttachment.getContentType());
169 .sendEvent("view_attachment", mime, "attachment_tile", mAttachment.size);
184 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;
66 mAttachment.getName()));
70 ((TextView) findViewById(R.id.attachment_name)).setText(mAttachment.getName());
72 if (mAttachment.size > 0) {
74 setText(AttachmentUtils.convertToHumanReadableSize(context, mAttachment.size));
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasLoadAttachment.java68 private Attachment mAttachment; field in class:EasLoadAttachment
106 private final EmailContent.Attachment mAttachment; field in class:EasLoadAttachment.ProgressCallback
111 mAttachment = attachment;
115 doStatusCallback(mCallback, mAttachment.mMessageKey, mAttachment.mId,
151 mAttachment = EmailContent.Attachment.restoreAttachmentWithId(mContext, mAttachmentId);
152 if (mAttachment == null) {
158 if (mAttachment.mLocation == null) {
165 .restoreMessageWithId(mContext, mAttachment.mMessageKey);
167 LogUtils.e(LOG_TAG, "Could not load message %d", mAttachment
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTile.java46 protected Attachment mAttachment; field in class:AttachmentTile
97 ThumbnailLoadTask.setupThumbnailPreview(mAttachmentPreviewCache, this, mAttachment, null);
101 return mAttachment;
115 final Attachment prevAttachment = mAttachment;
116 mAttachment = attachment;
157 final Bitmap cachedPreview = mAttachmentPreviewCache.get(mAttachment);
220 mAttachmentPreviewCache.set(mAttachment, result);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAppParams.java145 private int mAttachment = INVALID_VALUE_PARAMETER; field in class:BluetoothMapAppParams
1133 return mAttachment;
1139 this.mAttachment = attachment;

Completed in 111 milliseconds