Home
last modified time | relevance | path

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

12

/packages/apps/Camera2/src/com/android/camera/ui/
DPreviewOverlay.java342 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw()
344 mCenterY - mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
346 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw()
348 mCenterY + mOuterRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
354 mCenterY - mInnerRadius * (float) Math.sin(mFingerAngle), in draw()
356 mCenterY - zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
358 mCenterY + mInnerRadius * (float) Math.sin(mFingerAngle), in draw()
360 mCenterY + zoomRadius * (float) Math.sin(mFingerAngle), mPaint); in draw()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java94 float sin = (float) Math.sin(mCurrentAngle); in onDraw() local
97 float y0 = pivotY - l*sin; in onDraw()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java367 double sin = Math.sin(radians); in getRange() local
369 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange()
371 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java368 double sin = Math.sin(radians); in getRange() local
370 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange()
372 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java309 double sin = Math.sin(radians); in getRange() local
311 Math.abs(cos * w - sin * h), Math.abs(cos * w + sin * h))); in getRange()
313 Math.abs(sin * w + cos * h), Math.abs(sin * w - cos * h))); in getRange()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java64 final float sina = (float)Math.sin(aa); in makePath()
66 final float sinb = (float)Math.sin(ab); in makePath()
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DBRTest.java79 checkWeakEq(BoundedRational.sin(x), xAsCR.sin(), "sin:" + x); in checkBR()
82 checkWeakEq(BoundedRational.degreeSin(x), toRadians(xAsCR).sin(), in checkBR()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DEclipseControl.java174 float sin45 = (float) Math.sin(45); in actionMove()
274 float y = cy + (float) (ry * Math.sin(angle)); in paintOvallines()
293 float y = cy + (float) (ry * Math.sin(angle)); in fillHandles()
DImageStraighten.java191 double sina = Math.sin(a); in getUntranslatedStraightenCropBounds()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java178 double dlat = Math.sin(0.5 * (lat2 - lat1)); in accurateDistanceMeters()
179 double dlng = Math.sin(0.5 * (lng2 - lng1)); in accurateDistanceMeters()
DMotionEventHelper.java106 v[0] = (float) Math.sin(angleRadians); in transformAngle()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
DEase.java122 return DOMAIN * (float) Math.sin(input/DURATION * (Math.PI/2)) + START;
DPointCloud.java154 float y = r * (float) Math.sin(eta); in makePointCloud()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.java143 final float dotY = yCenter + (float) (radius * Math.sin(dotAngleRadians)); in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchCircleView.java160 final float dotY = yCenter + (float) (radius * Math.sin(dotAngleRadians)); in onDraw()
/packages/apps/Calculator/
Darity-2.1.2.jar ... ) public final org.javia.arity.Complex sin () public final org.javia.arity. ...
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java152 float zrs = (float) Math.sin(rot * Math.PI / 180.0); in setHue()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DDrawerArrowDrawable.java127 final float arrowHeight = Math.round(arrowSize * Math.sin(rotation)); in draw()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DZoomControlWheel.java127 int y = mCenterY - (int)(mWheelRadius * Math.sin(radian)); in layoutIcon()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherEdgeEffect.java56 private static final float SIN = (float) Math.sin(ANGLE);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java47 private static final float USER_ANGEL_SIN = (float) Math.sin(USER_ANGEL);
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java770 : BoundedRational.sin(argVal.ratVal); in evalUnary()
774 return new EvalRet(argVal.pos, toRadians(argVal.val,ec).sin(), null); in evalUnary()
797 return new EvalRet(argVal.pos, argCR.sin().divide(argCR.cos()), null); in evalUnary()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java309 int y = mCenter.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems()
677 out.y = (int) (radius * Math.sin(a) + 0.5); in convertCart()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java413 final float freq = (float) Math.sin(2 * Math.PI * t / cornerFrequencies[i]); in draw()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java367 final double[] left = { Math.sin(alpha - beta), in moveFocus()
369 final double[] right = { Math.sin(alpha + beta), in moveFocus()

12