Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 25 of 33) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
DVector2.java55 public final void multiply(float magnitude) { in multiply() argument
56 x *= magnitude; in multiply()
57 y *= magnitude; in multiply()
65 public final void divide(float magnitude) { in divide() argument
66 if (magnitude != 0.0f) { in divide()
67 x /= magnitude; in divide()
68 y /= magnitude; in divide()
101 final float magnitude = length(); in normalize() local
104 if (magnitude != 0.0f) { in normalize()
105 x /= magnitude; in normalize()
[all …]
DInputButton.java26 public void press(float currentTime, float magnitude) { in press() argument
31 mMagnitude = magnitude; in press()
56 float magnitude = 0.0f; in getMagnitude() local
58 magnitude = mMagnitude; in getMagnitude()
60 return magnitude; in getMagnitude()
63 public final void setMagnitude(float magnitude) { in setMagnitude() argument
64 mMagnitude = magnitude; in setMagnitude()
DInputTouchScreen.java64 float magnitude = 0.0f; in getX() local
66 magnitude = mTouchPoints[index].getX(); in getX()
68 return magnitude; in getX()
72 float magnitude = 0.0f; in getY() local
74 magnitude = mTouchPoints[index].getY(); in getY()
76 return magnitude; in getY()
DInputGameInterface.java104 … final float magnitude = magnitudeRamp * Utils.sign(offset) * SLIDER_FILTER * mMovementSensitivity; in update() local
106 mDirectionalPad.press(gameTime, magnitude, 0.0f); in update()
259 private float filterOrientationForMovement(float magnitude) { in filterOrientationForMovement() argument
260 float scaledMagnitude = magnitude * mOrientationSensitivityFactor; in filterOrientationForMovement()
265 private float deadZoneFilter(float magnitude, float min, float max, float scale) { in deadZoneFilter() argument
266 float smoothedMagnatude = magnitude; in deadZoneFilter()
267 if (Math.abs(magnitude) < min) { in deadZoneFilter()
269 } else if (Math.abs(magnitude) < max) { in deadZoneFilter()
DSleeperComponent.java106 public void setSlam(float duration, float magnitude) { in setSlam() argument
108 mSlamMagnitude = magnitude; in setSlam()
DLauncherComponent.java137 …public void setup(float angle, float magnitude, float launchDelay, float postLaunchDelay, boolean … in setup() argument
139 mLaunchMagnitude = magnitude; in setup()
DCameraSystem.java89 void shake(float duration, float magnitude) { in shake() argument
91 mShakeMagnitude = magnitude; in shake()
DHitReactionComponent.java277 public void setBounceMagnitude(float magnitude) { in setBounceMagnitude() argument
278 mBounceMagnitude = magnitude; in setBounceMagnitude()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DPerturbFilter.java40 private float magnitude; field in PerturbFilter
45 return (int) Math.floor(this.magnitude * (margin + size) + margin); in getMargin()
48 public void setMagnitude(float magnitude) { in setMagnitude() argument
49 this.magnitude = magnitude; in setMagnitude()
53 return this.magnitude; in getMagnitude()
59 int origSize = (int) Math.ceil(workSize / (2 * this.magnitude + 1)); in filter()
63 + this.magnitude); in filter()
73 int px = (int) (origSize * noisex * this.magnitude); in filter()
74 int py = (int) (origSize * noisey * this.magnitude); in filter()
/external/webkit/Source/JavaScriptCore/wtf/
DComplex.h39 inline Complex complexFromMagnitudePhase(double magnitude, double phase) in complexFromMagnitudePhase() argument
41 return Complex(magnitude * cos(phase), magnitude * sin(phase)); in complexFromMagnitudePhase()
/external/clang/test/Sema/
Doverloadable.c57 double magnitude(DoubleVec) __attribute__((__overloadable__));
58 double magnitude(IntVec) __attribute__((__overloadable__));
60 return magnitude(d) * magnitude(d); in test_p6600()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DEigen3f.java350 double magnitude = Math.sqrt(-abcDiv3); in computeRoots() local
354 double root0 = char2Div3 + 2.0 * magnitude * cos; in computeRoots()
355 double root1 = char2Div3 - magnitude in computeRoots()
357 double root2 = char2Div3 - magnitude in computeRoots()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DStrictMathTest.java185 final double magnitude = COPYSIGN_DD_CASES[i]; in test_copySign_DD() local
187 .abs(magnitude)); in test_copySign_DD()
189 .abs(magnitude)); in test_copySign_DD()
194 .copySign(magnitude, Double.NaN))); in test_copySign_DD()
196 .copySign(Double.NaN, magnitude))); in test_copySign_DD()
201 .copySign(magnitude, sign)); in test_copySign_DD()
250 final float magnitude = COPYSIGN_FF_CASES[i]; in test_copySign_FF() local
252 .abs(magnitude)); in test_copySign_FF()
254 .abs(magnitude)); in test_copySign_FF()
259 magnitude, Float.NaN))); in test_copySign_FF()
[all …]
DMathTest.java182 final double magnitude = COPYSIGN_DD_CASES[i]; in test_copySign_DD() local
184 .abs(magnitude)); in test_copySign_DD()
186 .abs(magnitude)); in test_copySign_DD()
191 magnitude, Double.NaN))); in test_copySign_DD()
193 Double.NaN, magnitude))); in test_copySign_DD()
198 magnitude, sign)); in test_copySign_DD()
254 final float magnitude = COPYSIGN_FF_CASES[i]; in test_copySign_FF() local
256 .abs(magnitude)); in test_copySign_FF()
258 .abs(magnitude)); in test_copySign_FF()
263 magnitude, Float.NaN))); in test_copySign_FF()
[all …]
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dev_bubble_decoration_unittest.mm41 // If the available space is of the same magnitude as the required
/external/dropbear/libtomcrypt/notes/
Dtech0002.txt17 determine not only the magnitude of 'x' but the number of one bits. With this information the atta…
/external/kernel-headers/original/linux/
Dinput.h1058 __s16 magnitude; member
1629 void (*set_autocenter)(struct input_dev *dev, u16 magnitude);
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js231 var m = this.magnitude();
235 magnitude : function() { method in Flog.RayTracer.Vector
/external/v8/benchmarks/
Draytrace.js236 var m = this.magnitude();
240 magnitude : function() { method in Flog.RayTracer.Vector
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js237 var m = this.magnitude();
241 magnitude : function() { method in Flog.RayTracer.Vector
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js237 var m = this.magnitude();
241 magnitude : function() { method in Flog.RayTracer.Vector
/external/opencv/cv/include/
Dcvcompat.h256 float* magnitude, float* angle, int len ) in cvbCartToPolar() argument
264 mm.data.fl = (float*)magnitude; in cvbCartToPolar()
/external/llvm/lib/Support/
DAPInt.cpp1272 unsigned magnitude = getActiveBits(); in sqrt() local
1276 if (magnitude <= 5) { in sqrt()
1293 if (magnitude < 52) { in sqrt()
/external/opencv/cxcore/include/
Dcxcore.h631 CvArr* magnitude, CvArr* angle CV_DEFAULT(NULL),
637 CVAPI(void) cvPolarToCart( const CvArr* magnitude, const CvArr* angle,
/external/skia/third_party/glu/libtess/
DREADME243 is multiplied by the largest coordinate magnitude of any input vertex;

12