OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mAttachment
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Email/emailsync/src/com/android/emailsync/
PartRequest.java
28
public final Attachment
mAttachment
;
35
mAttachment
= _att;
36
mLocation =
mAttachment
.mLocation;
46
return ((PartRequest)o).
mAttachment
.mId ==
mAttachment
.mId;
51
return (int)
mAttachment
.mId;
/packages/apps/Exchange/src/com/android/exchange/eas/
EasLoadAttachment.java
67
private Attachment
mAttachment
;
105
private final EmailContent.Attachment
mAttachment
;
110
mAttachment
= attachment;
114
doStatusCallback(mCallback,
mAttachment
.mMessageKey,
mAttachment
.mId,
150
mAttachment
= EmailContent.Attachment.restoreAttachmentWithId(mContext, mAttachmentId);
151
if (
mAttachment
== null) {
157
if (
mAttachment
.mLocation == null) {
164
.restoreMessageWithId(mContext,
mAttachment
.mMessageKey);
166
LogUtils.e(LOG_TAG, "Could not load message %d",
mAttachment
.mMessageKey)
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageAttachmentBar.java
61
private Attachment
mAttachment
;
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
.getContentType()), "attachment_bar"
[
all
...]
AttachmentActionHandler.java
48
private Attachment
mAttachment
;
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
.downloadedSize)
[
all
...]
AttachmentProgressDialogFragment.java
35
private Attachment
mAttachment
;
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());
MessageAttachmentTile.java
94
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/
AttachmentComposeView.java
38
private final Attachment
mAttachment
;
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/
AttachmentLoader.java
48
private final Attachment
mAttachment
;
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/
AttachmentTile.java
47
protected Attachment
mAttachment
;
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);
Completed in 487 milliseconds