/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/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/view/ |
WindowOrientationListener.java | 180 * absolute magnitude of the acceleration. In particular, there are singularities 181 * in the calculation as the magnitude approaches 0. By performing the low-pass 187 * is facing. The radial distance is referred to as the magnitude below. 280 // that is turning around a corner or a plane taking off) then the magnitude 286 // without gravity to tell us which way is up. A magnitude near 0 produces 333 // The maximum change in magnitude that can occur during the settle time. 404 // Calculate the magnitude of the acceleration vector. 405 final float magnitude = (float) Math.sqrt(x * x + y * y + z * z); local 406 if (magnitude < MIN_ACCELERATION_MAGNITUDE 407 || magnitude > MAX_ACCELERATION_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) {
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 59 float magnitude = (float)Math.sqrt(sum); local 61 sample[i] /= magnitude;
|
/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 | 226 for (int magnitude = 1; magnitude < 1000000000; magnitude *= 10) { 233 sequence += rnd.nextInt(magnitude) + 1;
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 948 * value next larger in magnitude. For non-NaN {@code x}, [all...] |
Math.java | [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/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...] |
/frameworks/base/tools/orientationplot/ |
orientationplot.py | 101 self.magnitude = self._make_timeseries() 113 self.filtered_acceleration_axes, 'magnitude', 'orange', linewidth=2) 261 if line.find('magnitude=') != -1: 262 self.parse_magnitude = self._get_following_number(line, 'magnitude=') 283 self._append(self.magnitude, timeindex, self.parse_magnitude) 315 self._scroll(self.magnitude, bottom) 333 self.magnitude_line.set_data(self.magnitude)
|
/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 | 1007 * @magnitude: peak value 1024 __s16 magnitude; member in struct:ff_periodic_effect 1036 * @strong_magnitude: magnitude of the heavy motor 1037 * @weak_magnitude: magnitude of the light one 1040 * represents the magnitude of the vibration generated by the heavy one. [all...] |
/development/ndk/platforms/android-3/include/linux/ |
input.h | 659 __s16 magnitude; member in struct:ff_periodic_effect
|
/external/v8/benchmarks/ |
raytrace.js | 236 var m = this.magnitude(); 240 magnitude : function() {
|