Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 11 of 11) 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/packages/SystemUI/tests/src/com/android/systemui/common/ui/view/
DSeekBarWithIconButtonsViewTest.java146 final int magnitude = mIconDiscreteSliderLinearLayout.getChangeMagnitude(); in clickIconEnd_triggerCallbacksInSequence() local
154 eq(mSeekbar), /* progress= */ eq(magnitude), /* fromUser= */ eq(true)); in clickIconEnd_triggerCallbacksInSequence()
161 final int magnitude = mIconDiscreteSliderLinearLayout.getChangeMagnitude(); in clickIconStart_triggerCallbacksInSequence() local
162 mIconDiscreteSliderLinearLayout.setProgress(magnitude); in clickIconStart_triggerCallbacksInSequence()
/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/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/location/java/android/location/
DCorrelationVector.java213 public Builder setMagnitude(@NonNull int[] magnitude) { in setMagnitude() argument
214 mMagnitude = magnitude; in setMagnitude()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java742 final float magnitude = (float) Math.sqrt(x * x + y * y + z * z); in onSensorChanged() local
743 if (magnitude < NEAR_ZERO_MAGNITUDE) { in onSensorChanged()
751 if (isAcceleratingLocked(magnitude)) { in onSensorChanged()
763 Math.asin(z / magnitude) * RADIANS_TO_DEGREES); in onSensorChanged()
1021 private boolean isAcceleratingLocked(float magnitude) { in isAcceleratingLocked() argument
1022 return magnitude < MIN_ACCELERATION_MAGNITUDE in isAcceleratingLocked()
1023 || magnitude > MAX_ACCELERATION_MAGNITUDE; in isAcceleratingLocked()
/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/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex3d.agsl55 // different magnitude of vectors. Noise doesn't have to be in the precise range thus
/frameworks/base/services/core/jni/gnss/
DGnssMeasurementCallback.cpp503 const std::vector<int32_t>& magnitudeVector = correlationVector.magnitude; in translateSingleGnssMeasurement()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java10908 final double magnitude = Math.sqrt(scrollVector.x * scrollVector.x + scrollVector.y in normalize() local
10910 scrollVector.x /= magnitude; in normalize()
10911 scrollVector.y /= magnitude; in normalize()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...