Searched refs:colorArray (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 82 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/support/wear/src/main/java/androidx/wear/widget/ |
D | CircularProgressLayout.java | 168 TypedArray colorArray = resources.obtainTypedArray(arrayResId); in getColorListFromResources() local 169 int[] colors = new int[colorArray.length()]; in getColorListFromResources() 170 for (int i = 0; i < colorArray.length(); i++) { in getColorListFromResources() 171 colors[i] = colorArray.getColor(i, 0); in getColorListFromResources() 173 colorArray.recycle(); in getColorListFromResources()
|
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 97 jintArray colorArray, jfloatArray posArray, jint tileMode) { in LinearGradient_create1() argument 103 size_t count = env->GetArrayLength(colorArray); in LinearGradient_create1() 104 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in LinearGradient_create1() 124 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT); in LinearGradient_create1() 158 jfloat radius, jintArray colorArray, jfloatArray posArray, jint tileMode) { in RadialGradient_create1() argument 163 size_t count = env->GetArrayLength(colorArray); in RadialGradient_create1() 164 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); in RadialGradient_create1() 184 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), in RadialGradient_create1()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 542 int length, int[] colorArray, int bits) { in mapTo2OrderBitColor() argument 545 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray, in mapTo2OrderBitColor() 572 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits)) in mapTo2OrderBitColor() 580 int length, int[] colorArray, int bits) { in mapToNon2OrderBitColor() argument 583 return mapTo2OrderBitColor(data, valueIndex, length, colorArray, in mapToNon2OrderBitColor()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 509 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/ |
D | ResourceTable.cpp | 168 static const char16_t colorArray[] = variable 191 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR,
|