Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DVertices.java36 private final float[] mVerts = new float[10]; field in Vertices.SampleView
67 setXY(mVerts, 0, w/2, h/2); in SampleView()
68 setXY(mVerts, 1, 0, 0); in SampleView()
69 setXY(mVerts, 2, w, 0); in SampleView()
70 setXY(mVerts, 3, w, h); in SampleView()
71 setXY(mVerts, 4, 0, h); in SampleView()
83 canvas.drawVertices(Canvas.VertexMode.TRIANGLE_FAN, 10, mVerts, 0, in onDraw()
87 canvas.drawVertices(Canvas.VertexMode.TRIANGLE_FAN, 10, mVerts, 0, in onDraw()
96 setXY(mVerts, 0, pt[0], pt[1]); in onTouchEvent()
DBitmapMesh.java40 private final float[] mVerts = new float[COUNT*2]; field in BitmapMesh.SampleView
66 setXY(mVerts, index, fx, fy); in SampleView()
80 canvas.drawBitmapMesh(mBitmap, WIDTH, HEIGHT, mVerts, 0, in onDraw()
87 float[] dst = mVerts; in warp()