/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ZoomControlWheel.java | 49 private static final double BUFFER_RADIANS = Math.toRadians(HIGHLIGHT_DEGREES / 2); 51 Math.toRadians(MAX_SLIDER_ANGLE - MIN_SLIDER_ANGLE); 109 performZoom((Math.toRadians(MAX_SLIDER_ANGLE) in dispatchTouchEvent() 119 mSliderRadians = Math.toRadians(DEFAULT_SLIDER_POSITION); in startZoomControl() 135 if (sliderAngle > Math.toRadians(MAX_SLIDER_ANGLE)) { in getSliderDrawAngle() 136 return Math.toRadians(MAX_SLIDER_ANGLE); in getSliderDrawAngle() 137 } else if (sliderAngle < Math.toRadians(MIN_SLIDER_ANGLE)) { in getSliderDrawAngle() 138 return Math.toRadians(MIN_SLIDER_ANGLE); in getSliderDrawAngle() 149 layoutIcon(mZoomIn, Math.toRadians(ZOOM_IN_ICON_DEGREES)); in onLayout() 150 layoutIcon(mZoomOut, Math.toRadians(ZOOM_OUT_ICON_DEGREES)); in onLayout() [all …]
|
D | IndicatorControlWheel.java | 47 private static final double HIGHLIGHT_RADIANS = Math.toRadians(HIGHLIGHT_DEGREES); 319 double increment = Math.toRadians(expectedAngle) in rotateWheel() 325 - Math.toRadians(MAX_ZOOM_CONTROL_DEGREES)); in rotateWheel() 376 mStartVisibleRadians[0] = Math.toRadians(FIRST_LEVEL_START_DEGREES); in presetFirstLevelChildRadians() 378 mEndVisibleRadians[0] = Math.toRadians(FIRST_LEVEL_END_DEGREES); in presetFirstLevelChildRadians() 383 mChildRadians[startIndex++] = Math.toRadians(MAX_ZOOM_CONTROL_DEGREES); in presetFirstLevelChildRadians() 386 mChildRadians[startIndex++] = Math.toRadians(FIRST_LEVEL_START_DEGREES); in presetFirstLevelChildRadians() 388 mChildRadians[startIndex++] = Math.toRadians(FIRST_LEVEL_END_DEGREES); in presetFirstLevelChildRadians() 396 mSectorRadians[1] = Math.toRadians(sectorDegrees); in presetSecondLevelChildRadians() 399 mStartVisibleRadians[1] = Math.toRadians(SECOND_LEVEL_START_DEGREES); in presetSecondLevelChildRadians() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureStrokeDrawingParams.java | 49 ? Math.toRadians(DEFAULT_MAX_INTERPOLATION_ANGULAR_THRESHOLD) in GestureStrokeDrawingParams() 50 : Math.toRadians(interpolationAngularDegree); in GestureStrokeDrawingParams()
|
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
D | BRTest.java | 59 private static CR toRadians(CR x) { in toRadians() method in BRTest 82 checkWeakEq(BoundedRational.degreeSin(x), toRadians(xAsCR).sin(), in checkBR() 84 checkWeakEq(BoundedRational.degreeCos(x), toRadians(xAsCR).cos(), in checkBR() 90 TAN.execute(toRadians(xAsCR)), "degree tan:" + x); in checkBR()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | PreviewOverlay.java | 248 … float focalLengthH = 0.5f * previewH / (float) Math.tan(Math.toRadians(mFovLargeDegrees) * 0.5); in onDraw() 249 … float focalLengthW = 0.5f * previewW / (float) Math.tan(Math.toRadians(mFovSmallDegrees) * 0.5); in onDraw() 250 final double ANGLE_STEP = (float) Math.toRadians(10f); in onDraw()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | TimeClustering.java | 329 Math.toRadians(itemA.lat), in isGeographicallySeparated() 330 Math.toRadians(itemA.lng), in isGeographicallySeparated() 331 Math.toRadians(itemB.lat), in isGeographicallySeparated() 332 Math.toRadians(itemB.lng)); in isGeographicallySeparated()
|
D | LocationClustering.java | 48 latRad = Math.toRadians(lat); in Point() 49 lngRad = Math.toRadians(lng); in Point()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 671 private CR toRadians(CR x, EvalContext ec) { in toRadians() method in CalculatorExpr 774 return new EvalRet(argVal.pos, toRadians(argVal.val,ec).sin(), null); in evalUnary() 785 return new EvalRet(argVal.pos, toRadians(argVal.val,ec).cos(), null); in evalUnary() 796 CR argCR = toRadians(argVal.val, ec); in evalUnary()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.java | 141 final double dotAngleRadians = Math.toRadians(dotAngleDegrees); in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.java | 158 final double dotAngleRadians = Math.toRadians(dotAngleDegrees); in onDraw()
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
D | DrawerArrowDrawable.java | 39 private static final float ARROW_HEAD_ANGLE = (float) Math.toRadians(45);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 45 private static final float USER_ANGEL = (float) Math.toRadians(10);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorRectView.java | 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2)); in updateDot()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageStraighten.java | 190 double a = Math.toRadians(deg); in getUntranslatedStraightenCropBounds()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 365 final double alpha = Math.toRadians(direction); in moveFocus() 366 final double beta = Math.toRadians(Math.min(angle, 180f) / 2f); in moveFocus()
|
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 420 mCurrentAngle = (float) Math.toRadians(angle); in onAngleChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragController.java | 687 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DragController.java | 636 if (theta <= Math.toRadians(MAX_FLING_DEGREES)) {
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 362 double radians = Math.toRadians(-rotation); in getRange()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 363 double radians = Math.toRadians(-rotation); in getRange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 304 double radians = Math.toRadians(-rotation); in getRange()
|