Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java385 mXyBuffer = allocateDirectNativeOrderBuffer(size).asFloatBuffer(); in prepareVertexData()
386 mUvBuffer = allocateDirectNativeOrderBuffer(size).asFloatBuffer(); in prepareVertexData()
387 mIndexBuffer = allocateDirectNativeOrderBuffer(mIdxCount); in prepareVertexData()
394 private static ByteBuffer allocateDirectNativeOrderBuffer(int size) { in allocateDirectNativeOrderBuffer() method in NinePatchInstance
DGLES11Canvas.java104 FloatBuffer xyBuffer = allocateDirectNativeOrderBuffer(size).asFloatBuffer(); in GLES11Canvas()
172 private static ByteBuffer allocateDirectNativeOrderBuffer(int size) { in allocateDirectNativeOrderBuffer() method in GLES11Canvas