Home
last modified time | relevance | path

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

123

/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/caliper/caliper/src/main/java/com/google/caliper/model/
DValue.java39 private double magnitude; field in Value
45 this.magnitude = 0.0; in Value()
50 this.magnitude = value; in Value()
58 public double magnitude() { in magnitude() method in Value
59 return magnitude; in magnitude()
67 return this.magnitude == that.magnitude in equals()
75 return Objects.hashCode(magnitude, unit); in hashCode()
79 return new StringBuilder().append(magnitude).append(unit).toString(); in toString()
/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/caliper/caliper/src/test/java/com/google/caliper/runner/
DAllocationInstrumentTest.java79 assertEquals(14.0, objectMeasurement.value().magnitude() / objectMeasurement.weight(), 0.001); in intrinsics()
82 assertEquals(1960.0, byteMeasurement.value().magnitude() / byteMeasurement.weight(), 0.001); in intrinsics()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DRuntimeInstrument.java314 ShortDuration.of(BigDecimal.valueOf(measurement.value().magnitude()), NANOSECONDS)); in visit()
407 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement()
456 double nanos = measurement.value().magnitude() / measurement.weight(); in validateMeasurement()
DConsoleOutput.java116 weightedValues[i] = measurement.value().magnitude() / measurement.weight(); in processTrial()
/external/strace/mpers-mx32/
Dstruct_ff_effect.h40 int16_t magnitude; member
/external/strace/mpers-m32/
Dstruct_ff_effect.h40 int16_t magnitude; member
/external/zopfli/
DREADME.zopflipng24 2-3 orders of magnitude more CPU time for compression. Initial testing using a
/external/libchrome/base/time/
Dtime_unittest.cc862 TimeDelta::FromMicroseconds(zero).magnitude()); in TEST()
867 TimeDelta::FromMicroseconds(one).magnitude()); in TEST()
869 TimeDelta::FromMicroseconds(negative_one).magnitude()); in TEST()
874 TimeDelta::FromMicroseconds(max_int64_minus_one).magnitude()); in TEST()
876 TimeDelta::FromMicroseconds(min_int64_plus_two).magnitude()); in TEST()
/external/kernel-headers/original/uapi/linux/
Dinput.h381 __s16 magnitude; member
/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/strace/tests/
Dioctl_evdev.c235 ffe->u.periodic.magnitude, ffe->u.periodic.offset, in main()
/external/strace/tests-mx32/
Dioctl_evdev.c235 ffe->u.periodic.magnitude, ffe->u.periodic.offset, in main()
/external/strace/tests-m32/
Dioctl_evdev.c235 ffe->u.periodic.magnitude, ffe->u.periodic.offset, in main()
/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/libjpeg-turbo/simd/
Djchuff-sse2-64.asm230 ; Find the number of bits needed for the magnitude of the coefficient
246 ; or the complement of its magnitude, if negative.
/external/python/cpython2/Doc/library/
Dmath.rst70 the same sign as *x* and magnitude less than ``abs(y)``. Python's ``x % y``
152 floating-point numbers of sufficiently large magnitude are exact integers.

123