Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 19 of 19) 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/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/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/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/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DOpenGLWatchFaceService.java207 final float eyeY = (float) Math.sin(cameraAngle); in onGlContextCreated()
356 double sin = Math.sin(angleRadians); in rotateCoords() local
360 coords[i] = (float) (cos * x - sin * y); in rotateCoords()
361 coords[i + 1] = (float) (sin * x + cos * y); in rotateCoords()
DSweepWatchFaceService.java340 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
342 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
DAnalogWatchFaceService.java375 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in onDraw()
377 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in onDraw()
DComplicationSimpleWatchFaceService.java639 float innerX = (float) Math.sin(tickRot) * innerTickRadius; in drawWatchFace()
641 float outerX = (float) Math.sin(tickRot) * outerTickRadius; in drawWatchFace()
/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/vndk/tools/definition-tool/tests/testdata/test_generic_refs/system/lib64/
Dlibm.so.sym5 EXP_SYMBOL sin
/development/vndk/tools/definition-tool/tests/testdata/test_generic_refs/system/lib/
Dlibm.so.sym5 EXP_SYMBOL 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/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/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DDialView.java234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2); in computeXYForPosition()
/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
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv46970 …2cc33,platform/external/mesa3d,fake_i80IxMhGR0mLzSsrwDhkMw@fakeemail.com,freedreno/ir3: fix sin/cos
47547 …_nc0oJMw1QkSW8BoFbLZOiQ@fakeemail.com,"gallivm: handle -inf, inf and nan's in sin/cos instructions"
48217 …m/external/mesa3d,fake_GPrFgw1WSAm8VfE_vxregw@fakeemail.com,gallivm: unify sin and cos implementat…
54009 …nal/mesa3d,fake_szFY-vPdQjunQX7cditFqg@fakeemail.com,etnaviv: Generate new sin/cos instructions on…