HomeSort by relevance Sort by last modified time
    Searched refs:attachment (Results 1 - 25 of 561) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/nio/channels/
SelectionKey.java 56 private volatile Object attachment = null; field in class:SelectionKey
66 * this discards the old attachment.
70 * attachment.
75 Object oldAttachment = attachment;
76 attachment = anObject;
86 public final Object attachment() { method in class:SelectionKey
87 return attachment;
  /external/chromium_org/sync/internal_api/attachments/
fake_attachment_uploader.cc 9 #include "sync/api/attachments/attachment.h"
22 void FakeAttachmentUploader::UploadAttachment(const Attachment& attachment,
25 DCHECK(!attachment.GetId().GetProto().unique_id().empty());
28 AttachmentId id = attachment.GetId();
fake_attachment_downloader.cc 24 // attachment.
26 scoped_ptr<Attachment> attachment; local
27 attachment.reset(
28 new Attachment(Attachment::CreateWithId(attachment_id, data)));
31 base::Bind(callback, DOWNLOAD_SUCCESS, base::Passed(&attachment)));
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
AttachmentsView.java 34 import com.android.mail.providers.Attachment;
53 private final ArrayList<Attachment> mAttachments;
94 * Adds an attachment and updates the ui accordingly.
96 private void addAttachment(final Attachment attachment) {
97 mAttachments.add(attachment);
99 // If the attachment is inline do not display this attachment.
100 if (attachment.isInlineAttachment()) {
110 // If we have an attachment that should be shown in a tiled look
228 final Attachment attachment = new Attachment(); local
    [all...]
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...]
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/chromium_org/sync/internal_api/public/attachments/
fake_attachment_uploader.h 21 virtual void UploadAttachment(const Attachment& attachment,
attachment_uploader.h 11 #include "sync/api/attachments/attachment.h"
21 UPLOAD_SUCCESS, // No error, attachment was uploaded
33 // Upload |attachment| and invoke |callback| when done.
39 // newly uploaded attachment.
40 virtual void UploadAttachment(const Attachment& attachment,
  /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...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLFramebuffer.cpp 60 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
61 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
123 void WebGLRenderbufferAttachment::attach(blink::WebGraphicsContext3D* context, GLenum attachment)
126 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL && m_renderbuffer->emulatedStencilBuffer()) {
130 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, object);
134 void WebGLRenderbufferAttachment::unattach(blink::WebGraphicsContext3D* context, GLenum attachment)
136 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL) {
140 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, 0);
168 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE;
169 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE
499 WebGLAttachment* attachment = it->value.get(); local
557 WebGLAttachment* attachment = getAttachment(GL_STENCIL_ATTACHMENT); local
    [all...]
WebGLFramebuffer.h 50 // For texture attachment, type() returns the type of the attached texture.
51 // For renderbuffer attachment, the type of the renderbuffer may vary with GL implementation.
52 // To avoid confusion, it would be better to not implement type() for renderbuffer attachment and
59 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) = 0;
60 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) = 0;
72 void setAttachmentForBoundFramebuffer(GLenum attachment, GLenum texTarget, WebGLTexture*, GLint level);
73 void setAttachmentForBoundFramebuffer(GLenum attachment, WebGLRenderbuffer*);
76 // If a given attachment point for the currently bound framebuffer is not null, remove the attached object.
114 bool isAttachmentComplete(WebGLAttachment* attachedObject, GLenum attachment, const char** reason) const;
119 // attach 'attachment' at 'attachmentPoint'
    [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/providers/
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/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/utils/
AttachmentUtils.java 28 import com.android.mail.providers.Attachment;
82 * Return a friendly localized file type for this attachment, or the empty string if
87 public static String getDisplayType(final Context context, final Attachment attachment) {
88 if ((attachment.flags & Attachment.FLAG_DUMMY_ATTACHMENT) != 0) {
89 // This is a dummy attachment, display blank for type.
96 final String contentType = attachment.getContentType();
103 String extension = Utils.getFileExtension(attachment.getName());
160 * Cache the file specified by the given attachment. This will attempt to use an
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
FramebufferData.h 45 void setAttachment(GLenum attachment,
51 GLuint getAttachment(GLenum attachment,
58 inline int attachmentPointIndex(GLenum attachment);
  /external/chromium_org/chrome/browser/resources/ntp4/
new_guest_tab_theme.css 7 background-attachment: fixed;
new_incognito_tab_theme.css 7 background-attachment: fixed;
  /external/chromium_org/gpu/command_buffer/service/
framebuffer_manager.cc 44 : public Framebuffer::Attachment {
135 : public Framebuffer::Attachment {
294 Attachment* attachment = attachments_.begin()->second.get(); local
295 attachment->DetachFromFramebuffer(this);
353 GLenum attachment) const {
355 attachments_.find(attachment);
357 const Attachment* attachment = it->second.get(); local
358 return !attachment->cleared()
368 const Attachment* attachment = it->second.get(); local
434 Attachment* attachment = it->second.get(); local
456 const Attachment* attachment = it->second.get(); local
465 const Attachment* attachment = it->second.get(); local
479 Attachment* attachment = it->second.get(); local
514 Attachment* attachment = it->second.get(); local
546 Attachment* attachment = it->second.get(); local
573 const Attachment* attachment = GetAttachment(draw_buffers_[i]); local
591 Attachment* attachment = it->second.get(); local
610 Attachment* attachment = it->second.get(); local
    [all...]
  /external/chromium_org/third_party/angle/src/libGLESv2/
Framebuffer.cpp 25 RenderTarget *GetAttachmentRenderTarget(gl::FramebufferAttachment *attachment)
27 if (attachment->isTexture())
29 gl::Texture *texture = attachment->getTexture();
32 const gl::ImageIndex *index = attachment->getTextureImageIndex();
37 gl::Renderbuffer *renderbuffer = attachment->getRenderbuffer();
45 unsigned int GetAttachmentSerial(gl::FramebufferAttachment *attachment)
47 if (attachment->isTexture())
49 gl::Texture *texture = attachment->getTexture();
52 const gl::ImageIndex *index = attachment->getTextureImageIndex();
57 gl::Renderbuffer *renderbuffer = attachment->getRenderbuffer()
216 FramebufferAttachment *attachment = mColorbuffers[colorAttachment]; local
239 FramebufferAttachment *attachment = mColorbuffers[colorAttachment]; local
619 gl::FramebufferAttachment *attachment = local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/SystemEvents/
Text_Suite.py 18 class attachment(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """attachment - Represents an inline text attachment. This class is used mainly for make commands. """
26 """file name - The path to the file for the attachment """
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Terminal/
Text_Suite.py 18 class attachment(aetools.ComponentItem): class in inherits:aetools.ComponentItem
19 """attachment - Represents an inline text attachment. This class is used mainly for make commands. """
26 """file name - The path to the file for the attachment """
93 attachment._superclassnames = ['text']
94 attachment._privpropdict = {
98 attachment._privelemdict = {
175 'atts' : attachment,
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
fbobject.h 71 GLenum attachment);
74 /** Return the texture image for a renderbuffer attachment */
83 /** Return the (const) texture image for a renderbuffer attachment */
111 GLenum attachment, struct gl_renderbuffer *rb);
174 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
178 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
182 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
187 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment,
191 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment,
196 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
    [all...]
  /external/mesa3d/src/mesa/main/
fbobject.h 71 GLenum attachment);
74 /** Return the texture image for a renderbuffer attachment */
83 /** Return the (const) texture image for a renderbuffer attachment */
111 GLenum attachment, struct gl_renderbuffer *rb);
174 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
178 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
182 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
187 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment,
191 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment,
196 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment,
    [all...]

Completed in 707 milliseconds

1 2 3 4 5 6 7 8 91011>>