/frameworks/base/core/java/android/util/ |
H A D | FloatMath.java | 130 public static float hypot(float x, float y) { method in class:FloatMath 131 return (float) Math.hypot(x, y);
|
H A D | MathUtils.java | 98 return (float) Math.hypot(x, y); 109 return (float) Math.hypot(a, b);
|
H A D | Spline.java | 168 float h = (float) Math.hypot(a, b);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | GestureUtils.java | 60 final float firstMagnitude = (float) Math.hypot(firstDeltaX, firstDeltaY); 73 final float secondMagnitude = (float) Math.hypot(secondDeltaX, secondDeltaY);
|
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 120 float distance = (float) Math.hypot(dx, dy); 133 float length = (float) Math.hypot(dx, dy);
|
H A D | CircularPropagation.java | 103 return Math.hypot(x, y);
|
H A D | Explode.java | 153 double vectorSize = Math.hypot(xVector, yVector); 167 return Math.hypot(maxX, maxY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | Point.java | 41 return (float) Math.hypot(a.x - x, a.y - y);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | NormFilter.java | 56 float norm = (float) Math.hypot(xValue, yValue);
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
H A D | FloatMathBenchmark.java | 71 f += FloatMath.hypot(100.123f, 100.123f);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PointF.java | 111 return (float) Math.hypot(x, y);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 73 return (float)Math.hypot(x, y);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | FreePathInterpolator.java | 81 mArcLength += Math.hypot(x - prevX, y - prevY);
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | mandelbulb.rs | 56 return 256-4*(size2-z+4)*hypot((float)x-size2,(float)y-size2) / size2 ;
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 296 float distance = (float) Math.hypot(deltaX, deltaY); 382 sum += Math.hypot(dx, dy); 391 return (float) Math.hypot(dx, dy) / totalLen; 397 return (float) Math.hypot(dx, dy) / totalLen;
|
H A D | GestureStroke.java | 72 len += Math.hypot(p.x - tmpPoints[(i - 1) * 2], p.y - tmpPoints[(i -1) * 2 + 1]);
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | ScrollManager.java | 133 float distFromCenter = (float) Math.hypot(deltaXFromCenter, deltaYFromCenter);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGuts.java | 267 float r = (float) Math.hypot(horz, vert); 302 float r = (float) Math.hypot(horz, vert);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 159 float distance = (float) Math.hypot(xDist, yDist); 212 double distance = Math.hypot(x - iconX, y - iconY); 492 float bLen = (float) Math.hypot(bX, bY);
|
/frameworks/base/core/java/android/widget/ |
H A D | Scroller.java | 427 float hyp = (float) Math.hypot(dx, dy); 444 float velocity = (float) Math.hypot(velocityX, velocityY);
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MainActivity.java | 123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2); 140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MainActivity.java | 123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2); 140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2);
|
H A D | healing.rs | 135 int steps = (int)hypot((float)width, (float)height);
|
/frameworks/base/core/java/android/view/ |
H A D | ScaleGestureDetector.java | 333 span = (float) Math.hypot(spanX, spanY);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | PlatLogoActivity.java | 193 bg.setRadius((float) Math.hypot(pc0.x - pc1.x, pc0.y - pc1.y) / 2f);
|