/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | PointCloud.java | 38 private static final float PI = (float) Math.PI; field in PointCloud 143 final float ds = (2.0f * PI * innerRadius / INNER_POINTS); in makePointCloud() 148 float circumference = 2.0f * PI * r; in makePointCloud() 150 float eta = PI/2.0f; in makePointCloud() 151 float dEta = 2.0f * PI / pointsInBand; in makePointCloud() 183 double cos = Math.cos(Math.PI * 0.25d * glowDistance / glowManager.radius); in getAlphaForPoint() 192 double cos = Math.cos(Math.PI * 0.25d * distanceToWaveRing / waveManager.width); in getAlphaForPoint()
|
D | Ease.java | 117 return -DOMAIN * (float) Math.cos(input/DURATION * (Math.PI/2)) + DOMAIN + START; 122 return DOMAIN * (float) Math.sin(input/DURATION * (Math.PI/2)) + START; 127 return -DOMAIN/2 * ((float)Math.cos(Math.PI*input/DURATION) - 1.0f) + START;
|
D | GlowPadView.java | 922 double targetMinRad = (i - 0.5) * 2 * Math.PI / ntargets; in handleMove() 923 double targetMaxRad = (i + 0.5) * 2 * Math.PI / ntargets; in handleMove() 927 (angleRad + 2 * Math.PI > targetMinRad && in handleMove() 928 angleRad + 2 * Math.PI <= targetMaxRad); in handleMove() 1173 final float alpha = (float) (-2.0f * Math.PI / size); in updateTargetPositions()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | MotionEventHelper.java | 112 if (result < -Math.PI / 2) { in transformAngle() 113 result += Math.PI; in transformAngle() 114 } else if (result > Math.PI / 2) { in transformAngle() 115 result -= Math.PI; in transformAngle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeDrawingPoints.java | 178 private static final double TWO_PI = Math.PI * 2.0d; 189 while (deltaAngle > Math.PI) { in angularDiff() 192 while (deltaAngle < -Math.PI) { in angularDiff()
|
D | RoundedLine.java | 28 private static final double RADIAN_TO_DEGREE = 180.0d / Math.PI; 29 private static final double RIGHT_ANGLE = Math.PI / 2.0d;
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 68 private static final float PIE_SWEEP = (float) (Math.PI * 2 / 3); 279 layoutItems(mItems, (float) (Math.PI / 2), inner, outer, gap); in layoutPie() 342 return (float) (360 - 180 * angle / Math.PI); in getDegrees() 544 res.x = (float) Math.PI / 2; in getPolar() 551 res.x = (float) (2 * Math.PI + res.x); in getPolar() 675 double a = 2 * Math.PI * (angle % 360) / 360; in convertCart()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 75 final float minAngle = (float)Math.PI/8; in onDraw() 76 final float maxAngle = (float)Math.PI*7/8; in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageTinyPlanet.java | 88 return (float) (Math.atan2(dx, dy) * 180 / Math.PI); in angleFor() 102 return (float) (((angleB - angleA) % 360) * Math.PI / 180); in getCurrentTouchAngle()
|
D | EclipseControl.java | 272 double angle = Math.PI * i / 180.; in paintOvallines() 290 double angle = Math.PI * i / 180.; in fillHandles()
|
D | ImageStraighten.java | 160 return (float) (Math.atan2(dx, dy) * 180 / Math.PI); in angleFor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 152 float zrs = (float) Math.sin(rot * Math.PI / 180.0); in setHue() 153 float zrc = (float) Math.cos(rot * Math.PI / 180.0); in setHue()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 96 if (angle < 0) angle += (2 * Math.PI); in dispatchTouchEvent() 155 if (mZoomMax == 0) return Math.PI; in getZoomIndexAngle()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorRectView.java | 109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder); in onTouchEvent() 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2)); in updateDot()
|
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
D | BRTest.java | 55 private final static CR RADIANS_PER_DEGREE = CR.PI.divide(CR.valueOf(180)); 56 private final static CR DEGREES_PER_RADIAN = CR.valueOf(180).divide(CR.PI);
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
D | HeadingSensor.java | 122 mHeading = (int) (orientation[0] * 180f / Math.PI) % 360; in onSensorChanged()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | AccelerometerListener.java | 130 angle = angle * 180.0 / Math.PI; in onSensorEvent()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 152 final float sweepAngle = mScreenDensity * (float) (360 / (radius * Math.PI)); in onDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IconNormalizer.java | 35 private static final float CIRCLE_AREA_BY_RECT = (float) Math.PI / 4;
|
D | LauncherEdgeEffect.java | 55 private static final double ANGLE = Math.PI / 6;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 251 float angle = (float) (Math.atan(dy / dx) * 180 / Math.PI); in getUnrotated()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTouchListener.java | 74 180f / Math.PI); in getAngle()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 667 private final CR RADIANS_PER_DEGREE = CR.PI.divide(CR.valueOf(180)); 669 private final CR DEGREES_PER_RADIAN = CR.valueOf(180).divide(CR.PI); 735 return new EvalRet(i+1, CR.PI, null); in evalUnary()
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
D | ColorsGLRenderer.java | 413 final float freq = (float) Math.sin(2 * Math.PI * t / cornerFrequencies[i]); in draw()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | HighlightView.java | 113 int d = (int) Math.round(Math.cos(/*45deg*/Math.PI / 4D) in draw()
|