Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DLayer.java45 public void setAngle(float angle) { in setAngle() argument
48 while (angle >= twopi) angle -= twopi; in setAngle()
49 while (angle < 0f) angle += twopi; in setAngle()
52 float sin = (float)Math.sin(angle); in setAngle()
53 float cos = (float)Math.cos(angle); in setAngle()
DKubeRenderer.java103 public void setAngle(float angle) { in setAngle() argument
104 mAngle = angle; in setAngle()
/development/ndk/platforms/android-9/samples/native-activity/jni/
Dmain.c36 float angle; member
117 engine->state.angle = 0; in engine_init_display()
138 glClearColor(((float)engine->state.x)/engine->width, engine->state.angle, in engine_draw_frame()
296 engine.state.angle += .01f; in android_main()
297 if (engine.state.angle > 1) { in android_main()
298 engine.state.angle = 0; in android_main()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixStack.java126 public void glRotatef(float angle, float x, float y, float z) { in glRotatef() argument
127 Matrix.setRotateM(mTemp, 0, angle, x, y, z); in glRotatef()
132 public void glRotatex(int angle, int x, int y, int z) { in glRotatex() argument
133 glRotatef(angle, fixedToFloat(x), fixedToFloat(y), fixedToFloat(z)); in glRotatex()
DSpriteTextRenderer.java185 float angle = 0.090f * ((int) time); in onDrawFrame() local
187 gl.glRotatef(angle, 0, 0, 1.0f); in onDrawFrame()
DMatrixTrackingGL.java541 public void glRotatef(float angle, float x, float y, float z) { in glRotatef() argument
542 mCurrent.glRotatef(angle, x, y, z); in glRotatef()
543 mgl.glRotatef(angle, x, y, z); in glRotatef()
547 public void glRotatex(int angle, int x, int y, int z) { in glRotatex() argument
548 mCurrent.glRotatex(angle, x, y, z); in glRotatex()
549 mgl.glRotatex(angle, x, y, z); in glRotatex()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java345 float angle = unitAngle * 135f; in onDrawFrame() local
358 gl.glRotatef(angle, 0, 0, 1.0f); in onDrawFrame()
393 double angle = Math.PI * 2 * i / uSteps; in generateWeightedGrid() local
394 float x = radius * (float) Math.cos(angle); in generateWeightedGrid()
396 float z = radius * (float) Math.sin(angle); in generateWeightedGrid()
DStaticTriangleRenderer.java160 float angle = 0.090f * ((int) time); in onDrawFrame() local
162 glRotatef(angle, 0, 0, 1.0f); in onDrawFrame()
DTriangleRenderer.java147 float angle = 0.090f * ((int) time); in onDrawFrame() local
149 gl.glRotatef(angle, 0, 0, 1.0f); in onDrawFrame()
DGLES20TriangleRenderer.java74 float angle = 0.090f * ((int) time); in onDrawFrame() local
75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame()
DColorPickerDialog.java187 float angle = (float)java.lang.Math.atan2(y, x); in onTouchEvent() local
189 float unit = angle/(2*PI); in onTouchEvent()
DFrameBufferObjectActivity.java123 float angle = 0.090f * ((int) time); in drawOnscreen() local
125 gl.glRotatef(angle, 0, 0, 1.0f); in drawOnscreen()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java72 float angle = 0.090f * ((int) time); in onDrawFrame() local
73 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h101 FNDEF(void, glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z));
/development/tools/emulator/opengl/tests/gles_android_wrapper/
Dgles.cpp211 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) in glRotatef() argument
213 getDispatch()->glRotatef(angle, x, y, z); in glRotatef()
661 void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatex() argument
663 getDispatch()->glRotatex(angle, x, y, z); in glRotatex()
1001 void glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatexOES() argument
1003 getDispatch()->glRotatexOES(angle, x, y, z); in glRotatexOES()
/development/tools/emulator/opengl/system/GLESv1_enc/
Dgl_entry.cpp40 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
129 void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
217 void glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
495 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) in glRotatef() argument
498 ctx->glRotatef(ctx, angle, x, y, z); in glRotatef()
1033 void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatex() argument
1036 ctx->glRotatex(ctx, angle, x, y, z); in glRotatex()
1561 void glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatexOES() argument
1564 ctx->glRotatexOES(ctx, angle, x, y, z); in glRotatexOES()
Dgl_enc.h55 void glRotatef_enc(void *self , GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
144 void glRotatex_enc(void *self , GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
232 void glRotatexOES_enc(void *self , GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
Dgl_enc.cpp560 void glRotatef_enc(void *self , GLfloat angle, GLfloat x, GLfloat y, GLfloat z) in glRotatef_enc() argument
572 memcpy(ptr, &angle, 4); ptr += 4; in glRotatef_enc()
2018 void glRotatex_enc(void *self , GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatex_enc() argument
2030 memcpy(ptr, &angle, 4); ptr += 4; in glRotatex_enc()
3547 void glRotatexOES_enc(void *self , GLfixed angle, GLfixed x, GLfixed y, GLfixed z) in glRotatexOES_enc() argument
3559 memcpy(ptr, &angle, 4); ptr += 4; in glRotatexOES_enc()
/development/ndk/platforms/android-4/include/GLES/
Dgl.h624 GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
716 GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
Dglext.h560 GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
600 typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt478 inclined - j. at an angle to the horizontal or vertical position