Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DOpenGLWatchFaceService.java334 float[] coords = new float[]{ in getTickTriangleCoords() local
341 rotateCoords(coords, angleDegrees); in getTickTriangleCoords()
342 return coords; in getTickTriangleCoords()
353 private void rotateCoords(float[] coords, int angleDegrees) { in rotateCoords() argument
357 for (int i = 0; i < coords.length; i += 3) { in rotateCoords()
358 float x = coords[i]; in rotateCoords()
359 float y = coords[i + 1]; in rotateCoords()
360 coords[i] = (float) (cos * x - sin * y); in rotateCoords()
361 coords[i + 1] = (float) (sin * x + cos * y); in rotateCoords()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java696 public void glDrawTexfvOES(float[] coords, int offset) { in glDrawTexfvOES() argument
697 mgl11Ext.glDrawTexfvOES(coords, offset); in glDrawTexfvOES()
700 public void glDrawTexfvOES(FloatBuffer coords) { in glDrawTexfvOES() argument
701 mgl11Ext.glDrawTexfvOES(coords); in glDrawTexfvOES()
708 public void glDrawTexivOES(int[] coords, int offset) { in glDrawTexivOES() argument
709 mgl11Ext.glDrawTexivOES(coords, offset); in glDrawTexivOES()
712 public void glDrawTexivOES(IntBuffer coords) { in glDrawTexivOES() argument
713 mgl11Ext.glDrawTexivOES(coords); in glDrawTexivOES()
721 public void glDrawTexsvOES(short[] coords, int offset) { in glDrawTexsvOES() argument
722 mgl11Ext.glDrawTexsvOES(coords, offset); in glDrawTexsvOES()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DStaticTriangleRenderer.java231 float[] coords = { in Triangle() local
240 mFVertexBuffer.put(coords[i*3+j] * 2.0f); in Triangle()
246 mTexBuffer.put(coords[i*3+j] * 2.0f + 0.5f); in Triangle()
DTriangleRenderer.java199 float[] coords = { in Triangle() local
208 mFVertexBuffer.put(coords[i*3+j] * 2.0f); in Triangle()
214 mTexBuffer.put(coords[i*3+j] * 2.0f + 0.5f); in Triangle()
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DTextureRenderer.java159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 }; in computeOutputVertices() local
160 mPosVertices.put(coords).position(0); in computeOutputVertices()
/development/samples/HelloEffects/src/com/example/android/mediafx/
DTextureRenderer.java159 float[] coords = new float[] { x0, y0, x1, y0, x0, y1, x1, y1 }; in computeOutputVertices() local
160 mPosVertices.put(coords).position(0); in computeOutputVertices()
/development/ndk/platforms/android-4/include/GLES/
Dglext.h485 GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
486 GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
487 GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
489 GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
494 typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
495 typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords);
496 typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords);
498 typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords);
/development/ndk/platforms/android-24/include/GLES2/
Dgl2ext.h2519 …zei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2520 …TRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
2521 …zei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2522 …NVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
2549 typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
2577 …zei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2578 … GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
2579 …zei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
2580 …oordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
2607 GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);