/cts/tests/openglperf2/jni/graphics/ |
Vector2D.cpp | 53 float m = magnitude(); 60 if (magnitude() > max) { 66 float Vector2D::magnitude() { function in class:Vector2D
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Value.java | 26 * A magnitude with units. 39 private double magnitude; field in class:Value 45 this.magnitude = 0.0; 50 this.magnitude = value; 58 public double magnitude() { method in class:Value 59 return magnitude; 67 return this.magnitude == that.magnitude 75 return Objects.hashCode(magnitude, unit); 79 return new StringBuilder().append(magnitude).append(unit).toString() [all...] |
/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;
|
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;
|
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...] |
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) {
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 59 float magnitude = (float)Math.sqrt(sum); local 61 sample[i] /= magnitude;
|
/external/strace/mpers-m32/ |
struct_ff_effect.h | 40 int16_t magnitude; member in struct:__anon31616::__anon31619::__anon31624
|
/external/strace/mpers-mx32/ |
struct_ff_effect.h | 40 int16_t magnitude; member in struct:__anon31785::__anon31788::__anon31793
|
/frameworks/base/core/java/android/view/ |
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) {
|
/libcore/ojluni/src/main/java/java/text/ |
ChoiceFormat.java | 608 long magnitude = bits & ~SIGN; local 610 /* if next double away from zero, increase magnitude */ 612 if (magnitude != POSITIVEINFINITY) { 613 magnitude += 1; 616 /* else decrease magnitude */ 618 magnitude -= 1; 623 return Double.longBitsToDouble (magnitude | signbit);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
ComplexMovementPath.java | 231 float magnitude = (float) Math.sqrt(Math.pow(rotation[X], 2) + local 233 float lengthScaleFactor = 0.02f / magnitude; 234 float widthScaleFactor = 0.17f / magnitude;
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 159 * @return The magnitude (norm) represented by the given array of values. 166 double magnitude = Math.sqrt(sumOfSquares); local 167 return magnitude;
|
/external/libchrome/base/time/ |
time.h | 139 // Returns the magnitude (absolute value) of this TimeDelta. 140 TimeDelta magnitude() const { function in class:base::TimeDelta
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_haptic.h | 84 * effect.periodic.magnitude = 20000; // 20000/32767 strength 556 Sint16 magnitude; /**< Peak value. */ member in struct:SDL_HapticPeriodic [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_haptic.h | 84 * effect.periodic.magnitude = 20000; // 20000/32767 strength 556 Sint16 magnitude; /**< Peak value. */ member in struct:SDL_HapticPeriodic [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_haptic.h | 84 * effect.periodic.magnitude = 20000; // 20000/32767 strength 556 Sint16 magnitude; /**< Peak value. */ member in struct:SDL_HapticPeriodic [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_haptic.h | 84 * effect.periodic.magnitude = 20000; // 20000/32767 strength 556 Sint16 magnitude; /**< Peak value. */ member in struct:SDL_HapticPeriodic [all...] |
/external/ImageMagick/MagickCore/ |
feature.c | 138 magnitude, 382 pixel.magnitude=hypot(dx,dy); 495 pixel.intensity=pixel.magnitude; 496 if ((pixel.magnitude < alpha_pixel.magnitude) || 497 (pixel.magnitude < beta_pixel.magnitude)) 136 magnitude, member in struct:_CannyInfo [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/bionic/libc/kernel/uapi/linux/ |
input.h | 155 __s16 magnitude; member in struct:ff_periodic_effect
|
/device/google/contexthub/firmware/os/drivers/window_orientation/ |
window_orientation.c | 309 static bool isAccelerating(float magnitude) 311 return ((magnitude < MIN_ACCELERATION_MAGNITUDE) 312 || (magnitude > MAX_ACCELERATION_MAGNITUDE)); 392 float x, y, z, alpha, magnitude; local 448 // Calculate the magnitude of the acceleration vector. 449 magnitude = sqrtf(x * x + y * y + z * z); 451 if (magnitude < NEAR_ZERO_MAGNITUDE) { 452 LOGD("Ignoring sensor data, magnitude too close to zero."); 457 if (isAccelerating(magnitude)) { 468 tilt_tmp = (int)(asinf(z / magnitude) * RADIANS_TO_DEGREES) [all...] |
/external/kernel-headers/original/uapi/linux/ |
input.h | 364 * @magnitude: peak value 381 __s16 magnitude; member in struct:ff_periodic_effect 393 * @strong_magnitude: magnitude of the heavy motor 394 * @weak_magnitude: magnitude of the light one 397 * represents the magnitude of the vibration generated by the heavy one.
|
/external/llvm/lib/Support/ |
APInt.cpp | 532 // If magnitude of LHS is less than RHS, return true. 536 // If magnitude of RHS is greather than LHS, return false. 1305 unsigned magnitude = getActiveBits(); local [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
APInt.cpp | 510 // If magnitude of LHS is less than RHS, return true. 514 // If magnitude of RHS is greather than LHS, return false. 1279 unsigned magnitude = getActiveBits(); local [all...] |