/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) {
|
LauncherComponent.java | 137 public void setup(float angle, float magnitude, float launchDelay, float postLaunchDelay, boolean driveActions) { 139 mLaunchMagnitude = magnitude;
|
SleeperComponent.java | 106 public void setSlam(float duration, float magnitude) { 108 mSlamMagnitude = 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/dropbear/libtommath/ |
bn_mp_add.c | 35 /* subtract the one with the greater magnitude from */ 36 /* the one of the lesser magnitude. The result gets */ 37 /* the sign of the one with the greater magnitude. */
|
bn_mp_sub.c | 42 /* The first has a larger or equal magnitude */ 48 /* The second has a larger magnitude */
|
bn_mp_cmp_d.c | 26 /* compare based on magnitude */
|
bn_mp_read_signed_bin.c | 23 /* read magnitude */
|
/libcore/luni/src/main/java/java/math/ |
Logical.java | 110 /** @return sign = 1, magnitude = val.magnitude & that.magnitude*/ 128 /** @return sign = positive.magnitude & magnitude = -negative.magnitude */ 163 /** @return sign = -1, magnitude = -(-longer.magnitude & -shorter.magnitude)*/ 249 /** @return sign = 1, magnitude = val.magnitude & ~that.magnitude* [all...] |
/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/clang/test/Sema/ |
overloadable.c | 57 double magnitude(DoubleVec) __attribute__((__overloadable__)); 58 double magnitude(IntVec) __attribute__((__overloadable__)); 60 return magnitude(d) * magnitude(d);
|
/bionic/libm/man/ |
fmod.3 | 72 and magnitude less than the magnitude of
|
trunc.3 | 34 .Nd nearest integral value with magnitude less than or equal to |x| 51 functions return the nearest integral value with magnitude less than
|
/external/webkit/Source/WebCore/webaudio/ |
RealtimeAnalyser.h | 90 // doFFTAnalysis() stores the floating-point magnitude analysis data here. 94 // A value between 0 and 1 which averages the previous version of m_magnitudeBuffer with the current analysis magnitude data.
|
/bionic/libm/src/ |
s_copysign.c | 19 * copysign(x,y) returns a value with the magnitude of x and
|
/external/fdlibm/ |
s_copysign.c | 16 * ieee_copysign(x,y) returns a value with the magnitude of x and
|
/external/jpeg/ |
jchuff.h | 16 * Hence the magnitude should always fit in 10 or 14 bits respectively.
|
/external/qemu/distrib/jpeg-6b/ |
jchuff.h | 16 * Hence the magnitude should always fit in 10 or 14 bits respectively.
|
/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...] |
/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...] |
/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':
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 59 float magnitude = (float)Math.sqrt(sum); local 61 sample[i] /= magnitude;
|