/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | Layer.java | 53 float cos = (float)Math.cos(angle); in setAngle() local 58 m[1][1] = cos; in setAngle() 61 m[2][2] = cos; in setAngle() 66 m[0][0] = cos; in setAngle() 69 m[2][2] = cos; in setAngle() 74 m[0][0] = cos; in setAngle() 77 m[1][1] = cos; in setAngle()
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
D | CubeWallpaper1.java | 211 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/ |
D | MainActivity.java | 217 float cos = (float) Math.cos((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/vndk/tools/definition-tool/tests/testdata/test_generic_refs/system/lib/ |
D | libm.so.sym | 4 EXP_SYMBOL cos
|
/development/vndk/tools/definition-tool/tests/testdata/test_generic_refs/system/lib64/ |
D | libm.so.sym | 4 EXP_SYMBOL cos
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | OpenGLWatchFaceService.java | 206 final float eyeX = (float) Math.cos(cameraAngle); in onGlContextCreated() 355 double cos = Math.cos(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()
|
D | SweepWatchFaceService.java | 341 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in onDraw() 343 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in onDraw()
|
D | AnalogWatchFaceService.java | 376 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in onDraw() 378 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in onDraw()
|
D | ComplicationSimpleWatchFaceService.java | 640 float innerY = (float) -Math.cos(tickRot) * innerTickRadius; in drawWatchFace() 642 float outerY = (float) -Math.cos(tickRot) * outerTickRadius; in drawWatchFace()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchPaint.java | 519 float ny = (float) (- Math.cos(orientation) * Math.sin(tilt)); in drawSplat() 520 float nz = (float) Math.cos(tilt); in drawSplat() 534 double vx = Math.cos(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()
|
D | MatrixPaletteRenderer.java | 344 float unitAngle = (float) Math.cos(animationUnit * 2 * Math.PI); in onDrawFrame() 394 float x = radius * (float) Math.cos(angle); in generateWeightedGrid()
|
D | CubeMapActivity.java | 169 float cosV = (float) Math.cos(angleV); in generateTorusGrid() 173 float cosU = (float) Math.cos(angleU); in generateTorusGrid()
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
D | CubeWallpaper2.java | 261 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/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 450 float velocityX = (float) Math.cos(direction) * speed; 611 mPath.lineTo((float)Math.cos(-CORNER_ANGLE) * mSize, 614 mPath.lineTo((float)Math.cos(CORNER_ANGLE) * mSize, 643 return (float) Math.cos(mHeadingAngle) * radius;
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | DialView.java | 233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2); in computeXYForPosition()
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 438 float velocityX = (float) Math.cos(direction) * speed; in step() 681 mPath.lineTo((float) Math.cos(-CORNER_ANGLE) * mSize, in Ship() 684 mPath.lineTo((float) Math.cos(CORNER_ANGLE) * mSize, in Ship() 936 return (float) Math.cos(mHeadingAngle) * radius;
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 734 ddy += Math.cos(radians) * accel; in updatePhysics()
|