/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 130 public static float hypot(float x, float y) { in hypot() method in FloatMath 131 return (float) Math.hypot(x, y); in hypot()
|
D | MathUtils.java | 97 return (float) Math.hypot(x, y); in dist() 108 return (float) Math.hypot(a, b); in mag()
|
D | Spline.java | 168 float h = (float) Math.hypot(a, b); in MonotoneCubicSpline()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GestureUtils.java | 72 final float firstMagnitude = (float) Math.hypot(firstDeltaX, firstDeltaY); in isDraggingGesture() 85 final float secondMagnitude = (float) Math.hypot(secondDeltaX, secondDeltaY); in isDraggingGesture()
|
D | AccessibilityGestureDetector.java | 233 final double moveDelta = Math.hypot(deltaX, deltaY); in onMotionEvent()
|
/frameworks/base/core/java/android/transition/ |
D | PatternPathMotion.java | 120 float distance = (float) Math.hypot(dx, dy); in setPatternPath() 133 float length = (float) Math.hypot(dx, dy); in getPath()
|
D | Explode.java | 153 double vectorSize = Math.hypot(xVector, yVector); in calculateOut() 167 return Math.hypot(maxX, maxY); in calculateMaxDistance()
|
D | CircularPropagation.java | 103 return Math.hypot(x, y); in distance()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 296 float distance = (float) Math.hypot(deltaX, deltaY); in temporalSampling() 382 sum += Math.hypot(dx, dy); in computeTotalLength() 391 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness() 397 return (float) Math.hypot(dx, dy) / totalLen; in computeStraightness()
|
D | GestureStroke.java | 72 len += Math.hypot(p.x - tmpPoints[(i - 1) * 2], p.y - tmpPoints[(i -1) * 2 + 1]); in GestureStroke()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Point.java | 41 return (float) Math.hypot(a.x - x, a.y - y); in dist()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | NormFilter.java | 56 float norm = (float) Math.hypot(xValue, yValue); in onProcess()
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 71 f += FloatMath.hypot(100.123f, 100.123f); in timeFloatMathHypot()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 478 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz)); in buildRSVolume() 602 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz)); in buildRSVolume2()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 73 return (float)Math.hypot(x, y); in length()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PointF.java | 111 return (float) Math.hypot(x, y); in length()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | mandelbulb.rs | 56 return 256-4*(size2-z+4)*hypot((float)x-size2,(float)y-size2) / size2 ;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | FreePathInterpolator.java | 81 mArcLength += Math.hypot(x - prevX, y - prevY); in initPath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardAffordanceHelper.java | 159 float distance = (float) Math.hypot(xDist, yDist); in onTouchEvent() 212 double distance = Math.hypot(x - iconX, y - iconY); in isOnIcon() 492 float bLen = (float) Math.hypot(bX, bY); in getCurrentVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 427 float hyp = (float) Math.hypot(dx, dy); in fling() 444 float velocity = (float) Math.hypot(velocityX, velocityY); in fling()
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MainActivity.java | 123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2); in onCreate() 140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2); in onCreate()
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 109 TEST_FUNC_2(hypot);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | RadialGradient_Delegate.java | 190 float distance = (float) Math.hypot(_x, _y); in getRaster()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 573 int distance = (int) Math.hypot(deltaX, deltaY); in dragViewBy() 626 int distance = (int)Math.hypot(deltaX, deltaY); in dragViewTo()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 334 span = (float) Math.hypot(spanX, spanY); in onTouchEvent()
|