/packages/apps/Camera2/src/com/android/camera/ui/ |
D | PreviewOverlay.java | 341 canvas.drawLine(mCenterX + mInnerRadius * (float) Math.cos(mFingerAngle), in draw() 343 mCenterX + mOuterRadius * (float) Math.cos(mFingerAngle), in draw() 345 canvas.drawLine(mCenterX - mInnerRadius * (float) Math.cos(mFingerAngle), in draw() 347 mCenterX - mOuterRadius * (float) Math.cos(mFingerAngle), in draw() 353 canvas.drawLine(mCenterX + mInnerRadius * (float) Math.cos(mFingerAngle), in draw() 355 mCenterX + zoomRadius * (float) Math.cos(mFingerAngle), in draw() 357 canvas.drawLine(mCenterX - mInnerRadius * (float) Math.cos(mFingerAngle), in draw() 359 mCenterX - zoomRadius * (float) Math.cos(mFingerAngle), in draw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 308 double cos = Math.cos(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/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 366 double cos = Math.cos(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/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 366 double cos = Math.cos(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/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | Point.java | 88 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); in getAngle() local 89 float angle = (float) Math.acos(cos); in getAngle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | RoundedLine.java | 63 final float cosa = (float)Math.cos(aa); in makePath() 65 final float cosb = (float)Math.cos(ab); in makePath()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.kt | 32 import kotlin.math.cos 145 val dotX = xCenter + (radius * cos(dotAngleRadians)).toFloat() in onDraw()
|
D | TimerCircleView.java | 143 final float dotX = xCenter + (float) (radius * Math.cos(dotAngleRadians)); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 167 double cosTerms = Math.cos((latRad1 + latRad2) / 2.0); in fastDistanceMeters() 180 double x = dlat * dlat + dlng * dlng * Math.cos(lat1) * Math.cos(lat2); in accurateDistanceMeters()
|
D | MotionEventHelper.java | 107 v[1] = (float) -Math.cos(angleRadians); in transformAngle()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.kt | 35 import kotlin.math.cos 156 val dotX = xCenter + (radius * cos(dotAngleRadians)).toFloat() in onDraw()
|
D | StopwatchCircleView.java | 160 final float dotX = xCenter + (float) (radius * Math.cos(dotAngleRadians)); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | EclipseControl.java | 273 float x = cx + (float) (rx * Math.cos(angle)); in paintOvallines() 292 float x = cx + (float) (rx * Math.cos(angle)); in fillHandles()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | ClippedFolderIconLayoutRule.java | 125 result[0] = mAvailableSpace / 2 + (float) (radius * Math.cos(theta) / 2) - halfIconSize; in getPosition()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1311 double radiusTheta = dx / cos(3.14159 / 2.0 - m_wb.theta); in ComputeBlendParameters() 1312 m_wb.radius = dy + radiusTheta * cos(m_wb.theta); in ComputeBlendParameters() 1319 double radiusTheta = dy / cos(3.14159 / 2.0 - m_wb.theta); in ComputeBlendParameters() 1320 m_wb.radius = dx + radiusTheta * cos(m_wb.theta); in ComputeBlendParameters()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorRemoteVideo.java | 121 circleX += (float) Math.cos(angle) * CIRCLE_STEP; in moveCircle()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 126 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in layoutIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | SpringAnimationBuilder.java | 227 return cosFactor * Math.cos(angle) + sinFactor * Math.sin(angle); in cosSin()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 153 float zrc = (float) Math.cos(rot * Math.PI / 180.0); in setHue()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 308 int x = (int) (r * Math.cos(angle)); in layoutItems() 676 out.x = (int) (radius * Math.cos(a) + 0.5); in convertCart()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 308 int x = (int) (r * Math.cos(angle)); in layoutItems() 676 out.x = (int) (radius * Math.cos(a) + 0.5); in convertCart()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | AnimationParticle.java | 222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | AnimationParticle.java | 222 mBounds.exactCenterX() + w * (float) Math.cos(mCurrentAngle), in drawDot()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.cpp | 59 cos_theta_through3=cos(theta_through3); in db_SolveCubic()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 46 private static final float USER_ANGEL_COS = (float) Math.cos(USER_ANGEL);
|