Home
last modified time | relevance | path

Searched refs:alpha (Results 1 – 25 of 50) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilities.java38 final byte[] alpha = new byte[image.width]; in convertToNinePatch()
47 image.getAlphas(0, y, image.width, alpha, 0); in convertToNinePatch()
48 result.setAlphas(1, y + 1, image.width, alpha, 0); in convertToNinePatch()
83 final byte[] alpha = new byte[image.width]; in copy()
92 image.getAlphas(0, y, image.width, alpha, 0); in copy()
93 result.setAlphas(0, y, image.width, alpha, 0); in copy()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DProtoBufUtils.java55 byte[] alpha = new byte[width*height]; in getImageData()
57 alpha[i] = uncompressed[i * 4 + 3]; in getImageData()
59 imageData.alphaData = alpha; in getImageData()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtils.java163 int alpha = awtImage.getRGB(x, y) >>> 24; in convertToSwt() local
168 alpha = alpha * globalAlpha >> 8; in convertToSwt()
171 alphaRow[x] = (byte) alpha; in convertToSwt()
178 imageData.alpha = globalAlpha; in convertToSwt()
259 List<Rectangle> rectangles, Rectangle boundingBox, double scale, byte alpha) { in drawRectangles() argument
293 alphaData[dy * destWidth + dx] = alpha; in drawRectangles()
308 alphaData[dy * destWidth + dx] = alpha; in drawRectangles()
DImageOverlay.java319 private boolean gc_setAlpha(GC gc, int alpha) { in gc_setAlpha() argument
321 gc.setAlpha(alpha); in gc_setAlpha()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java115 assertEquals(128, outData.alpha); in testImageConvertGlobalAlpha()
233 byte alpha = 121; in testCrop1()
240 scale, alpha); in testCrop1()
263 assertEquals(alpha, actualAlpha); in testCrop1()
271 byte alpha = 121; in testCrop2()
279 scale, alpha); in testCrop2()
301 assertEquals(alpha, outAlphaData[y*120+x]); in testCrop2()
313 assertEquals(alpha, outAlphaData[y*120+x]); in testCrop2()
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
DPaletteTexture.cpp23 …igned char r, unsigned char g,unsigned char b, unsigned char a):red(r),green(g),blue(b),alpha(a){}; in Color()
27 unsigned char alpha; member
165 pixelsOut[indexOut+3] = c.alpha; in uncompressTexture()
DDummyGLfuncs.h36 void GLAPIENTRY dummy_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
38 …void GLAPIENTRY dummy_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
96 void GLAPIENTRY dummy_glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
97 void GLAPIENTRY dummy_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
99 void GLAPIENTRY dummy_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
186 … void GL_APIENTRY dummy_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
DDummyGLfuncs.cpp29 … void GLAPIENTRY dummy_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha){} in dummy_glClearColor() argument
31 …oid GLAPIENTRY dummy_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha){} in dummy_glColorMask() argument
89 void GLAPIENTRY dummy_glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha){} in dummy_glColor4d() argument
90 void GLAPIENTRY dummy_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha){} in dummy_glColor4f() argument
92 void GLAPIENTRY dummy_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha){} in dummy_glColor4ub() argument
179 … void GL_APIENTRY dummy_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha){} in dummy_glBlendColor() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestGraphics.java136 public void setAlpha(int alpha) { in setAlpha() argument
137 mAlpha = alpha; in setAlpha()
138 mDrawn.add("setAlpha(" + alpha + ")"); in setAlpha()
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglMacApi.cpp33 EGLint red,green,blue,alpha,depth,stencil; in pixelFormatToConfig() local
77 alpha = 0; in pixelFormatToConfig()
79 getPixelFormatAttrib(*frmt,MAC_ALPHA_SIZE,&alpha); in pixelFormatToConfig()
85 …return new EglConfig(red,green,blue,alpha,caveat,(EGLint)index,depth,level,pMaxWidth,pMaxHeight,pM… in pixelFormatToConfig()
DEglX11Api.cpp87 int bSize,red,green,blue,alpha,depth,stencil; in pixelFormatToConfig() local
120 IS_SUCCESS(glXGetFBConfigAttrib(dpy,*frmt,GLX_ALPHA_SIZE,&alpha)); in pixelFormatToConfig()
159 return new EglConfig(red,green,blue,alpha,caveat,configId,depth,level,pMaxWidth,pMaxHeight, in pixelFormatToConfig()
DEglWindowsApi.cpp336 EGLint red,green,blue,alpha,depth,stencil; in pixelFormatToConfig() local
396 alpha = frmt->cAlphaBits; in pixelFormatToConfig()
399 …return new EglConfig(red,green,blue,alpha,caveat,(EGLint)index,depth,level,pMaxWidth,pMaxHeight,pM… in pixelFormatToConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Danim1-expected-completion53.txt2 <alpha />
Danim1-expected-completion54.txt2 <alpha />
Dnavigation1-expected-complation76.txt60 ?android:alpha
Dcolor1-expected-completion46b.txt20 …al color. Required. The color is specified with an RGB value and optional alpha channel. The value…
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/
DGLDispatch.h43 void (GLAPIENTRY *glClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
48 void (GLAPIENTRY *glColor4d) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
49 void (GLAPIENTRY *glColor4f) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
51 void (GLAPIENTRY *glColor4ub) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
53 … void (GLAPIENTRY *glColorMask) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
DGLEScmImp.cpp358 GL_API void GL_APIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)… in glClearColor() argument
360 ctx->dispatcher().glClearColor(red,green,blue,alpha); in glClearColor()
363 GL_API void GL_APIENTRY glClearColorx( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha in glClearColorx() argument
365 ctx->dispatcher().glClearColor(X2F(red),X2F(green),X2F(blue),X2F(alpha)); in glClearColorx()
411 GL_API void GL_APIENTRY glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { in glColor4f() argument
413 ctx->dispatcher().glColor4f(red,green,blue,alpha); in glColor4f()
416 GL_API void GL_APIENTRY glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { in glColor4ub() argument
418 ctx->dispatcher().glColor4ub(red,green,blue,alpha); in glColor4ub()
421 GL_API void GL_APIENTRY glColor4x( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { in glColor4x() argument
423 ctx->dispatcher().glColor4f(X2F(red),X2F(green),X2F(blue),X2F(alpha)); in glColor4x()
[all …]
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
DGLDispatch.h46 …atic void (GLAPIENTRY *glClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
48 …c void (GLAPIENTRY *glColorMask) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
123 … static void (GLAPIENTRY *glColor4d) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
124 static void (GLAPIENTRY *glColor4f) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
126 static void (GLAPIENTRY *glColor4ub) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
196 …tic void (GL_APIENTRY *glBlendColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
/sdk/emulator/opengl/host/libs/Translator/include/GLES/
Dgl.h594 GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
597 GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
641 GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
646 GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
647 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
648 …API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
/sdk/emulator/opengl/host/libs/GLESv1_dec/
Dgl.in2 GL_ENTRY(void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
5 GL_ENTRY(void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
47 GL_ENTRY(void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
51 GL_ENTRY(void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
52 GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
53 GL_ENTRY(void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
184 GL_ENTRY(void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
188 GL_ENTRY(void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DGraphicsUtilitiesTest.java110 assertEquals(baseData.alpha, copiedData.alpha); in testCopy()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DTexImageTransform.java241 byte alpha = (byte)(v * 255); in convertFloatToUnsigned()
242 unsignedData[i*4 + 3] = alpha; in convertFloatToUnsigned()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/
Dentries.in33 void, glBlendColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha
52 void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha
53 void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha
54 void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha
68 void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha
69 void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha
70 void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha
71 void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha
72 void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha
/sdk/emulator/opengl/host/libs/Translator/include/GLES2/
Dgl2.h481 …oid GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
490 …oid GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
493 … GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);

12