Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DCornerPathRenderer.java127 private float magnitude(PointF point) { in magnitude() method in CornerPathRenderer
132 float magnitude = magnitude(point); in normalize() local
133 if (magnitude == 0.f) { in normalize()
137 float normal = 1 / magnitude; in normalize()
/frameworks/base/core/java/android/gesture/
DInstance.java59 float magnitude = (float)Math.sqrt(sum); in normalize() local
61 sample[i] /= magnitude; in normalize()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java682 final float magnitude = (float) Math.sqrt(x * x + y * y + z * z); in onSensorChanged() local
683 if (magnitude < NEAR_ZERO_MAGNITUDE) { in onSensorChanged()
691 if (isAcceleratingLocked(magnitude)) { in onSensorChanged()
703 Math.asin(z / magnitude) * RADIANS_TO_DEGREES); in onSensorChanged()
961 private boolean isAcceleratingLocked(float magnitude) { in isAcceleratingLocked() argument
962 return magnitude < MIN_ACCELERATION_MAGNITUDE in isAcceleratingLocked()
963 || magnitude > MAX_ACCELERATION_MAGNITUDE; in isAcceleratingLocked()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java124 float magnitude = X*X + Y*Y; in onSensorChanged() local
126 if (magnitude * 4 >= Z*Z) { in onSensorChanged()
/frameworks/base/core/java/android/util/
DHalf.java481 public static @HalfFloat short copySign(@HalfFloat short magnitude, @HalfFloat short sign) { in copySign() argument
482 return (short) ((sign & FP16.SIGN_MASK) | (magnitude & FP16.EXPONENT_SIGNIFICAND_MASK)); in copySign()
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h892 double magnitude = 2.0 * sqrt( (sinMean * sinMean) + (cosMean * cosMean )); variable
898 return magnitude;
1004 double magnitude = calculateMagnitude(&phaseOffset); in process() local
1006 mMagnitude = (mMagnitude * (1.0 - coefficient)) + (magnitude * coefficient); in process()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java10787 final double magnitude = Math.sqrt(scrollVector.x * scrollVector.x + scrollVector.y in normalize() local
10789 scrollVector.x /= magnitude; in normalize()
10790 scrollVector.y /= magnitude; in normalize()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt104903 Ljava/math/BigInteger;->magnitude:[B