/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 updated_id = attachment.GetId(); 29 // TODO(maniscalco): Update the attachment id with server address information
|
attachment_downloader_impl.cc | 25 scoped_ptr<Attachment> attachment; local 29 callback, DOWNLOAD_UNSPECIFIED_ERROR, base::Passed(&attachment)));
|
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...] |
/external/chromium_org/sync/api/attachments/ |
attachment_uploader.h | 11 #include "sync/api/attachments/attachment.h" 21 UPLOAD_SUCCESS, // No error, attachment was uploaded 32 // Upload |attachment| and invoke |callback| when done. 38 // containing the server address of the newly uploaded attachment. 39 virtual void UploadAttachment(const Attachment& attachment,
|
/external/chromium_org/sync/internal_api/public/attachments/ |
fake_attachment_uploader.h | 21 virtual void UploadAttachment(const Attachment& attachment,
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLFramebuffer.h | 49 // For texture attachment, type() 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 type() for renderbuffer attachment and 58 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) = 0; 59 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) = 0; 69 void setAttachmentForBoundFramebuffer(GLenum attachment, GLenum texTarget, WebGLTexture*, GLint level); 70 void setAttachmentForBoundFramebuffer(GLenum attachment, WebGLRenderbuffer*); 73 // If a given attachment point for the currently bound framebuffer is not null, remove the attached object. 109 bool isAttachmentComplete(WebGLAttachment* attachedObject, GLenum attachment, const char** reason) const; 114 // attach 'attachment' at 'attachmentPoint' [all...] |
WebGLFramebuffer.cpp | 56 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE; 57 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE; 115 void WebGLRenderbufferAttachment::attach(blink::WebGraphicsContext3D* context, GLenum attachment) 118 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL && m_renderbuffer->emulatedStencilBuffer()) { 122 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, object); 126 void WebGLRenderbufferAttachment::unattach(blink::WebGraphicsContext3D* context, GLenum attachment) 128 if (attachment == GC3D_DEPTH_STENCIL_ATTACHMENT_WEBGL) { 132 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, 0); 156 virtual void attach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE; 157 virtual void unattach(blink::WebGraphicsContext3D*, GLenum attachment) OVERRIDE 476 WebGLAttachment* attachment = it->value.get(); local 534 WebGLAttachment* attachment = getAttachment(GL_STENCIL_ATTACHMENT); 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/UnifiedEmail/src/com/android/mail/photo/ |
MailPhotoViewController.java | 42 import com.android.mail.providers.Attachment; 170 final Attachment attachment = getCurrentAttachment(); local 172 if (attachment != null && mSaveItem != null && mShareItem != null) { 173 mSaveItem.setEnabled(!attachment.isDownloading() 174 && attachment.canSave() && !attachment.isSavedToExternal()); 175 final boolean canShare = attachment.canShare(); 178 mDownloadAgainItem.setEnabled(attachment.canSave() && attachment.isDownloading()) 235 final Attachment attachment = getCurrentAttachment(); local 259 final Attachment attachment = getCurrentAttachment(); local 320 final Attachment attachment = getCurrentAttachment(); local 396 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...] |
/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)); 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...] |