/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageAttachmentBar.java | 63 private Attachment mAttachment; field in MessageAttachmentBar 124 final Attachment prevAttachment = mAttachment; in render() 125 mAttachment = attachment; in render() 130 mActionHandler.setAttachment(mAttachment); in render() 193 if (mAttachment.canSave()) { in onClick() 198 "save_attachment", Utils.normalizeMimeType(mAttachment.getContentType()), in onClick() 199 "attachment_bar", mAttachment.size); in onClick() 202 if (mAttachment.isPresentLocally()) { in onClick() 204 mActionHandler.startRedownloadingAttachment(mAttachment); in onClick() 207 Utils.normalizeMimeType(mAttachment.getContentType()), "attachment_bar", in onClick() [all …]
|
D | AttachmentActionHandler.java | 51 private Attachment mAttachment; field in AttachmentActionHandler 85 mAttachment = attachment; in setAttachment() 99 if (mAttachment.isPresentLocally() && in showAttachment() 101 mAttachment.destination == destination)) { in showAttachment() 120 mAttachment, destination, rendition, additionalPriority, delayDownload); in startDownloadingAttachment() 140 mCommandHandler.sendCommand(mAttachment.uri, params); in cancelAttachment() 165 mAttachment); in showDownloadingDialog() 178 final boolean showProgress = mAttachment.shouldShowProgress(); in updateStatus() 182 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) { in updateStatus() 183 dialog.setProgress(mAttachment.downloadedSize); in updateStatus() [all …]
|
D | AttachmentProgressDialogFragment.java | 35 private Attachment mAttachment; field in AttachmentProgressDialogFragment 57 mAttachment = args.getParcelable(ATTACHMENT_KEY); in onCreate() 70 mDialog.setMessage(mAttachment.getName()); in onCreateDialog() 73 mDialog.setMax(mAttachment.size); in onCreateDialog() 98 mCommandHandler.sendCommand(mAttachment.uri, params); in cancelAttachment() 119 && Objects.equal(attachment.getIdentifierUri(), mAttachment.getIdentifierUri()); in isShowingDialogForAttachment()
|
D | MessageAttachmentTile.java | 103 mActionHandler.setAttachment(mAttachment); in render() 158 if (!mAttachment.isPresentLocally()) { in downloadAttachment() 166 final String mime = Utils.normalizeMimeType(mAttachment.getContentType()); in viewAttachment() 169 .sendEvent("view_attachment", mime, "attachment_tile", mAttachment.size); in viewAttachment() 184 intent, mAttachment.contentUri, mime); in viewAttachment()
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | AttachmentComposeView.java | 38 private final Attachment mAttachment; field in AttachmentComposeView 43 mAttachment = attachment; in AttachmentComposeView() 66 mAttachment.getName())); in addDeleteListener() 70 ((TextView) findViewById(R.id.attachment_name)).setText(mAttachment.getName()); in populateAttachmentData() 73 if (mAttachment.size != -1) { in populateAttachmentData() 75 setText(AttachmentUtils.convertToHumanReadableSize(context, mAttachment.size)); in populateAttachmentData()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTile.java | 46 protected Attachment mAttachment; field in AttachmentTile 97 ThumbnailLoadTask.setupThumbnailPreview(mAttachmentPreviewCache, this, mAttachment, null); in onLayout() 101 return mAttachment; in getAttachment() 115 final Attachment prevAttachment = mAttachment; in render() 116 mAttachment = attachment; in render() 157 final Bitmap cachedPreview = mAttachmentPreviewCache.get(mAttachment); in setThumbnailToDefault() 220 mAttachmentPreviewCache.set(mAttachment, result); in setThumbnail()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 144 private int mAttachment = INVALID_VALUE_PARAMETER; field in BluetoothMapAppParams 1132 return mAttachment; in getAttachment() 1138 this.mAttachment = attachment; in setAttachment()
|