Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/renderscript/
DSimpleMesh.java184 short mIndexData[]; field in SimpleMesh.TriangleMeshBuilder
211 mIndexData = new short[128]; in TriangleMeshBuilder()
303 if ((mIndexCount + 3) >= mIndexData.length) { in addTriangle()
304 short t[] = new short[mIndexData.length * 2]; in addTriangle()
305 System.arraycopy(mIndexData, 0, t, 0, mIndexData.length); in addTriangle()
306 mIndexData = t; in addTriangle()
308 mIndexData[mIndexCount++] = (short)idx1; in addTriangle()
309 mIndexData[mIndexCount++] = (short)idx2; in addTriangle()
310 mIndexData[mIndexCount++] = (short)idx3; in addTriangle()
357 indexAlloc.data(mIndexData); in create()