Home
last modified time | relevance | path

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

/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.cpp72 static const GLfloat triangleVertices[] = { in drawTexture() local
80 triangleVertices); in drawTexture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java525 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom); in drawWallpaperWithOpenGL() local
554 triangleVertices.position(TRIANGLE_VERTICES_DATA_POS_OFFSET); in drawWallpaperWithOpenGL()
556 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawWallpaperWithOpenGL()
558 triangleVertices.position(TRIANGLE_VERTICES_DATA_UV_OFFSET); in drawWallpaperWithOpenGL()
560 TRIANGLE_VERTICES_DATA_STRIDE_BYTES, triangleVertices); in drawWallpaperWithOpenGL()
582 final FloatBuffer triangleVertices = ByteBuffer.allocateDirect(bytes).order( in createMesh() local
584 triangleVertices.put(verticesData).position(0); in createMesh()
585 return triangleVertices; in createMesh()