Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 20 of 20) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DLayer.java52 float sin = (float)Math.sin(angle); in setAngle() local
59 m[1][2] = sin; in setAngle()
60 m[2][1] = -sin; in setAngle()
67 m[0][2] = sin; in setAngle()
68 m[2][0] = -sin; in setAngle()
75 m[0][1] = sin; in setAngle()
76 m[1][0] = -sin; in setAngle()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
DCubeWallpaper1.java211 float newy1 = (float)(Math.sin(xrot) * z1 + Math.cos(xrot) * y1); in drawLine()
212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); in drawLine()
213 float newz1 = (float)(Math.cos(xrot) * z1 - Math.sin(xrot) * y1); in drawLine()
214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); in drawLine()
217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1); in drawLine()
218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); in drawLine()
219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1); in drawLine()
220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2); in drawLine()
/development/ndk/platforms/android-3/include/netinet/
Din.h44 extern int bindresvport (int sd, struct sockaddr_in *sin);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java518 float nx = (float) (Math.sin(orientation) * Math.sin(tilt)); in drawSplat()
519 float ny = (float) (- Math.cos(orientation) * Math.sin(tilt)); in drawSplat()
535 double vy = Math.sin(direction) * dispersion; in drawSplat()
540 vy = temp * Math.cos(tilt) - vz * Math.sin(tilt); in drawSplat()
541 vz = temp * Math.sin(tilt) + vz * Math.cos(tilt); in drawSplat()
545 vx = temp * Math.cos(orientation) - vy * Math.sin(orientation); in drawSplat()
546 vy = temp * Math.sin(orientation) + vy * Math.cos(orientation); in drawSplat()
DCubeMapActivity.java170 float sinV = (float) Math.sin(angleV); in generateTorusGrid()
174 float sinU = (float) Math.sin(angleU); in generateTorusGrid()
DMatrixPaletteRenderer.java396 float z = radius * (float) Math.sin(angle); in generateWeightedGrid()
/development/ndk/platforms/android-9/include/
Dmath.h208 double sin(double);
485 void sincos(double x, double *sin, double *cos);
486 void sincosf(float x, float *sin, float *cos);
487 void sincosl(long double x, long double *sin, long double *cos);
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java261 float newy = (float)(Math.sin(xrot) * z + Math.cos(xrot) * y); in rotateAndProjectPoints()
262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); in rotateAndProjectPoints()
265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x); in rotateAndProjectPoints()
266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x); in rotateAndProjectPoints()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c181 point->y = (float)(sin(t) * cos(p) / r1 / r2); in superShapeMap()
182 point->z = (float)(sin(p) / r2); in superShapeMap()
189 pow(fabs(sin(p[0] * t / 4)) / p[2], p[5]), 1 / p[3])); in ssFunc()
385 const float m = (float)(cos(xm * 2) * sin(ym * 4) * 0.75f); in createGroundPlane()
733 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
742 cY = eY + (float)sin(lerp[3]); in camTrack()
/development/ndk/platforms/android-9/arch-mips/symbols/
Dlibm.so.functions.txt159 sin
/development/ndk/platforms/android-9/arch-x86/symbols/
Dlibm.so.functions.txt172 sin
/development/ndk/platforms/android-3/arch-arm/symbols/
Dlibm.so.functions.txt207 sin
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java451 float velocityY = (float) Math.sin(direction) * speed;
612 (float)Math.sin(-CORNER_ANGLE) * mSize);
615 (float)Math.sin(CORNER_ANGLE) * mSize);
647 return (float) Math.sin(mHeadingAngle) * radius;
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DDialView.java234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2); in computeXYForPosition()
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java439 float velocityY = (float) Math.sin(direction) * speed; in step()
682 (float) Math.sin(-CORNER_ANGLE) * mSize); in Ship()
685 (float) Math.sin(CORNER_ANGLE) * mSize); in Ship()
940 return (float) Math.sin(mHeadingAngle) * radius;
/development/ndk/platforms/android-3/include/
Dmath.h208 double sin(double);
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c106 angle_sin_tab[nn] = FIXED_FROM_FLOAT(sin(radians)); in init_angles()
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c111 angle_sin_tab[nn] = FIXED_FROM_FLOAT(sin(radians)); in init_angles()
/development/samples/LunarLander/src/com/example/android/lunarlander/
DLunarView.java733 ddx = Math.sin(radians) * accel; in updatePhysics()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt813 redemption - n. (theology) the act of delivering from sin or saving from evil