Home
last modified time | relevance | path

Searched refs:colorArray (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/tests/angeles/
Ddemo.c82 GLubyte *colorArray; member
110 free(object->colorArray); in freeGLObject()
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte)); in newGLObject()
136 result->colorArray == NULL || in newGLObject()
152 glColorPointer(4, GL_UNSIGNED_BYTE, 0, object->colorArray); in drawGLObject()
304 result->colorArray[i] = (GLubyte)color[0]; in createSuperShape()
305 result->colorArray[i + 1] = (GLubyte)color[1]; in createSuperShape()
306 result->colorArray[i + 2] = (GLubyte)color[2]; in createSuperShape()
307 result->colorArray[i + 3] = 0; in createSuperShape()
372 result->colorArray[i] = color; in createGroundPlane()
[all …]
/frameworks/base/core/jni/android/graphics/
DShader.cpp109 jintArray colorArray, jfloatArray posArray, jint tileMode) in LinearGradient_create1() argument
115 size_t count = env->GetArrayLength(colorArray); in LinearGradient_create1()
116 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in LinearGradient_create1()
129 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT); in LinearGradient_create1()
155 jintArray colorArray, jfloatArray posArray, jint tileMode) { in RadialGradient_create1() argument
159 size_t count = env->GetArrayLength(colorArray); in RadialGradient_create1()
160 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in RadialGradient_create1()
172 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), in RadialGradient_create1()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccUtils.java502 int length, int[] colorArray, int bits) { in mapTo2OrderBitColor() argument
505 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray, in mapTo2OrderBitColor()
532 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits)) in mapTo2OrderBitColor()
540 int length, int[] colorArray, int bits) { in mapToNon2OrderBitColor() argument
543 return mapTo2OrderBitColor(data, valueIndex, length, colorArray, in mapToNon2OrderBitColor()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java509 float[] colorArray = getColor(color); in prepareDraw() local
510 boolean blendingEnabled = (colorArray[3] < 1f); in prepareDraw()
513 GLES20.glBlendColor(colorArray[0], colorArray[1], colorArray[2], colorArray[3]); in prepareDraw()
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); in prepareDraw()
/frameworks/base/tools/aapt/
DResourceTable.cpp157 static const char16_t colorArray[] = variable
180 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,