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

1 2 3 4

  /cts/suite/pts/deviceTests/opengl/jni/graphics/
Vector2D.cpp 53 float m = magnitude();
60 if (magnitude() > max) {
66 float Vector2D::magnitude() { function in class:Vector2D
  /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;
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;
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...]
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) {
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
PerturbFilter.java 40 private float magnitude; field in class:PerturbFilter
45 return (int) Math.floor(this.magnitude * (margin + size) + margin);
48 public void setMagnitude(float magnitude) {
49 this.magnitude = magnitude;
53 return this.magnitude;
59 int origSize = (int) Math.ceil(workSize / (2 * this.magnitude + 1));
62 "Found origSize : " + origSize + " and offset: " + offset + " for workSize : " + workSize + " and magnitude : "
63 + this.magnitude);
73 int px = (int) (origSize * noisex * this.magnitude);
    [all...]
  /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) {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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...]
MathTest.java 182 final double magnitude = COPYSIGN_DD_CASES[i]; local
184 .abs(magnitude));
186 .abs(magnitude));
191 magnitude, Double.NaN)));
193 Double.NaN, magnitude)));
198 magnitude, sign));
254 final float magnitude = COPYSIGN_FF_CASES[i]; local
256 .abs(magnitude));
258 .abs(magnitude));
263 magnitude, Float.NaN)))
    [all...]
  /external/chromium_org/content/browser/gamepad/
xbox_data_fetcher_mac.cc 99 // Clip the magnitude at its expected maximum value.
100 float magnitude = std::min(32767.0f, real_magnitude); local
102 // Adjust magnitude relative to the end of the dead zone.
103 magnitude -= deadzone;
105 // Normalize the magnitude with respect to its expected range giving a
106 // magnitude value of 0.0 to 1.0
107 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude;
114 // If the controller is in the deadzone zero out the magnitude.
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
Eigen3f.java 142 * only when at least one matrix entry has magnitude larger than 1.
144 * @return the max magnitude in this matrix
273 * doing so, store the max magnitude entry in the given float store and the
280 * magnitude entry of the matrix.
283 * containing the max magnitude entry.
287 // Locate the maximum-magnitude entry of the matrix.
350 double magnitude = Math.sqrt(-abcDiv3); local
354 double root0 = char2Div3 + 2.0 * magnitude * cos;
355 double root1 = char2Div3 - magnitude
357 double root2 = char2Div3 - magnitude
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
WindowOrientationListener.java 191 * absolute magnitude of the acceleration. In particular, there are singularities
192 * in the calculation as the magnitude approaches 0. By performing the low-pass
198 * is facing. The radial distance is referred to as the magnitude below.
303 // that is turning around a corner or a plane taking off) then the magnitude
309 // without gravity to tell us which way is up. A magnitude near 0 produces
404 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z));
431 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z));
444 // Calculate the magnitude of the acceleration vector.
445 final float magnitude = FloatMath.sqrt(x * x + y * y + z * z); local
446 if (magnitude < NEAR_ZERO_MAGNITUDE)
    [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...]
  /development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
InteractiveLineGraphView.java 413 final float magnitude = (float) Math.pow(10, power); local
414 final long shifted = Math.round(num * magnitude);
415 return shifted / magnitude;
481 // Use one order of magnitude higher, to avoid intervals like 0.9 or 90
    [all...]
  /development/ndk/platforms/android-3/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
input.h 817 * @magnitude: peak value
834 __s16 magnitude; member in struct:ff_periodic_effect
846 * @strong_magnitude: magnitude of the heavy motor
847 * @weak_magnitude: magnitude of the light one
850 * represents the magnitude of the vibration generated by the heavy one.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
input.h 817 * @magnitude: peak value
834 __s16 magnitude; member in struct:ff_periodic_effect
846 * @strong_magnitude: magnitude of the heavy motor
847 * @weak_magnitude: magnitude of the light one
850 * represents the magnitude of the vibration generated by the heavy one.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
input.h 817 * @magnitude: peak value
834 __s16 magnitude; member in struct:ff_periodic_effect
846 * @strong_magnitude: magnitude of the heavy motor
847 * @weak_magnitude: magnitude of the light one
850 * represents the magnitude of the vibration generated by the heavy one.
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
input.h 659 __s16 magnitude; member in struct:ff_periodic_effect

Completed in 805 milliseconds

1 2 3 4