Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DShader.cpp95 static std::vector<SkColor4f> convertColorLongs(JNIEnv* env, jlongArray colorArray) { in convertColorLongs() argument
96 const size_t count = env->GetArrayLength(colorArray); in convertColorLongs()
97 const jlong* colorValues = env->GetLongArrayElements(colorArray, nullptr); in convertColorLongs()
104 env->ReleaseLongArrayElements(colorArray, const_cast<jlong*>(colorValues), JNI_ABORT); in convertColorLongs()
111 jfloat x0, jfloat y0, jfloat x1, jfloat y1, jlongArray colorArray, in LinearGradient_create() argument
117 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in LinearGradient_create()
150 jlongArray colorArray, in RadialGradient_create() argument
161 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in RadialGradient_create()
192 jlongArray colorArray, jfloatArray jpositions, jlong colorSpaceHandle) { in SweepGradient_create() argument
193 std::vector<SkColor4f> colors = convertColorLongs(env, colorArray); in SweepGradient_create()
/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/uicc/
DIccUtils.java625 int length, int[] colorArray, int bits) { in mapTo2OrderBitColor() argument
628 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray, in mapTo2OrderBitColor()
655 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits)) in mapTo2OrderBitColor()
663 int length, int[] colorArray, int bits) { in mapToNon2OrderBitColor() argument
666 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.cpp165 static const char16_t colorArray[] = variable
188 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,