Searched refs:jcolors (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 179 jintArray jcolors, jfloatArray jpositions) { in SweepGradient_create1() argument 180 size_t count = env->GetArrayLength(jcolors); in SweepGradient_create1() 181 const jint* colors = env->GetIntArrayElements(jcolors, NULL); in SweepGradient_create1() 192 env->ReleaseIntArrayElements(jcolors, const_cast<jint*>(colors), in SweepGradient_create1()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 285 jintArray jcolors, jint colorIndex, in drawVertices() argument 290 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount); in drawVertices() 298 if (jcolors != NULL) { in drawVertices() 377 jintArray jcolors, jint offset, jint stride, in drawBitmapArray() argument 390 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride, 0, 0, width, height, bitmap)) { in drawBitmapArray() 400 jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) { in drawBitmapMesh() argument 403 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh()
|