Searched refs:hypot (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/util/
H A DFloatMath.java130 public static float hypot(float x, float y) { method in class:FloatMath
131 return (float) Math.hypot(x, y);
H A DMathUtils.java97 return (float) Math.hypot(x, y);
108 return (float) Math.hypot(a, b);
H A DSpline.java168 float h = (float) Math.hypot(a, b);
/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java120 float distance = (float) Math.hypot(dx, dy);
133 float length = (float) Math.hypot(dx, dy);
H A DCircularPropagation.java103 return Math.hypot(x, y);
H A DExplode.java153 double vectorSize = Math.hypot(xVector, yVector);
167 return Math.hypot(maxX, maxY);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DGestureUtils.java72 final float firstMagnitude = (float) Math.hypot(firstDeltaX, firstDeltaY);
85 final float secondMagnitude = (float) Math.hypot(secondDeltaX, secondDeltaY);
H A DAccessibilityGestureDetector.java233 final double moveDelta = Math.hypot(deltaX, deltaY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DPoint.java41 return (float) Math.hypot(a.x - x, a.y - y);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DNormFilter.java56 float norm = (float) Math.hypot(xValue, yValue);
/frameworks/base/core/tests/benchmarks/src/android/util/
H A DFloatMathBenchmark.java71 f += FloatMath.hypot(100.123f, 100.123f);
/frameworks/base/graphics/java/android/graphics/
H A DPointF.java111 return (float) Math.hypot(x, y);
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java73 return (float)Math.hypot(x, y);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DFreePathInterpolator.java81 mArcLength += Math.hypot(x - prevX, y - prevY);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dmandelbulb.rs56 return 256-4*(size2-z+4)*hypot((float)x-size2,(float)y-size2) / size2 ;
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java296 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 DGestureStroke.java72 len += Math.hypot(p.x - tmpPoints[(i - 1) * 2], p.y - tmpPoints[(i -1) * 2 + 1]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java159 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 DScroller.java427 float hyp = (float) Math.hypot(dx, dy);
444 float velocity = (float) Math.hypot(velocityX, velocityY);
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DMainActivity.java123 float zoom = (float) Math.hypot(x1 - x2, y1 - y2);
140 mDistDown = (float) Math.hypot(x1 - x2, y1 - y2);
/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java334 span = (float) Math.hypot(spanX, spanY);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient_Delegate.java190 float distance = (float) Math.hypot(_x, _y);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderDicom.java478 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz));
602 float sz = (float) Math.hypot(dzx,Math.hypot(dzy,dzz));
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java573 int distance = (int) Math.hypot(deltaX, deltaY);
626 int distance = (int)Math.hypot(deltaX, deltaY);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsViewTouchHandler.java218 mIsDragging = Math.hypot(evX - mDownPos.x, evY - mDownPos.y) > mDragSlop;

Completed in 1076 milliseconds

12