HomeSort by relevance Sort by last modified time
    Searched refs:attachment (Results 1 - 25 of 378) 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;
  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
AttachmentsView.java 34 import com.android.mail.providers.Attachment;
54 private final ArrayList<Attachment> mAttachments;
96 * Add an attachment and update the ui accordingly.
97 * @param attachment
99 public void addAttachment(final Attachment attachment) {
104 mAttachments.add(attachment);
107 // If we have an attachment that should be shown in a tiled look,
109 if (AttachmentTile.isTiledAttachment(attachment)) {
111 mTileGrid.addComposeTileFromAttachment(attachment);
224 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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photo/
MailPhotoViewActivity.java 40 import com.android.mail.providers.Attachment;
147 final Attachment attachment = getCurrentAttachment(); local
149 if (attachment != null && mSaveItem != null && mShareItem != null) {
150 mSaveItem.setEnabled(!attachment.isDownloading()
151 && attachment.canSave() && !attachment.isSavedToExternal());
152 mShareItem.setEnabled(attachment.canShare());
153 mDownloadAgainItem.setEnabled(attachment.canSave() && attachment.isDownloading())
225 final Attachment attachment = getCurrentAttachment(); local
248 final Attachment attachment = getCurrentAttachment(); local
309 final Attachment attachment = getCurrentAttachment(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLFramebuffer.cpp 59 virtual void attach(GraphicsContext3D*, GC3Denum attachment);
60 virtual void unattach(GraphicsContext3D*, GC3Denum attachment);
129 void WebGLRenderbufferAttachment::attach(GraphicsContext3D* context, GC3Denum attachment)
132 if (attachment == GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT && m_renderbuffer->emulatedStencilBuffer()) {
136 context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, attachment, GraphicsContext3D::RENDERBUFFER, object);
140 void WebGLRenderbufferAttachment::unattach(GraphicsContext3D* context, GC3Denum attachment)
142 if (attachment == GraphicsContext3D::DEPTH_STENCIL_ATTACHMENT) {
146 context->framebufferRenderbuffer(GraphicsContext3D::FRAMEBUFFER, attachment, GraphicsContext3D::RENDERBUFFER, 0);
171 virtual void attach(GraphicsContext3D*, GC3Denum attachment);
172 virtual void unattach(GraphicsContext3D*, GC3Denum attachment);
523 WebGLAttachment* attachment = it->value.get(); local
581 WebGLAttachment* attachment = getAttachment(GraphicsContext3D::STENCIL_ATTACHMENT); local
    [all...]
WebGLFramebuffer.h 49 // For texture attachment, getType() returns the type of the attached texture.
50 // For renderbuffer attachment, the type of the renderbuffer may vary with GL implementation.
51 // To avoid confusion, it would be better to not implement getType() for renderbuffer attachment and
60 virtual void attach(GraphicsContext3D*, GC3Denum attachment) = 0;
61 virtual void unattach(GraphicsContext3D*, GC3Denum attachment) = 0;
71 void setAttachmentForBoundFramebuffer(GC3Denum attachment, GC3Denum texTarget, WebGLTexture*, GC3Dint level);
72 void setAttachmentForBoundFramebuffer(GC3Denum attachment, WebGLRenderbuffer*);
75 // If a given attachment point for the currently bound framebuffer is not null, remove the attached object.
117 bool isAttachmentComplete(WebGLAttachment* attachedObject, GC3Denum attachment, const char** reason) const;
122 // attach 'attachment' at 'attachmentPoint'
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTile.java 37 import com.android.mail.providers.Attachment;
43 * Base class for attachment tiles that handles the work of fetching and displaying the bitmaps for
47 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 31 import com.android.mail.providers.Attachment;
50 private List<Attachment> mAttachments;
63 * Configures the grid to add {@link Attachment}s information to the views.
66 List<Attachment> list, boolean loaderResult) {
70 // Adding tiles to grid and filling in attachment information
72 for (Attachment attachment : list) {
73 addMessageTileFromAttachment(attachment, index++, loaderResult);
77 private void addMessageTileFromAttachment(Attachment attachment, int index
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/service/
EasAttachmentLoader.java 8 import com.android.emailcommon.provider.EmailContent.Attachment;
65 private final Attachment mAttachment;
68 final Attachment attachment) {
70 mAttachment = attachment;
80 * Load an attachment from the Exchange server, and write it to the content provider.
82 * @param attachmentId The local id of the attachment (i.e. its id in the database).
87 final Attachment attachment = Attachment.restoreAttachmentWithId(context, attachmentId) local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
SmtpSenderUnitTests.java 29 import com.android.emailcommon.provider.EmailContent.Attachment;
132 * Test: Open and send a single message with an empty attachment (no file) (sunny day)
144 // Creates an attachment with a bogus file (so we get headers only)
145 Attachment attachment = setupSimpleAttachment(mProviderContext, message.mId); local
146 attachment.save(mProviderContext);
152 expectSimpleAttachment(mockTransport, attachment);
190 * Prepare to send a simple attachment
192 private Attachment setupSimpleAttachment(Context context, long messageId) {
193 Attachment attachment = new Attachment() local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 30 import com.android.mail.providers.Attachment;
83 * Return a friendly localized file type for this attachment, or the empty string if
88 public static String getDisplayType(final Context context, final Attachment attachment) {
89 if ((attachment.flags & Attachment.FLAG_DUMMY_ATTACHMENT) != 0) {
90 // This is a dummy attachment, display blank for type.
97 final String contentType = attachment.getContentType();
104 String extension = Utils.getFileExtension(attachment.getName());
161 * 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/
new_incognito_tab_theme.css 7 background-attachment: fixed;
  /external/chromium_org/gpu/command_buffer/service/
framebuffer_manager.cc 35 : public Framebuffer::Attachment {
119 : public Framebuffer::Attachment {
255 Attachment* attachment = attachments_.begin()->second.get(); local
256 attachment->DetachFromFramebuffer(this);
314 GLenum attachment) const {
316 attachments_.find(attachment);
318 const Attachment* attachment = it->second.get(); local
319 return !attachment->cleared()
346 Attachment* attachment = it->second.get(); local
368 const Attachment* attachment = it->second.get(); local
382 Attachment* attachment = it->second.get(); local
417 Attachment* attachment = it->second.get(); local
449 Attachment* attachment = it->second.get(); local
474 const Attachment* attachment = GetAttachment(draw_buffers_[i]); local
492 Attachment* attachment = it->second.get(); local
511 Attachment* attachment = it->second.get(); local
    [all...]
framebuffer_manager_unittest.cc 219 // check adding one attachment
261 // The attachment has a size of 0,0 so depending on the order of the map
264 // attachment.
318 const Framebuffer::Attachment* attachment = local
320 ASSERT_TRUE(attachment != NULL);
321 EXPECT_EQ(kWidth1, attachment->width());
322 EXPECT_EQ(kHeight1, attachment->height());
323 EXPECT_EQ(kSamples1, attachment->samples());
324 EXPECT_EQ(kFormat1, attachment->internal_format())
493 const Framebuffer::Attachment* attachment = local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
EmlAttachmentProvider.java 54 * of the regular attachment provider.
56 * One major difference is that all attachment info is stored in memory (with the
57 * exception of the attachment raw data which is stored in the cache). When
68 private static final int ATTACHMENT = 1;
83 * Map that contains a mapping from an attachment list uri to a list of uris.
88 * Map that contains a mapping from an attachment uri to an {@link Attachment} object.
90 private Map<Uri, Attachment> mUriAttachmentMap;
102 sUriMatcher.addURI(authority, "*/*/#", ATTACHMENT);
131 case ATTACHMENT
215 final Attachment attachment = mUriAttachmentMap.get(uri); local
266 final Attachment attachment = mUriAttachmentMap.get(uri); local
420 final Attachment attachment = mUriAttachmentMap.get(uri); 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...]
  /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));
176 // Move to the first attachment; this must succeed because multipart is true
178 // If we've got one attachment and it's an ics "attachment", we want to send
181 if ((flags & Attachment.FLAG_ICS_ALTERNATIVE_PART) != 0) {
198 for (Attachment att: attachments) {
213 * Write a single attachment and its payload
216 Attachment attachment) throws IOException, MessagingException
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 32 import com.android.emailcommon.provider.EmailContent.Attachment;
128 * The maximum size of an attachment we're willing to download (either View or Save)
130 * so we should probably factor that in. A 5MB attachment will generally be around
135 * The maximum size of an attachment we're willing to upload (measured as stored on disk).
137 * so we should probably factor that in. A 5MB attachment will generally be around
145 sUri = Uri.parse(Attachment.ATTACHMENT_PROVIDER_URI_PREFIX);
155 * Return the filename for a given attachment. This should be used by any code that is
166 * Return the directory for a given attachment. This should be used by any code that is
202 * @return A likely mime type for the attachment
253 * Resolve attachment id to content URI. Returns the resolved content URI (from the attachmen
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
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...]
MessageAttachmentBar.java 44 import com.android.mail.providers.Attachment;
54 * View for a single attachment in conversation view. Shows download status and allows launching
55 * intents to act on an attachment.
61 private Attachment mAttachment;
106 * Render or update an attachment's view. This happens immediately upon instantiation, and
110 public void render(Attachment attachment, Uri accountUri, boolean loaderResult) {
114 final Attachment prevAttachment = mAttachment;
115 mAttachment = attachment;
121 mSaveClicked = !attachment.isDownloading() ? false : mSaveClicked
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
xorg_dri2.c 81 switch (buffer->attachment) {
83 if (buffer->attachment != DRI2BufferFakeFrontLeft ||
112 if (buffer->attachment == DRI2BufferDepth) {
200 dri2_create_buffer(DrawablePtr pDraw, unsigned int attachment, unsigned int format)
214 buffer->attachment = attachment;
257 buffers[i].attachment = attachments[i];
313 src_draw = (pSrcBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
315 dst_draw = (pDestBuffer->attachment == DRI2BufferFrontLeft) ? pDraw :
337 if (pSrcBuffer->attachment == DRI2BufferFrontLeft &
    [all...]

Completed in 1597 milliseconds

1 2 3 4 5 6 7 8 91011>>