/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SineOscillator.java | 41 float x = (float) (yp * Math.PI); in fastSin()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SineOscillator.java | 41 float x = (float) (yp * Math.PI); in fastSin()
|
/development/apps/OBJViewer/com/android/objviewer/ |
D | OBJViewer.java | 45 private static final float PI = (float)Math.PI; field in OBJView 46 private static final float TWO_PI = (float)(2.0*Math.PI); 47 private static final float PI_OVER_TWO = (float)(Math.PI/2.0);
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | DialView.java | 231 Double startAngle = Math.PI * (9 / 8d); // Angles are in radiansq in computeXYForPosition() 232 Double angle = startAngle + (pos * (Math.PI / 4)); in computeXYForPosition()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
D | Kube.java | 259 mAngleIncrement = (float)Math.PI / 50; in animate() 260 mEndAngle = mCurrentAngle + ((float)Math.PI * count) / 2f; in animate() 262 mAngleIncrement = -(float)Math.PI / 50; in animate() 263 mEndAngle = mCurrentAngle - ((float)Math.PI * count) / 2f; in animate()
|
D | Layer.java | 47 float twopi = (float)Math.PI *2f; in setAngle()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ColorPickerDialog.java | 164 private static final float PI = 3.1415926f; field in ColorPickerDialog.ColorPickerView 189 float unit = angle/(2*PI); in onTouchEvent()
|
D | MatrixPaletteRenderer.java | 344 float unitAngle = (float) Math.cos(animationUnit * 2 * Math.PI); in onDrawFrame() 393 double angle = Math.PI * 2 * i / uSteps; in generateWeightedGrid()
|
D | CubeMapActivity.java | 168 double angleV = Math.PI * 2 * j / vSteps; in generateTorusGrid() 172 double angleU = Math.PI * 2 * i / uSteps; in generateTorusGrid()
|
D | TouchPaint.java | 494 canvas.rotate((float) (orientation * 180 / Math.PI), x, y); in drawOval() 532 double direction = mRandom.nextDouble() * Math.PI * 2; in drawSplat()
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 265 final float max = (float) Math.PI; in getFilterParameter() 266 final float min = (float) -Math.PI; in getFilterParameter()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 447 float direction = mRandom.nextFloat() * (float) Math.PI * 2; 590 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3; 591 private static final float TO_DEGREES = (float) (180.0 / Math.PI);
|
/development/samples/Compass/src/com/example/android/compass/ |
D | CompassActivity.java | 232 final float rad2deg = (float)(180.0f/Math.PI); in onSensorChanged()
|
/development/samples/ControllerSample/src/com/example/controllersample/ |
D | GameView.java | 435 float direction = mRandom.nextFloat() * (float) Math.PI * 2; in step() 640 private static final float CORNER_ANGLE = (float) Math.PI * 2 / 3; 641 private static final float TO_DEGREES = (float) (180.0 / Math.PI);
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | OpenGLWatchFaceService.java | 205 final float cameraAngle = (float) (((float) i) / mNumCameraAngles * 2 * Math.PI); in onGlContextCreated()
|
D | SweepWatchFaceService.java | 339 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw()
|
D | AnalogWatchFaceService.java | 374 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in onDraw()
|
D | ComplicationSimpleWatchFaceService.java | 638 float tickRot = (float) (tickIndex * Math.PI * 2 / 12); in drawWatchFace()
|
/development/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.js | 14 line.angle(function(d) { return d.x / 180 * Math.PI; });
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 732 double radians = 2 * Math.PI * mHeading / 360; in updatePhysics()
|