/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | KalmanFilterTest.java | 55 double cos = Math.cos(stepSizeRadians); in initializePll() local 58 cos, sin, in initializePll() 59 -sin, cos}); in initializePll()
|
/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/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/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/Launcher3/src/com/android/launcher3/popup/ |
D | RoundedArrowDrawable.java | 20 import static java.lang.Math.cos; 120 float lineRoundPointIntersectFromTop = (float) (height - (p * cos(theta))); in addDownPointingRoundedTriangleToPath()
|
/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()
|
/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()
|
/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/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/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | MathEval.java | 173 x = Math.cos(Math.toRadians(x)); in eval()
|
/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/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorRemoteVideo.java | 121 circleX += (float) Math.cos(angle) * CIRCLE_STEP; in moveCircle()
|
/packages/modules/NeuralNetworks/common/random/ |
D | random_distributions.h | 630 *f1 = Eigen::numext::cos(v1); in BoxMullerFloat() 655 *d1 = Eigen::numext::cos(v1); in BoxMullerDouble()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/ |
D | CompositeCircleViewLabeler.java | 123 double x = ccvCenterX + (Math.cos(angle) * labelRadius); in onLayout()
|
/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/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/Launcher3/src/com/android/launcher3/anim/ |
D | SpringAnimationBuilder.java | 231 return cosFactor * Math.cos(angle) + sinFactor * Math.sin(angle); in cosSin()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 126 int x = mCenterX + (int)(mWheelRadius * Math.cos(radian)); in layoutIcon()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 669 float cos = dot / (mCloseVectorNorm * moveVectorNorm); in onFling() local 670 if (cos >= COS_30) { // Accept 30 degrees on each side of the close vector. in onFling()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/ |
D | LoopingAnimationThread.java | 195 (float) Math.cos(Math.toRadians(finalSweepAngleEnd)) * mLoopRadius in draw()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_poly.cpp | 59 cos_theta_through3=cos(theta_through3); in db_SolveCubic()
|