/external/webkit/Source/JavaScriptCore/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;
|
/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...] |
/external/clang/test/Sema/ |
overloadable.c | 57 double magnitude(DoubleVec) __attribute__((__overloadable__)); 58 double magnitude(IntVec) __attribute__((__overloadable__)); 60 return magnitude(d) * magnitude(d);
|
/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/ |
WindowOrientationListener.java | 173 * absolute magnitude of the acceleration. In particular, there are singularities 174 * in the calculation as the magnitude approaches 0. By performing the low-pass 180 * is facing. The radial distance is referred to as the magnitude below. 287 // that is turning around a corner or a plane taking off) then the magnitude 293 // without gravity to tell us which way is up. A magnitude near 0 produces 388 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z)); 415 + ", magnitude=" + FloatMath.sqrt(x * x + y * y + z * z)); 428 // Calculate the magnitude of the acceleration vector. 429 final float magnitude = FloatMath.sqrt(x * x + y * y + z * z); local 430 if (magnitude < NEAR_ZERO_MAGNITUDE) [all...] |
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) {
|
/development/scripts/ |
divide_and_compress.py | 61 'a magnitude indicator either "B", "K", "M", or "G". ' 103 ' a numeric value and magnitude indicator')) 104 magnitude = size_str[-1] 105 if not magnitude in ('B', 'K', 'M', 'G'): 106 raise ValueError(('filesize magnitude indicator not valid, must be "B",' 109 if magnitude == 'K': 111 elif magnitude == 'M': 113 elif magnitude == 'G':
|
/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;
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 877 * value next larger in magnitude. For non-NaN {@code x}, 907 * value next larger in magnitude. For non-NaN {@code x}, 930 * Returns a double with the given magnitude and the sign of {@code sign}. 934 public static double copySign(double magnitude, double sign) { 940 long magnitudeBits = Double.doubleToRawLongBits(magnitude); 947 * Returns a float with the given magnitude and the sign of {@code sign}. 951 public static float copySign(float magnitude, float sign) { [all...] |
Math.java | 926 * value next larger in magnitude. For non-NaN {@code x}, {@code ulp(-x) == [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 27 * An immutable signed integer of arbitrary magnitude. 53 /** The magnitude of this in the little-endian representation. */ 89 private byte[] magnitude; field in class:BigInteger 225 * magnitude. 229 * @param magnitude magnitude of the new {@code BigInteger} with the most 231 * @throws NullPointerException if {@code magnitude == null}. 233 * the sign is zero and the magnitude contains non-zero entries. 235 public BigInteger(int signum, byte[] magnitude) { 236 if (magnitude == null) [all...] |
/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...] |
/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...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 351 for (int magnitude = 1; magnitude < 1000000000; magnitude *= 10) { 360 sequence += sRandom.nextInt(magnitude) + 1;
|
/external/kernel-headers/original/linux/ |
input.h | 1041 * @magnitude: peak value 1058 __s16 magnitude; member in struct:ff_periodic_effect 1070 * @strong_magnitude: magnitude of the heavy motor 1071 * @weak_magnitude: magnitude of the light one 1074 * represents the magnitude of the vibration generated by the heavy one. [all...] |
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
raytrace.js | 236 var m = this.magnitude(); 240 magnitude : function() {
|