/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeDrawingParams.java | 49 ? Math.toRadians(DEFAULT_MAX_INTERPOLATION_ANGULAR_THRESHOLD) 50 : Math.toRadians(interpolationAngularDegree);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
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) 119 mSliderRadians = Math.toRadians(DEFAULT_SLIDER_POSITION); 135 if (sliderAngle > Math.toRadians(MAX_SLIDER_ANGLE)) { 136 return Math.toRadians(MAX_SLIDER_ANGLE); 137 } else if (sliderAngle < Math.toRadians(MIN_SLIDER_ANGLE)) { 138 return Math.toRadians(MIN_SLIDER_ANGLE); 149 layoutIcon(mZoomIn, Math.toRadians(ZOOM_IN_ICON_DEGREES)); 150 layoutIcon(mZoomOut, Math.toRadians(ZOOM_OUT_ICON_DEGREES)) [all...] |
IndicatorControlWheel.java | 47 private static final double HIGHLIGHT_RADIANS = Math.toRadians(HIGHLIGHT_DEGREES); 319 double increment = Math.toRadians(expectedAngle) 325 - Math.toRadians(MAX_ZOOM_CONTROL_DEGREES)); 376 mStartVisibleRadians[0] = Math.toRadians(FIRST_LEVEL_START_DEGREES); 378 mEndVisibleRadians[0] = Math.toRadians(FIRST_LEVEL_END_DEGREES); 383 mChildRadians[startIndex++] = Math.toRadians(MAX_ZOOM_CONTROL_DEGREES); 386 mChildRadians[startIndex++] = Math.toRadians(FIRST_LEVEL_START_DEGREES); 388 mChildRadians[startIndex++] = Math.toRadians(FIRST_LEVEL_END_DEGREES); 396 mSectorRadians[1] = Math.toRadians(sectorDegrees); 399 mStartVisibleRadians[1] = Math.toRadians(SECOND_LEVEL_START_DEGREES) [all...] |
/frameworks/base/core/java/android/transition/ |
ArcMotion.java | 52 Math.tan(Math.toRadians(DEFAULT_MAX_ANGLE_DEGREES/2)); 176 return (float) Math.tan(Math.toRadians(arcInDegrees / 2));
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
DebugRendererTest.java | 64 def.angle = (float)Math.toRadians(90);
|
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
BRTest.java | 59 private static CR toRadians(CR x) { 82 checkWeakEq(BoundedRational.degreeSin(x), toRadians(xAsCR).sin(), 84 checkWeakEq(BoundedRational.degreeCos(x), toRadians(xAsCR).cos(), 90 TAN.execute(toRadians(xAsCR)), "degree tan:" + x);
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
PreviewOverlay.java | 248 float focalLengthH = 0.5f * previewH / (float) Math.tan(Math.toRadians(mFovLargeDegrees) * 0.5); 249 float focalLengthW = 0.5f * previewW / (float) Math.tan(Math.toRadians(mFovSmallDegrees) * 0.5); 250 final double ANGLE_STEP = (float) Math.toRadians(10f);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 329 Math.toRadians(itemA.lat), 330 Math.toRadians(itemA.lng), 331 Math.toRadians(itemB.lat), 332 Math.toRadians(itemB.lng));
|
LocationClustering.java | 48 latRad = Math.toRadians(lat); 49 lngRad = Math.toRadians(lng);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
MathUtils.java | 256 * @param toRadians target angle in radians
259 public static float lerpAngle (float fromRadians, float toRadians, float progress) {
260 float delta = ((toRadians - fromRadians + PI2 + PI) % PI2) - PI;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BaseCluster.java | 81 double lambda = Math.toRadians(longitude); 82 double phi = Math.toRadians(latitude);
|
/frameworks/base/core/java/android/hardware/ |
GeomagneticField.java | 233 double latDiffRad = Math.toRadians(gdLatitudeDeg) - mGcLatitudeRad; 310 double gdLatRad = Math.toRadians(gdLatitudeDeg); 320 mGcLongitudeRad = (float) Math.toRadians(gdLongitudeDeg);
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchCircleView.java | 158 final double dotAngleRadians = Math.toRadians(dotAngleDegrees);
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerCircleView.java | 141 final double dotAngleRadians = Math.toRadians(dotAngleDegrees);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
DrawerArrowDrawable.java | 39 private static final float ARROW_HEAD_ANGLE = (float) Math.toRadians(45);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
TextureUnpacker.java | 141 transform.rotate(Math.toRadians(90.0));
|
/frameworks/base/services/core/java/com/android/server/location/ |
LocationFudger.java | 334 return distance / APPROXIMATE_METERS_PER_DEGREE_AT_EQUATOR / Math.cos(Math.toRadians(lat));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 424 double rad = Math.toRadians(degrees); 996 double rad = Math.toRadians(degrees); 1008 double rad = Math.toRadians(degrees); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawerArrowDrawable.java | 95 private static final float ARROW_HEAD_ANGLE = (float) Math.toRadians(45);
|
/libcore/ojluni/src/main/java/java/lang/ |
StrictMath.java | 164 public static strictfp double toRadians(double angdeg) { 172 * <i>not</i> expect {@code cos(toRadians(90.0))} to exactly [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 45 private static final float USER_ANGEL = (float) Math.toRadians(10);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
ColorRectView.java | 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2));
|
/frameworks/base/libs/hwui/utils/ |
VectorDrawableUtils.cpp | 168 inline double toRadians(float theta) { return theta * M_PI / 180;} 182 double thetaD = toRadians(theta);
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
OpenGLWatchFaceService.java | 354 double angleRadians = Math.toRadians(angleDegrees);
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
OpenGLWatchFaceService.java | 354 double angleRadians = Math.toRadians(angleDegrees);
|