HomeSort by relevance Sort by last modified time
    Searched refs:magnitude (Results 1 - 25 of 145) sorted by null

1 2 3 4 5 6

  /external/chromium_org/third_party/WebKit/Source/wtf/
Complex.h 39 inline Complex complexFromMagnitudePhase(double magnitude, double phase)
41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
  /external/replicaisland/src/com/replica/replicaisland/
InputButton.java 26 public void press(float currentTime, float magnitude) {
31 mMagnitude = magnitude;
56 float magnitude = 0.0f; local
58 magnitude = mMagnitude;
60 return magnitude;
63 public final void setMagnitude(float magnitude) {
64 mMagnitude = magnitude;
Vector2.java 55 public final void multiply(float magnitude) {
56 x *= magnitude;
57 y *= magnitude;
65 public final void divide(float magnitude) {
66 if (magnitude != 0.0f) {
67 x /= magnitude;
68 y /= magnitude;
101 final float magnitude = length(); local
104 if (magnitude != 0.0f) {
105 x /= magnitude;
    [all...]
InputTouchScreen.java 64 float magnitude = 0.0f; local
66 magnitude = mTouchPoints[index].getX();
68 return magnitude;
72 float magnitude = 0.0f; local
74 magnitude = mTouchPoints[index].getY();
76 return magnitude;
InputGameInterface.java 104 final float magnitude = magnitudeRamp * Utils.sign(offset) * SLIDER_FILTER * mMovementSensitivity; local
106 mDirectionalPad.press(gameTime, magnitude, 0.0f);
259 private float filterOrientationForMovement(float magnitude) {
260 float scaledMagnitude = magnitude * mOrientationSensitivityFactor;
265 private float deadZoneFilter(float magnitude, float min, float max, float scale) {
266 float smoothedMagnatude = magnitude;
267 if (Math.abs(magnitude) < min) {
269 } else if (Math.abs(magnitude) < max) {
SleeperComponent.java 106 public void setSlam(float duration, float magnitude) {
108 mSlamMagnitude = magnitude;
LauncherComponent.java 137 public void setup(float angle, float magnitude, float launchDelay, float postLaunchDelay, boolean driveActions) {
139 mLaunchMagnitude = magnitude;
CameraSystem.java 89 void shake(float duration, float magnitude) {
91 mShakeMagnitude = magnitude;
HitReactionComponent.java 277 public void setBounceMagnitude(float magnitude) {
278 mBounceMagnitude = magnitude;
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
Vector2D.h 28 float magnitude();
Vector2D.cpp 53 float m = magnitude();
60 if (magnitude() > max) {
66 float Vector2D::magnitude() { function in class:Vector2D
  /external/clang/test/Sema/
overloadable.c 58 double magnitude(DoubleVec) __attribute__((__overloadable__));
59 double magnitude(IntVec) __attribute__((__overloadable__));
61 return magnitude(d) * magnitude(d);
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
MagnitudeVerificationTest.java 52 private void runStats(float expected, float threshold, float[][] values, boolean pass, float magnitude) {
66 assertEquals(magnitude, (Float) stats.getValue(SensorStats.MAGNITUDE_KEY), 0.01);
  /frameworks/base/core/java/android/gesture/
Instance.java 59 float magnitude = (float)Math.sqrt(sum); local
61 sample[i] /= magnitude;
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 124 float magnitude = X*X + Y*Y; local
125 // Don't trust the angle if the magnitude is small compared to the y value
126 if (magnitude * 4 >= Z*Z) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiveFileInfo.java 231 for (int magnitude = 1; magnitude < 1000000000; magnitude *= 10) {
238 sequence += rnd.nextInt(magnitude) + 1;
  /frameworks/base/policy/src/com/android/internal/policy/impl/
WindowOrientationListener.java 209 * absolute magnitude of the acceleration. In particular, there are singularities
210 * in the calculation as the magnitude approaches 0. By performing the low-pass
216 * is facing. The radial distance is referred to as the magnitude below.
321 // that is turning around a corner or a plane taking off) then the magnitude
327 // without gravity to tell us which way is up. A magnitude near 0 produces
449 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z));
476 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z));
489 // Calculate the magnitude of the acceleration vector.
490 final float magnitude = FloatMath.sqrt(x * x + y * y + z * z); local
491 if (magnitude < NEAR_ZERO_MAGNITUDE)
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorCtsHelper.java 132 * @return The magnitude (norm) represented by the given array of values.
139 double magnitude = Math.sqrt(sumOfSquares); local
140 return magnitude;
  /libcore/luni/src/main/java/java/lang/
StrictMath.java 870 * value next larger in magnitude. For non-NaN {@code x},
900 * value next larger in magnitude. For non-NaN {@code x},
923 * Returns a double with the given magnitude and the sign of {@code sign}.
927 public static double copySign(double magnitude, double sign) {
933 long magnitudeBits = Double.doubleToRawLongBits(magnitude);
940 * Returns a float with the given magnitude and the sign of {@code sign}.
944 public static float copySign(float magnitude, float sign) {
950 int magnitudeBits = Float.floatToRawIntBits(magnitude);
    [all...]
Math.java 930 * value next larger in magnitude. For non-NaN {@code x}, {@code ulp(-x) ==
    [all...]
  /libcore/luni/src/main/java/java/math/
BigInteger.java 53 /** The magnitude of this in the little-endian representation. */
89 private byte[] magnitude; field in class:BigInteger
259 * magnitude.
263 * @param magnitude magnitude of the new {@code BigInteger} with the most
265 * @throws NullPointerException if {@code magnitude == null}.
267 * the sign is zero and the magnitude contains non-zero entries.
269 public BigInteger(int signum, byte[] magnitude) {
270 if (magnitude == null) {
271 throw new NullPointerException("magnitude == null")
    [all...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
Boid.cpp 72 float d = desired.magnitude();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
StrictMathTest.java 185 final double magnitude = COPYSIGN_DD_CASES[i]; local
187 .abs(magnitude));
189 .abs(magnitude));
194 .copySign(magnitude, Double.NaN)));
196 .copySign(Double.NaN, magnitude)));
201 .copySign(magnitude, sign));
250 final float magnitude = COPYSIGN_FF_CASES[i]; local
252 .abs(magnitude));
254 .abs(magnitude));
259 magnitude, Float.NaN)))
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
Helpers.java 324 for (int magnitude = 1; magnitude < 1000000000; magnitude *= 10) {
330 sequence += sRandom.nextInt(magnitude) + 1;
  /external/chromium_org/content/browser/gamepad/
xbox_data_fetcher_mac.cc 140 // Clip the magnitude at its expected maximum value.
141 float magnitude = std::min(32767.0f, real_magnitude); local
143 // Adjust magnitude relative to the end of the dead zone.
144 magnitude -= deadzone;
146 // Normalize the magnitude with respect to its expected range giving a
147 // magnitude value of 0.0 to 1.0
148 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude;
155 // If the controller is in the deadzone zero out the magnitude.

Completed in 720 milliseconds

1 2 3 4 5 6