Searched defs:verts (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/utils/
H A DBoundaryPatch.java141 // the verts[] and tex[] arrays combined
142 // (tex[] are stored after verts[])
151 // we need mRows * mCols points, for verts and another set for textures
152 // so *2 for going from points -> floats, and *2 for verts and textures
171 float[] verts, short[] indices);
169 nativeComputeCubicPatch(float[] cubicPoints, int texW, int texH, int rows, int cols, float[] verts, short[] indices) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas.java1058 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
1061 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset, paint);
1159 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
1163 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset, colors, colorOffset,
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp593 storageSize += ptCount * sizeof(SkPoint); // storage for verts
599 SkPoint* verts; local
602 verts = (SkPoint*)(vertA.ptr() + vertIndex);
605 verts = texs + ptCount;
606 indices = (uint16_t*)(verts + ptCount);
611 verts[i].set(SkFloatToFixed(src[0]), SkFloatToFixed(src[1]));
685 canvas->drawVertices(SkCanvas::kTriangles_VertexMode, ptCount, verts,
705 SkPoint* verts; local
708 verts = (SkPoint*)(vertA.ptr() + vertIndex);
713 int count = ptCount; // for verts
978 SkPoint* verts = (SkPoint*)vertsArray.ptr(); local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1128 * meshHeight+1 vertices down. The verts array is accessed in row-major
1138 * @param verts Array of x,y pairs, specifying where the mesh should be
1142 * @param vertOffset Number of verts elements to skip before drawing
1152 float[] verts, int vertOffset,
1162 checkRange(verts.length, vertOffset, count * 2);
1168 verts, vertOffset, colors, colorOffset,
1185 * verts array is required, and specifies the x,y pairs for each vertex. If
1200 * @param verts Array of vertices for the mesh
1201 * @param vertOffset Number of values in the verts to skip before drawing.
1214 float[] verts, in
1151 drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, Paint paint) argument
1213 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument
1547 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument
1551 nativeDrawVertices(int nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, int nPaint) argument
[all...]

Completed in 92 milliseconds