/frameworks/base/core/jni/android/graphics/ |
Shader.cpp | 109 jintArray colorArray, jfloatArray posArray, jint tileMode) 115 size_t count = env->GetArrayLength(colorArray); 116 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); 129 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues), JNI_ABORT); 155 jintArray colorArray, jfloatArray posArray, jint tileMode) { 159 size_t count = env->GetArrayLength(colorArray); 160 const jint* colorValues = env->GetIntArrayElements(colorArray, NULL); 172 env->ReleaseIntArrayElements(colorArray, const_cast<jint*>(colorValues),
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
demo.c | 89 GLubyte *colorArray; 127 free(object->colorArray); 149 result->colorArray = malloc(result->colorArraySize); 154 result->colorArray = NULL; 171 (useColorArray && result->colorArray == NULL) || 196 if (object->colorArray) 198 object->colorArraySize, object->colorArray); 205 free(object->colorArray); 206 object->colorArray = NULL; 440 result->colorArray[i] = (GLubyte)color[0] [all...] |
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
demo.c | 82 GLubyte *colorArray; 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[i] = color [all...] |
/frameworks/native/opengl/tests/angeles/ |
demo.c | 82 GLubyte *colorArray; 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[i] = color [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccUtils.java | 479 int length, int[] colorArray, int bits) { 482 return mapToNon2OrderBitColor(data, valueIndex, length, colorArray, 509 resultArray[resultIndex++] = colorArray[(tempByte >> (offset * bits)) 517 int length, int[] colorArray, int bits) { 520 return mapTo2OrderBitColor(data, valueIndex, length, colorArray,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 509 float[] colorArray = getColor(color); 510 boolean blendingEnabled = (colorArray[3] < 1f); 513 GLES20.glBlendColor(colorArray[0], colorArray[1], colorArray[2], colorArray[3]); 517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 509 float[] colorArray = getColor(color); 510 boolean blendingEnabled = (colorArray[3] < 1f); 513 GLES20.glBlendColor(colorArray[0], colorArray[1], colorArray[2], colorArray[3]); 517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 507 float[] colorArray = getColor(color); 508 boolean blendingEnabled = (colorArray[3] < 1f); 511 GLES20.glBlendColor(colorArray[0], colorArray[1], colorArray[2], colorArray[3]); 515 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventView.java | [all...] |
/frameworks/base/tools/aapt/ |
ResourceTable.cpp | 157 static const char16_t colorArray[] = 180 { colorArray, sizeof(colorArray)/2, ResTable_map::TYPE_COLOR, [all...] |