/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockAttachment.java | 20 import com.android.mail.providers.Attachment; 24 public class MockAttachment extends Attachment {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentLoader.java | 28 import com.android.mail.providers.Attachment; 46 private Map<String, Attachment> mCache = Maps.newHashMap(); 52 public Attachment get() { 54 Attachment m = mCache.get(uri); 56 m = new Attachment(this);
|
MessageFooterView.java | 41 import com.android.mail.providers.Attachment; 123 // Destroy the loader if we are attempting to load a different attachment 140 // kick off load of Attachment objects in background thread 161 final List<Attachment> attachments; 169 // before the attachment loader results are in, we can still render immediately using 176 private void renderAttachments(List<Attachment> attachments, boolean loaderResult) { 183 final List<Attachment> tiledAttachments = new ArrayList<Attachment>(maxSize); 184 final List<Attachment> barAttachments = new ArrayList<Attachment>(maxSize) [all...] |
AttachmentProgressDialogFragment.java | 26 import com.android.mail.providers.Attachment; 32 public static final String ATTACHMENT_KEY = "attachment"; 35 private Attachment mAttachment; 39 static AttachmentProgressDialogFragment newInstance(Attachment attachment) { 42 // Supply the attachment as an argument. 44 args.putParcelable(ATTACHMENT_KEY, attachment); 89 // This needs to cancel the attachment 117 public boolean isShowingDialogForAttachment(Attachment attachment) { [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
NotificationController.java | 22 import com.android.emailcommon.provider.EmailContent.Attachment; 27 void showDownloadForwardFailedNotificationSynchronous(Attachment attachment);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 28 import com.android.emailcommon.provider.EmailContent.Attachment; 47 Attachment.FLAG_POLICY_DISALLOWS_DOWNLOAD + ")!=0"; 118 private Attachment setupSimpleAttachment(String name, long size, Account acct) { 119 Attachment att = ProviderTestUtils.setupAttachment(-1, name, size, false, mMockContext); 131 ArrayList<Attachment> atts = new ArrayList<Attachment>(); 132 Attachment att1 = setupSimpleAttachment("fileName1", 10001L, acct); 134 Attachment att2 = setupSimpleAttachment("fileName2", 20001L, acct); 141 Attachment att3 = setupSimpleAttachment("fileName3", 70001L, acct); 143 Attachment att4 = setupSimpleAttachment("fileName4", 5001L, acct) [all...] |
AttachmentProviderTests.java | 35 import com.android.emailcommon.provider.EmailContent.Attachment; 59 super(AttachmentProvider.class, Attachment.ATTACHMENT_PROVIDER_LEGACY_URI_PREFIX); 83 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); 91 // attachment we add will be id=1 and the 2nd will have id=2. This could fail on 101 // Test with no attachment found - should return null 105 // Add a couple of attachment entries. Note, query() just uses the DB, and does not 107 Attachment newAttachment1 = ProviderTestUtils.setupAttachment(message1Id, "file1", 100, 114 Attachment newAttachment2 = ProviderTestUtils.setupAttachment(message1Id, "file2", 200, 121 Attachment newAttachment3 = ProviderTestUtils.setupAttachment(message1Id, "file3", 300, 215 // 1 attachment in inbo [all...] |
/external/libmojo/ipc/ |
ipc_message_attachment.h | 19 class IPC_EXPORT MessageAttachment : public base::Pickle::Attachment {
|
/external/mesa3d/src/mesa/main/ |
renderbuffer.c | 102 /* There should be no previous renderbuffer on this attachment point, 108 fb->Attachment[bufferName].Renderbuffer == NULL); 118 fb->Attachment[bufferName].Type = GL_RENDERBUFFER_EXT; 119 fb->Attachment[bufferName].Complete = GL_TRUE; 120 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); 133 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer,
|
framebuffer.c | 214 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; 288 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; 414 struct gl_renderbuffer_attachment *att = &fb->Attachment[i]; 493 * ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer.DepthBits. 515 if (fb->Attachment[i].Renderbuffer) { 516 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; 520 /* Grab samples and sampleBuffers from any attachment point (assuming 543 if (fb->Attachment[i].Renderbuffer) { 544 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; 554 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
MailPhotoViewController.java | 42 import com.android.mail.providers.Attachment; 172 final Attachment attachment = getCurrentAttachment(); local 174 if (attachment != null && mSaveItem != null && mShareItem != null) { 175 mSaveItem.setEnabled(!attachment.isDownloading() 176 && attachment.canSave() && !attachment.isSavedToExternal()); 177 final boolean canShare = attachment.canShare(); 180 mDownloadAgainItem.setEnabled(attachment.canSave() && attachment.isDownloading()) 234 final Attachment attachment = getCurrentAttachment(); local 258 final Attachment attachment = getCurrentAttachment(); local 319 final Attachment attachment = getCurrentAttachment(); local 395 final Attachment attachment = getCurrentAttachment(); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTile.java | 36 import com.android.mail.providers.Attachment; 42 * Base class for attachment tiles that handles the work of fetching and displaying the bitmaps for 46 protected Attachment mAttachment; 65 * Returns true if the attachment should be rendered as a tile. with a large image preview. 66 * @param attachment the attachment to render 67 * @return true if the attachment should be rendered as a tile 69 public static boolean isTiledAttachment(final Attachment attachment) { 70 return ImageUtils.isImageMimeType(attachment.getContentType()) [all...] |
AttachmentTileGrid.java | 34 import com.android.mail.providers.Attachment; 54 private List<Attachment> mAttachments; 70 * Configures the grid to add {@link Attachment}s information to the views. 73 ConversationMessage message, List<Attachment> list, boolean loaderResult) { 79 // Adding tiles to grid and filling in attachment information 81 for (Attachment attachment : list) { 82 addMessageTileFromAttachment(attachment, index++, loaderResult); 86 private void addMessageTileFromAttachment(Attachment attachment, int index [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
AttachmentService.java | 41 import com.android.emailcommon.provider.EmailContent.Attachment; 82 // Try to download an attachment in the background this many times before giving up 132 // A map of attachment storage used per account as we have account based maximums to follow. 138 // A map of attachment ids to the number of failed attempts to download the attachment 144 // Keeps tracks of downloads in progress based on an attachment ID to DownloadRequest mapping. 165 * an attachment. These objects are constructed and either placed in the {@link DownloadQueue} 188 * @param attPriority The priority of this attachment 189 * @param attId The id of the row in the attachment table. 201 private DownloadRequest(final Context context, final Attachment attachment) 546 final Attachment attachment = local 674 final Attachment attachment = Attachment.restoreAttachmentWithId( local 847 final Attachment attachment = Attachment.restoreAttachmentWithId(this, id); local 1122 final Attachment attachment = Attachment.restoreAttachmentWithId(this, attachmentId); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
AttachmentComposeView.java | 25 import com.android.mail.providers.Attachment; 34 * This view is used in the ComposeActivity to display an attachment along with its name/size 38 private final Attachment mAttachment; 41 public AttachmentComposeView(Context c, Attachment attachment) { 43 mAttachment = attachment; 48 attachStr = attachment.toJSON().toString(2); 50 attachStr = attachment.toString(); 52 LogUtils.d(LOG_TAG, "attachment view: %s", attachStr); 57 factory.inflate(R.layout.attachment, this) [all...] |
AttachmentsView.java | 37 import com.android.mail.providers.Attachment; 57 private final ArrayList<Attachment> mAttachments; 98 * Adds an attachment and updates the ui accordingly. 100 private void addAttachment(final Attachment attachment) { 101 mAttachments.add(attachment); 103 // If the attachment is inline do not display this attachment. 104 if (attachment.isInlineAttachment()) { 114 // If we have an attachment that should be shown in a tiled look 265 final Attachment attachment = new Attachment(); local [all...] |
ComposeAttachmentTile.java | 10 import com.android.mail.providers.Attachment; 33 public void render(Attachment attachment, AttachmentPreviewCache attachmentPreviewCache) { 35 super.render(attachment, attachmentPreviewCache); 37 getResources().getString(R.string.remove_attachment_desc, attachment.getName()));
|
/external/mesa3d/src/mesa/swrast/ |
s_renderbuffer.c | 268 assert(fb->Attachment[b].Renderbuffer == NULL); 306 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); 351 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); 375 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); 376 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); 415 assert(fb->Attachment[BUFFER_ACCUM].Renderbuffer == NULL); 459 assert(fb->Attachment[BUFFER_AUX0 + i].Renderbuffer == NULL); 561 struct gl_texture_object *texObj = fb->Attachment[buffer].Texture; 562 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; 567 const GLuint level = fb->Attachment[buffer].TextureLevel [all...] |
/external/libchrome/base/ |
pickle.h | 170 class BASE_EXPORT Attachment : public RefCountedThreadSafe<Attachment> { 172 Attachment(); 175 friend class RefCountedThreadSafe<Attachment>; 176 virtual ~Attachment(); 178 DISALLOW_COPY_AND_ASSIGN(Attachment); 256 // WriteAttachment appends |attachment| to the pickle. It returns 259 virtual bool WriteAttachment(scoped_refptr<Attachment> attachment); 261 // ReadAttachment parses an attachment given the parsing state |iter| an [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_span.c | 56 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) 57 renderbuffer_map_unmap(ctx, fb->Attachment[BUFFER_DEPTH].Renderbuffer, map);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_flush.c | 56 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer); 69 = st_renderbuffer(fb->Attachment[BUFFER_FRONT_LEFT].Renderbuffer);
|
st_cb_blit.c | 95 srcDepth = &ctx->ReadBuffer->Attachment[BUFFER_DEPTH]; 96 dstDepth = &ctx->DrawBuffer->Attachment[BUFFER_DEPTH]; 97 srcStencil = &ctx->ReadBuffer->Attachment[BUFFER_STENCIL]; 98 dstStencil = &ctx->DrawBuffer->Attachment[BUFFER_STENCIL]; 229 &readFB->Attachment[readFB->_ColorReadBufferIndex]; 269 &readFB->Attachment[BUFFER_DEPTH]; 271 &drawFB->Attachment[BUFFER_DEPTH]; 273 &readFB->Attachment[BUFFER_STENCIL]; 275 &drawFB->Attachment[BUFFER_STENCIL]; 278 st_renderbuffer(readFB->Attachment[BUFFER_DEPTH].Renderbuffer) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/exchange/ |
ExchangeAttachment.java | 20 import com.android.mail.providers.Attachment; 22 public class ExchangeAttachment extends Attachment {
|
/external/deqp/modules/glshared/ |
glsFboUtil.hpp | 255 struct Attachment : public Config 257 Attachment (void) : target(GL_FRAMEBUFFER), imageName(0) {} 262 //! Returns `true` iff this attachment is "framebuffer attachment 263 //! complete" when bound to attachment point `attPoint`, and the current 270 struct RenderbufferAttachment : public Attachment 278 struct TextureAttachment : public Attachment 299 glw::GLenum attachmentType (const Attachment& att); 302 //! Mapping from attachment points to attachment configurations [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 32 import com.android.emailcommon.provider.EmailContent.Attachment; 126 * The maximum size of an attachment we're willing to download (either View or Save) 128 * so we should probably factor that in. A 5MB attachment will generally be around 133 * The maximum size of an attachment we're willing to upload (measured as stored on disk). 135 * so we should probably factor that in. A 5MB attachment will generally be around 143 sUri = Uri.parse(Attachment.ATTACHMENT_PROVIDER_URI_PREFIX); 155 sUri = Uri.parse(Attachment.ATTACHMENT_PROVIDER_URI_PREFIX); 167 * Return the filename for a given attachment. This should be used by any code that is 178 * Return the directory for a given attachment. This should be used by any code that is 214 * @return A likely mime type for the attachment [all...] |