Searched refs:vertexCount (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1197 * @param vertexCount The number of values in the vertices array (and
1199 * vertex is two values (x, y), vertexCount must be a multiple of 2.
1213 public void drawVertices(VertexMode mode, int vertexCount, argument
1219 checkRange(verts.length, vertOffset, vertexCount);
1221 checkRange(texs.length, texOffset, vertexCount);
1224 checkRange(colors.length, colorOffset, vertexCount);
1229 nativeDrawVertices(mNativeCanvas, mode.nativeInt, vertexCount, verts,
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp691 SkCanvas::VertexMode mode, int vertexCount,
698 AutoJavaFloatArray vertA(env, jverts, vertIndex + vertexCount);
699 AutoJavaFloatArray texA(env, jtexs, texIndex + vertexCount);
700 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount);
703 const int ptCount = vertexCount >> 1;
690 drawVertices(JNIEnv* env, jobject, SkCanvas* canvas, SkCanvas::VertexMode mode, int vertexCount, jfloatArray jverts, int vertIndex, jfloatArray jtexs, int texIndex, jintArray jcolors, int colorIndex, jshortArray jindices, int indexIndex, int indexCount, const SkPaint* paint) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas.java1159 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
1163 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset, colors, colorOffset,

Completed in 166 milliseconds