Home
last modified time | relevance | path

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

12

/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/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java218 float sin = (float) Math.sin((double) value); in performFilter() local
220 mat.set(0, 0, (float) (.299 + .701 * cos + .168 * sin)); in performFilter()
221 mat.set(1, 0, (float) (.587 - .587 * cos + .330 * sin)); in performFilter()
222 mat.set(2, 0, (float) (.114 - .114 * cos - .497 * sin)); in performFilter()
223 mat.set(0, 1, (float) (.299 - .299 * cos - .328 * sin)); in performFilter()
224 mat.set(1, 1, (float) (.587 + .413 * cos + .035 * sin)); in performFilter()
225 mat.set(2, 1, (float) (.114 - .114 * cos + .292 * sin)); in performFilter()
226 mat.set(0, 2, (float) (.299 - .3 * cos + 1.25 * sin)); in performFilter()
227 mat.set(1, 2, (float) (.587 - .588 * cos - 1.05 * sin)); in performFilter()
228 mat.set(2, 2, (float) (.114 + .886 * cos - .203 * sin)); in performFilter()
/development/ndk/platforms/android-3/include/netinet/
Din.h44 extern int bindresvport (int sd, struct sockaddr_in *sin);
/development/ndk/platforms/android-L/include/netinet/
Din.h46 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()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DSweepWatchFaceService.java203 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
205 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
222 float secX = (float) Math.sin(secRot) * secLength; in onDraw()
227 float minX = (float) Math.sin(minRot) * minLength; in onDraw()
231 float hrX = (float) Math.sin(hrRot) * hrLength; in onDraw()
DTiltWatchFaceService.java204 final float eyeY = (float) Math.sin(cameraAngle); in onGlContextCreated()
353 double sin = Math.sin(angleRadians); in rotateCoords() local
357 coords[i] = (float) (cos * x - sin * y); in rotateCoords()
358 coords[i + 1] = (float) (sin * x + cos * y); in rotateCoords()
DAnalogWatchFaceService.java240 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
242 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
258 float secX = (float) Math.sin(secRot) * secLength; in onDraw()
263 float minX = (float) Math.sin(minRot) * minLength; in onDraw()
267 float hrX = (float) Math.sin(hrRot) * hrLength; in onDraw()
/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-9/include/
Dmath.h208 double sin(double) __NDK_FPABI_MATH__;
485 void sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
486 void sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
487 void sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
697 void __builtin_sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
698 void __builtin_sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
699 void __builtin_sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
/development/ndk/platforms/android-18/include/
Dmath.h208 double sin(double) __NDK_FPABI_MATH__;
493 void sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
494 void sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
495 void sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
712 void __builtin_sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
713 void __builtin_sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
714 void __builtin_sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
/development/ndk/platforms/android-13/include/
Dmath.h208 double sin(double) __NDK_FPABI_MATH__;
490 void sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
491 void sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
492 void sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
705 void __builtin_sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
706 void __builtin_sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
707 void __builtin_sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
/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-18/arch-mips/symbols/
Dlibm.so.functions.txt168 sin
/development/ndk/platforms/android-13/arch-mips/symbols/
Dlibm.so.functions.txt162 sin
/development/ndk/platforms/android-13/arch-x86/symbols/
Dlibm.so.functions.txt173 sin
/development/ndk/platforms/android-9/arch-x86/symbols/
Dlibm.so.functions.txt172 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/ndk/platforms/android-3/include/
Dmath.h208 double sin(double) __NDK_FPABI_MATH__;
485 void sincos(double x, double *sin, double *cos) __NDK_FPABI_MATH__;
486 void sincosf(float x, float *sin, float *cos) __NDK_FPABI_MATH__;
487 void sincosl(long double x, long double *sin, long double *cos) __NDK_FPABI_MATH__;
/development/ndk/platforms/android-18/arch-x86/symbols/
Dlibm.so.functions.txt182 sin
/development/ndk/platforms/android-L/arch-x86/symbols/
Dlibm.so.functions.txt191 sin
/development/ndk/platforms/android-L/arch-arm64/symbols/
Dlibm.so.functions.txt188 sin
/development/ndk/platforms/android-L/arch-x86_64/symbols/
Dlibm.so.functions.txt188 sin

12