Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 25 of 38) 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/clang/test/Sema/
Doverloadable.c58 double magnitude(DoubleVec) __attribute__((__overloadable__));
59 double magnitude(IntVec) __attribute__((__overloadable__));
61 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCompactDecimalDataCache.java266 long magnitude = Long.parseLong(divisorData.getKey()); in populateData() local
267 int thisIndex = (int) Math.log10(magnitude); in populateData()
321 long divisor = magnitude; in populateData()
/external/zopfli/
DREADME.zopflipng24 2-3 orders of magnitude more CPU time for compression. Initial testing using a
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DFastMath.java3995 public static double copySign(double magnitude, double sign){ in copySign() argument
3996 long m = Double.doubleToLongBits(magnitude); in copySign()
3999 return magnitude; in copySign()
4001 return -magnitude; // flip sign in copySign()
4012 public static float copySign(float magnitude, float sign){ in copySign() argument
4013 int m = Float.floatToIntBits(magnitude); in copySign()
4016 return magnitude; in copySign()
4018 return -magnitude; // flip sign in copySign()
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
DFastFourierTransformer.java688 public Complex set(Complex magnitude, int... vector) in set() argument
708 lastDimension[vector[dimensionSize.length - 1]] = magnitude; in set()
/external/strace/
Devdev.c105 ffe.u.periodic.magnitude, in ff_effect_ioctl()
/external/v8/benchmarks/
Draytrace.js236 var m = this.magnitude();
240 magnitude : function() { method in Flog.RayTracer.Vector
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.test.performance_3.6.0.v20091014.jarMETA-INF/MANIFEST.MF plugin.properties about.html scripts/cs.sh scripts ...
/external/kernel-headers/original/uapi/linux/
Dinput.h1097 __s16 magnitude; member
/external/libvorbis/doc/
D04-codec.tex211magnitude and the channel to treat as angle, respectively. If for any coupling step the angle cha…
D01-introduction.tex400 coupling is in use, some vectors will correspond to coupled magnitude
423 polar representation (where one vector is magnitude and the second
/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.cpp1299 unsigned magnitude = getActiveBits(); in sqrt() local
1303 if (magnitude <= 5) { in sqrt()
1320 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/clang/docs/
DCrossCompilation.rst119 code for your specific hardware, which may mean orders of magnitude

12