Home
last modified time | relevance | path

Searched refs:img (Results 1 – 21 of 21) sorted by relevance

/sdk/emulator/opengl/tests/translator_tests/GLES_CM/
DtriangleCM.cpp59 unsigned char *img = new unsigned char[width * height * comp]; in genTexture() local
60 unsigned char *ptr = img; in genTexture()
70 return img; in genTexture()
75 unsigned char *img = new unsigned char[width * height * comp]; in genRedTexture() local
76 memset(img,0,width*height*comp); in genRedTexture()
77 unsigned char *ptr = img; in genRedTexture()
85 return img; in genRedTexture()
92 unsigned char *img = new unsigned char[size]; in genPalette4_rgb8() local
94 memset(img,0,size); in genPalette4_rgb8()
95 img[0] = 255; img[1] = 0; img[2] = 0; // red in genPalette4_rgb8()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
DUiViewElementNode.java138 Image img = null; in getIcon() local
147 img = factory.getIcon("VerticalLinearLayout"); //$NON-NLS-1$ in getIcon()
158 img = icons.getIcon(className); in getIcon()
162 if (img == null) { in getIcon()
165 img = icons.getIcon("View"); //$NON-NLS-1$ in getIcon()
168 if (img == null) { in getIcon()
169 img = desc.getGenericIcon(); in getIcon()
172 if (img != null) { in getIcon()
181 return icons.addErrorIcon(img); in getIcon()
183 return icons.addWarningIcon(img); in getIcon()
[all …]
/sdk/eclipse/scripts/
Dgen_icon.py49 img = Image.new("RGBA", (sz4, sz4), (255,255,255,0))
50 draw = ImageDraw.Draw(img)
66 img = img.resize((sz, sz), Image.BICUBIC)
67 img.save(data.dest_name, "PNG")
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiModelTreeLabelProvider.java56 Image img = desc.getCustomizedIcon(); in getImage() local
57 if (img != null) { in getImage()
59 return IconFactory.getInstance().addErrorIcon(img); in getImage()
61 return img; in getImage()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglDisplay.cpp287 EGLImageKHR EglDisplay::addImageKHR(ImagePtr img) { in addImageKHR() argument
290 img->imageId = m_nextEglImageId; in addImageKHR()
291 m_eglImages[m_nextEglImageId] = img; in addImageKHR()
295 ImagePtr EglDisplay::getImage(EGLImageKHR img) { in getImage() argument
298 unsigned int hndl = ToTargetCompatibleHandle((uintptr_t)img); in getImage()
303 bool EglDisplay:: destroyImageKHR(EGLImageKHR img) { in destroyImageKHR() argument
306 unsigned int hndl = ToTargetCompatibleHandle((uintptr_t)img); in destroyImageKHR()
DEglContext.cpp82 bool EglContext::attachImage(unsigned int imageId,ImagePtr img){ in attachImage() argument
84 m_attachedImages[imageId] = img; in attachImage()
DEglDisplay.h65 ImagePtr getImage(EGLImageKHR img);
67 bool destroyImageKHR(EGLImageKHR img);
DEglImp.cpp1003 ImagePtr img = dpy->getImage(reinterpret_cast<EGLImageKHR>(imageId)); in attachEGLImage() local
1004 if(img.Ptr()) { in attachEGLImage()
1005 ctx->attachImage(imageId,img); in attachEGLImage()
1006 return img.Ptr(); in attachEGLImage()
1039 ImagePtr img( new EglImage() ); in eglCreateImageKHR() local
1040 if (img.Ptr() != NULL) { in eglCreateImageKHR()
1047 img->width = texData->width; in eglCreateImageKHR()
1048 img->height = texData->height; in eglCreateImageKHR()
1049 img->border = texData->border; in eglCreateImageKHR()
1050 img->internalFormat = texData->internalFormat; in eglCreateImageKHR()
[all …]
DEglContext.h53 bool attachImage(unsigned int imageId,ImagePtr img);
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/
DtriangleV2.cpp79 unsigned char *img = new unsigned char[width * height * comp]; in genTexture() local
80 unsigned char *ptr = img; in genTexture()
89 return img; in genTexture()
94 unsigned char *img = new unsigned char[width * height * comp]; in genRedTexture() local
95 memset(img,0,width*height*comp); in genRedTexture()
96 unsigned char *ptr = img; in genRedTexture()
104 return img; in genRedTexture()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DOutlineLabelProvider.java54 Image img = factory.getIcon(tagName, null); in getImage() local
55 if (img != null) { in getImage()
56 return img; in getImage()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DTextureImageDetailsProvider.java107 IGLProperty img = getImageFromPerTextureLevelState(state); in getTextureImageProperty() local
108 if (img != null) { in getTextureImageProperty()
109 return img; in getTextureImageProperty()
/sdk/emulator/opengl/host/libs/libOpenglRender/
DColorBuffer.h40 void readback(unsigned char* img);
DColorBuffer.cpp361 void ColorBuffer::readback(unsigned char* img) in readback() argument
367 GL_RGBA, GL_UNSIGNED_BYTE, img); in readback()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DTexImageTransform.java138 BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR); in createTexture() local
142 img.getRaster().setDataElements(0, 0, width, height, in createTexture()
146 ImageIO.write(img, PNG_IMAGE_FORMAT, f); in createTexture()
/sdk/templates/docs/
Dcssreset-min.css7 …argin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,ca… selector
/sdk/build/
Dtools.atree68 sdk/emulator/snapshot/snapshots.img tools/lib/emulator/snapshots.img
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/
DGLESv2Imp.cpp2010 EglImage *img = s_eglIface->eglAttachEGLImage(imagehndl); in glEGLImageTargetTexture2DOES() local
2011 if (img) { in glEGLImageTargetTexture2DOES()
2026 ctx->shareGroup()->replaceGlobalName(TEXTURE, tex,img->globalTexName); in glEGLImageTargetTexture2DOES()
2027 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, img->globalTexName); in glEGLImageTargetTexture2DOES()
2030 texData->width = img->width; in glEGLImageTargetTexture2DOES()
2031 texData->height = img->height; in glEGLImageTargetTexture2DOES()
2032 texData->border = img->border; in glEGLImageTargetTexture2DOES()
2033 texData->internalFormat = img->internalFormat; in glEGLImageTargetTexture2DOES()
2046 EglImage *img = s_eglIface->eglAttachEGLImage(imagehndl); in glEGLImageTargetRenderbufferStorageOES() local
2047 SET_ERROR_IF(!img,GL_INVALID_VALUE); in glEGLImageTargetRenderbufferStorageOES()
[all …]
/sdk/eclipse/
Ddictionary.txt135 img
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLEScmImp.cpp1656 EglImage *img = s_eglIface->eglAttachEGLImage(imagehndl); in glEGLImageTargetTexture2DOES() local
1657 if (img) { in glEGLImageTargetTexture2DOES()
1672 ctx->shareGroup()->replaceGlobalName(TEXTURE, tex,img->globalTexName); in glEGLImageTargetTexture2DOES()
1673 ctx->dispatcher().glBindTexture(GL_TEXTURE_2D, img->globalTexName); in glEGLImageTargetTexture2DOES()
1676 texData->width = img->width; in glEGLImageTargetTexture2DOES()
1677 texData->height = img->height; in glEGLImageTargetTexture2DOES()
1678 texData->border = img->border; in glEGLImageTargetTexture2DOES()
1679 texData->internalFormat = img->internalFormat; in glEGLImageTargetTexture2DOES()
1692 EglImage *img = s_eglIface->eglAttachEGLImage(imagehndl); in glEGLImageTargetRenderbufferStorageOES() local
1693 SET_ERROR_IF(!img,GL_INVALID_VALUE); in glEGLImageTargetRenderbufferStorageOES()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DConfigureAssetSetPage.java782 ImageControl img = new ImageControl(chooserForm, in widgetSelected()
784 img.setData(name); in widgetSelected()
785 img.setHoverColor(hoverColor); in widgetSelected()
786 img.addMouseListener(clickListener); in widgetSelected()