Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DShader.cpp112 jintArray colorArray, jfloatArray posArray, int tileMode) in LinearGradient_create1() argument
118 size_t count = env->GetArrayLength(colorArray); in LinearGradient_create1()
119 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in LinearGradient_create1()
138 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT); in LinearGradient_create1()
144 float x0, float y0, float x1, float y1, jintArray colorArray, in LinearGradient_postCreate1() argument
147 size_t count = env->GetArrayLength(colorArray); in LinearGradient_postCreate1()
148 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in LinearGradient_postCreate1()
178 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT); in LinearGradient_postCreate1()
231 jintArray colorArray, jfloatArray posArray, int tileMode) { in RadialGradient_create1() argument
235 size_t count = env->GetArrayLength(colorArray); in RadialGradient_create1()
[all …]
/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/telephony/java/com/android/internal/telephony/
DIccUtils.java462 int length, int[] colorArray, int bits) { in mapTo2OrderBitColor() argument
465 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray, in mapTo2OrderBitColor()
492 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits)) in mapTo2OrderBitColor()
500 int length, int[] colorArray, int bits) { in mapToNon2OrderBitColor() argument
503 return mapTo2OrderBitColor(data, valueIndex, length, colorArray, in mapToNon2OrderBitColor()
/frameworks/base/tools/aapt/
DResourceTable.cpp117 static const char16_t colorArray[] = variable
140 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,