Home
last modified time | relevance | path

Searched refs:jcolors (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DShader.cpp217 jintArray jcolors, jfloatArray jpositions) { in SweepGradient_create1() argument
219 size_t count = env->GetArrayLength(jcolors); in SweepGradient_create1()
220 const jint* colors = env->GetIntArrayElements(jcolors, NULL); in SweepGradient_create1()
240 env->ReleaseIntArrayElements(jcolors, const_cast<jint*>(colors), in SweepGradient_create1()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp318 jintArray jcolors, jint colorIndex, in drawVertices() argument
323 AutoJavaIntArray colorA(env, jcolors, colorIndex + floatCount); in drawVertices()
331 if (jcolors != NULL) { in drawVertices()
446 jintArray jcolors, jint offset, jint stride, in drawBitmapArray() argument
461 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride, 0, 0, width, height, bitmap)) { in drawBitmapArray()
471 jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) { in drawBitmapMesh() argument
481 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh()