Home
last modified time | relevance | path

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

/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java137 FloatBuffer triangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length in run() local
139 triangleVertices.put(mTriangleVerticesData).position(0); in run()
169 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in run()
171 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in run()
174 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in run()
176 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in run()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java184 FloatBuffer triangleVertices = ByteBuffer.allocateDirect(mTriangleVerticesData.length in run() local
186 triangleVertices.put(mTriangleVerticesData).position(0); in run()
216 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in run()
218 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in run()
221 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in run()
223 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in run()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java310 FloatBuffer triangleVertices; in drawFrame() local
313 triangleVertices = mHorizontalFlipTriangleVertices; in drawFrame()
316 triangleVertices = mVerticalFlipTriangleVertices; in drawFrame()
319 triangleVertices = mBothFlipTriangleVertices; in drawFrame()
322 triangleVertices = mRegularTriangleVertices; in drawFrame()
326 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in drawFrame()
328 /*normalized*/ false, TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()
333 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in drawFrame()
335 /*normalized*/ false, TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawFrame()
/frameworks/native/libs/gui/tests/
DTextureRenderer.cpp73 static const GLfloat triangleVertices[] = { in drawTexture() local
81 triangleVertices); in drawTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java579 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); in drawWallpaperWithOpenGL() local
608 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in drawWallpaperWithOpenGL()
610 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawWallpaperWithOpenGL()
612 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in drawWallpaperWithOpenGL()
614 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawWallpaperWithOpenGL()
636 final FloatBuffer triangleVertices = ByteBuffer.allocateDirect(bytes).order( in createMesh() local
638 triangleVertices.put(verticesData).position(0); in createMesh()
639 return triangleVertices; in createMesh()