HomeSort by relevance Sort by last modified time
    Searched refs:Attachment (Results 26 - 50 of 175) sorted by null

12 3 4 5 6 7

  /packages/apps/Email/provider_src/com/android/email/
LegacyConversions.java 42 import com.android.emailcommon.provider.EmailContent.Attachment;
153 // transient public ArrayList<Attachment> mAttachments = null;
188 * Convert a MIME Part object into an Attachment object. Separated for unit testing.
195 protected static Attachment mimePartToAttachment(final Part part) throws MessagingException {
205 // Incoming attachment: Try to pull size from disposition (if not downloaded yet)
214 LogUtils.d(LogUtils.TAG, e, "Could not decode size \"%s\" from attachment part",
221 // This is only provided (and used) when we have structure but not the actual attachment
225 final Attachment localAttachment = new Attachment();
241 * Add a single attachment part to the messag
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
intel_fbo.h 141 * \brief Return the framebuffer attachment specified by attIndex.
143 * If the framebuffer lacks the specified attachment, then return null.
153 assert((unsigned)attIndex < ARRAY_SIZE(fb->Attachment));
155 rb = fb->Attachment[attIndex].Renderbuffer;
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv04_state_fb.c 78 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) {
80 fb->Attachment[BUFFER_DEPTH].Renderbuffer)->surface;
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_span.c 98 radeon_renderbuffer_map(ctx, fb->Attachment[i].Renderbuffer);
114 radeon_renderbuffer_unmap(ctx, fb->Attachment[i].Renderbuffer);
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
Rfc822OutputTests.java 27 import com.android.emailcommon.provider.EmailContent.Attachment;
147 msg.mAttachments = new ArrayList<Attachment>();
149 Attachment att = new Attachment();
151 att.mFlags = Attachment.FLAG_ICS_ALTERNATIVE_PART;
192 msg.mAttachments = new ArrayList<Attachment>();
194 Attachment att = new Attachment();
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
SmtpSenderUnitTests.java 29 import com.android.emailcommon.provider.EmailContent.Attachment;
134 * Test: Open and send a single message with an empty attachment (no file) (sunny day)
146 // Creates an attachment with a bogus file (so we get headers only)
147 Attachment attachment = setupSimpleAttachment(mProviderContext, message.mId); local
148 attachment.save(mProviderContext);
154 expectSimpleAttachment(mockTransport, attachment);
192 * Prepare to send a simple attachment
194 private Attachment setupSimpleAttachment(Context context, long messageId) {
195 Attachment attachment = new Attachment() local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
AttachmentActionHandler.java 33 import com.android.mail.providers.Attachment;
47 private static final String PROGRESS_FRAGMENT_TAG = "attachment-progress";
51 private Attachment mAttachment;
84 public void setAttachment(Attachment attachment) {
85 mAttachment = attachment;
110 * Start downloading the full size attachment set with
111 * {@link #setAttachment(Attachment)} immediately.
124 Attachment attachment, int destination, int rendition, int additionalPriority
    [all...]
ConversationMessage.java 29 import com.android.mail.providers.Attachment;
85 for (Attachment a : getAttachments()) {
MessageAttachmentBar.java 45 import com.android.mail.providers.Attachment;
56 * View for a single attachment in conversation view. Shows download status and allows launching
57 * intents to act on an attachment.
63 private Attachment mAttachment;
115 * Render or update an attachment's view. This happens immediately upon instantiation, and
119 public void render(Attachment attachment, Account account, ConversationMessage message,
124 final Attachment prevAttachment = mAttachment;
125 mAttachment = attachment;
136 mSaveClicked = !attachment.isDownloading() ? false : mSaveClicked
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
Rfc822Output.java 27 import com.android.emailcommon.provider.EmailContent.Attachment;
124 boolean useSmartReply, boolean sendBcc, List<Attachment> attachments)
162 Arrays.asList(Attachment.restoreAttachmentsWithMessageId(context, message.mId));
175 // Move to the first attachment; this must succeed because multipart is true
177 // If we've got one attachment and it's an ics "attachment", we want to send
180 if ((flags & Attachment.FLAG_ICS_ALTERNATIVE_PART) != 0) {
197 for (final Attachment att: attachments) {
212 * Write a single attachment and its payload
215 Attachment attachment) throws IOException, MessagingException
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 237 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer;
339 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer;
452 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer;
453 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer;
456 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer;
457 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer;
462 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer;
463 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer;
479 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer ||
480 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Attachment.java 55 public class Attachment implements Parcelable {
64 // Indicates that this is a dummy placeholder attachment.
68 * Part id of the attachment.
73 * Attachment file name. See {@link AttachmentColumns#NAME} Use {@link #setName(String)}.
78 * Attachment size in bytes. See {@link AttachmentColumns#SIZE}.
83 * The provider-generated URI for this Attachment. Must be globally unique.
117 * Shareable, openable uri for this attachment
148 * The visibility type of this attachment.
164 * Streamable mime type of the attachment in case it's a virtual file.
174 * True if this attachment can be downloaded again
    [all...]
MessageModification.java 158 public static void putAttachments(ContentValues values, List<Attachment> attachments) {
159 values.put(MessageColumns.ATTACHMENTS, Attachment.toJSONArray(attachments));
EmlAttachmentProvider.java 56 * of the regular attachment provider.
58 * One major difference is that all attachment info is stored in memory (with the
59 * exception of the attachment raw data which is stored in the cache). When
70 private static final int ATTACHMENT = 1;
86 * Map that contains a mapping from an attachment list uri to a list of uris.
91 * Map that contains a mapping from an attachment uri to an {@link Attachment} object.
93 private Map<Uri, Attachment> mUriAttachmentMap;
105 sUriMatcher.addURI(authority, "attachment/*/*/#", ATTACHMENT);
153 final Attachment attachment = mUriAttachmentMap.get(attachmentsUri); local
242 final Attachment attachment = mUriAttachmentMap.get(uri); local
296 final Attachment attachment = mUriAttachmentMap.get(uri); local
471 final Attachment attachment = mUriAttachmentMap.get(uri); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 30 import com.android.mail.providers.Attachment;
84 * Return a friendly localized file type for this attachment, or the empty string if
89 public static String getDisplayType(final Context context, final Attachment attachment) {
90 if ((attachment.flags & Attachment.FLAG_DUMMY_ATTACHMENT) != 0) {
91 // This is a dummy attachment, display blank for type.
98 final String contentType = attachment.getContentType();
105 String extension = Utils.getFileExtension(attachment.getName());
162 * Cache the file specified by the given attachment. This will attempt to use an
    [all...]
  /external/mesa3d/src/mesa/state_tracker/
st_cb_flush.c 55 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer);
68 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer);
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 41 import com.android.emailcommon.provider.EmailContent.Attachment;
112 Uri uri = ContentUris.withAppendedId(Attachment.MESSAGE_ID_URI, localMessage.mId);
113 Cursor c = mProviderContext.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION,
118 Attachment attachment = local
119 Attachment.getContent(mProviderContext, c, Attachment.class);
120 if ("100".equals(attachment.mLocation)) {
121 checkAttachment("attachment1Part", attachments.get(0), attachment,
123 } else if ("101".equals(attachment.mLocation))
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
ProviderTests.java 41 import com.android.emailcommon.provider.EmailContent.Attachment;
464 ArrayList<Attachment> atts = new ArrayList<Attachment>();
483 c = mMockContext.getContentResolver().query(Attachment.CONTENT_URI,
484 Attachment.CONTENT_PROJECTION, AttachmentColumns.MESSAGE_KEY + "=?",
490 Attachment actual = EmailContent.getContent(mMockContext, c, Attachment.class);
515 ArrayList<Attachment> atts = new ArrayList<Attachment>();
535 c = mMockContext.getContentResolver().query(Attachment.CONTENT_URI
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
Utilities.java 35 import com.android.emailcommon.provider.EmailContent.Attachment;
142 EmailContent.Attachment att = new EmailContent.Attachment();
143 // Since we haven't actually loaded the attachment, we're just putting
144 // a dummy placeholder here. When the user taps on it, we'll load the attachment
156 // If it's IMAP, we should know that, and we should load all attachment
164 att.mFlags = Attachment.FLAG_DUMMY_ATTACHMENT;
186 LogUtils.e(Logging.LOG_TAG, "Error while storing attachment." + ioe.toString());
  /external/mesa3d/src/mesa/main/
blit.c 54 for (i = 0; i < ARRAY_SIZE(fb->Attachment); i++) {
55 if (fb->Attachment[i].Renderbuffer == rb)
56 return &fb->Attachment[i];
323 readFb->Attachment[BUFFER_STENCIL].Renderbuffer;
325 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer;
352 "%s(stencil attachment format mismatch)", func);
369 "%s(stencil attachment depth format mismatch)", func);
377 readFb->Attachment[BUFFER_DEPTH].Renderbuffer;
379 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer;
405 "%s(depth attachment format mismatch)", func)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/renderpass/
vktRenderPassTests.cpp 505 AttachmentReference (deUint32 attachment,
507 : m_attachment (attachment)
608 class Attachment
611 Attachment (VkFormat format,
666 RenderPass (const vector<Attachment>& attachments,
677 const vector<Attachment>& getAttachments (void) const { return m_attachments; }
683 const vector<Attachment> m_attachments;
764 const vector<Attachment>& attachments = renderPass.getAttachments();
768 const tcu::ScopedLogSection attachmentSection (log, "Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attachmentNdx))
769 const Attachment& attachment = attachments[attachmentNdx]; local
1688 const Attachment& attachment = renderInfo.getColorAttachment(attachmentNdx); local
1713 const Attachment& attachment = *renderInfo.getDepthStencilAttachment(); local
2190 const VkClearAttachment attachment = local
2216 const VkClearAttachment attachment = local
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
EmailContent.java 198 Attachment.initAttachment();
652 // Boolean, no attachment = 0, attachment = 1
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
Pop3Service.java 46 import com.android.emailcommon.provider.EmailContent.Attachment;
82 Attachment att = Attachment.restoreAttachmentWithId(mContext, attachmentId);
189 // 2) We are able to download the rest of the message/attachment when the
197 // If message is incomplete, create a "fake" attachment
393 Cursor c = resolver.query(Attachment.CONTENT_URI, Attachment.CONTENT_PROJECTION,
401 Attachment att = new Attachment();
406 resolver.update(ContentUris.withAppendedId(Attachment.CONTENT_URI, att.mId)
    [all...]
  /external/libchrome/base/
pickle.cc 249 Pickle::Attachment::Attachment() {}
251 Pickle::Attachment::~Attachment() {}
367 bool Pickle::WriteAttachment(scoped_refptr<Attachment> /*attachment*/) {
372 scoped_refptr<Attachment>* /*attachment*/) const {
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_pixel_copy.c 79 draw_irb = intel_renderbuffer(fb->Attachment[BUFFER_DEPTH].Renderbuffer);
81 intel_renderbuffer(read_fb->Attachment[BUFFER_DEPTH].Renderbuffer);

Completed in 2422 milliseconds

12 3 4 5 6 7