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/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
DMyGLRenderer.java102 public void setAngle(float angle) { in setAngle() argument
103 mAngle = angle; in setAngle()
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DDialView.java232 Double angle = startAngle + (pos * (Math.PI / 4)); in computeXYForPosition() local
233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2); in computeXYForPosition()
234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2); in computeXYForPosition()
/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()
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()
DSpriteTextRenderer.java185 float angle = 0.090f * ((int) time); in onDrawFrame() local
187 gl.glRotatef(angle, 0, 0, 1.0f); in onDrawFrame()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DMyGLRenderer.java162 public void setAngle(float angle) { in setAngle() argument
163 mAngle = angle; in setAngle()
/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()
DColorPickerDialog.java187 float angle = (float)java.lang.Math.atan2(y, x); in onTouchEvent() local
189 float unit = angle/(2*PI); in onTouchEvent()
DGLES20TriangleRenderer.java74 float angle = 0.090f * ((int) time); in onDrawFrame() local
75 Matrix.setRotateM(mMMatrix, 0, angle, 0, 0, 1.0f); in onDrawFrame()
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/sources/android/ndk_helper/
Dvecmath.h920 static Mat4 RotationX( const float angle );
922 static Mat4 RotationY( const float angle );
924 static Mat4 RotationZ( const float angle );
1095 static Quaternion RotationAxis( const Vec3 axis, const float angle ) in RotationAxis() argument
1098 float s = sinf( angle / 2 ); in RotationAxis()
1102 ret.w_ = cosf( angle / 2 ); in RotationAxis()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Dimportgl.h101 FNDEF(void, glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z));
/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.h562 GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
602 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