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

/frameworks/base/core/jni/android/graphics/
H A DShader.cpp112 jintArray colorArray, jfloatArray posArray, int tileMode)
118 size_t count = env->GetArrayLength(colorArray);
119 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL);
138 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT);
144 float x0, float y0, float x1, float y1, jintArray colorArray,
147 size_t count = env->GetArrayLength(colorArray);
148 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL);
208 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT);
261 jintArray colorArray, jfloatArray posArray, int tileMode) {
265 size_t count = env->GetArrayLength(colorArray);
110 LinearGradient_create1(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
143 LinearGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
260 RadialGradient_create1(JNIEnv* env, jobject, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument
306 RadialGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument
405 SweepGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, jintArray colorArray, jfloatArray posArray) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java462 int length, int[] colorArray, int bits) {
465 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray,
492 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits))
500 int length, int[] colorArray, int bits) {
503 return mapTo2OrderBitColor(data, valueIndex, length, colorArray,
461 mapTo2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
499 mapToNon2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c82 GLubyte *colorArray; member in struct:__anon1486
110 free(object->colorArray);
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte));
136 result->colorArray == NULL ||
152 glColorPointer(4, GL_UNSIGNED_BYTE, 0, object->colorArray);
304 result->colorArray[i] = (GLubyte)color[0];
305 result->colorArray[i + 1] = (GLubyte)color[1];
306 result->colorArray[i + 2] = (GLubyte)color[2];
307 result->colorArray[i + 3] = 0;
372 result->colorArray[
[all...]
/frameworks/base/tools/aapt/
H A DResourceTable.cpp117 static const char16_t colorArray[] = variable
140 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,

Completed in 300 milliseconds