/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/opencv3/samples/python2/ |
dft.py | 85 # Compute the magnitude of the spectrum Mag = sqrt(Re^2 + Im^2) 86 magnitude = cv2.sqrt(image_Re**2.0 + image_Im**2.0) variable 89 log_spectrum = cv2.log(1.0 + magnitude) 97 cv2.imshow("magnitude", log_spectrum)
|
/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...] |
/external/opencv3/modules/cudaarithm/perf/ |
perf_element_operations.cpp | 1236 TEST_CYCLE() cv::cuda::magnitude(d_src, dst); 1247 TEST_CYCLE() cv::magnitude(xy[0], xy[1], dst); 1280 // Magnitude 1282 PERF_TEST_P(Sz, Magnitude, 1299 TEST_CYCLE() cv::cuda::magnitude(d_src1, d_src2, dst); 1307 TEST_CYCLE() cv::magnitude(src1, src2, dst); 1401 cv::cuda::GpuMat magnitude; local 1404 TEST_CYCLE() cv::cuda::cartToPolar(d_src1, d_src2, magnitude, angle, angleInDegrees); 1406 CUDA_SANITY_CHECK(magnitude); 1411 cv::Mat magnitude; local [all...] |
/external/opencv3/modules/cudaarithm/src/ |
element_operations.cpp | 80 void cv::cuda::magnitude(InputArray, OutputArray, Stream&) { throw_no_cuda(); } function in class:cv::cuda 81 void cv::cuda::magnitude(InputArray, InputArray, OutputArray, Stream&) { throw_no_cuda(); } function in class:cv::cuda 483 void cv::cuda::magnitude(InputArray _src, OutputArray _dst, Stream& stream)
|
/external/opencv3/modules/photo/src/ |
npr.cpp | 156 Mat magnitude = Mat(h,w,CV_32FC1); local 161 obj.find_magnitude(res,magnitude); 167 multiply(temp[0],magnitude,temp[0]); 168 multiply(temp[1],magnitude,temp[1]); 169 multiply(temp[2],magnitude,temp[2]);
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 59 float magnitude = (float)Math.sqrt(sum); local 61 sample[i] /= magnitude;
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 144 * @return The magnitude (norm) represented by the given array of values. 151 double magnitude = Math.sqrt(sumOfSquares); local 152 return magnitude;
|
/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 | 587 long magnitude = bits & ~SIGN; local 589 /* if next double away from zero, increase magnitude */ 591 if (magnitude != POSITIVEINFINITY) { 592 magnitude += 1; 595 /* else decrease magnitude */ 597 magnitude -= 1; 602 return Double.longBitsToDouble (magnitude | signbit);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CompactDecimalDataCache.java | 267 long magnitude = Long.parseLong(divisorData.getKey()); local 268 int thisIndex = (int) Math.log10(magnitude); 318 // plural variant templates. If our magnitude is 10000 and we have 320 // Note that if we have 43560 which is of same magnitude as 10000. 322 long divisor = magnitude;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CompactDecimalDataCache.java | 266 long magnitude = Long.parseLong(divisorData.getKey()); local 267 int thisIndex = (int) Math.log10(magnitude); 317 // plural variant templates. If our magnitude is 10000 and we have 319 // Note that if we have 43560 which is of same magnitude as 10000. 321 long divisor = magnitude;
|
/external/libchrome/base/time/ |
time.h | 138 // Returns the magnitude (absolute value) of this TimeDelta. 139 TimeDelta magnitude() const { function in class:base::TimeDelta
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Character/ |
btKinematicCharacterController.cpp | 123 btScalar magnitude = direction.dot(normal); local 124 return normal * magnitude; 725 btScalar magnitude = (btScalar(1.0)/m_rigidBody->getInvMass()) * btScalar(8.0); 726 m_rigidBody->applyCentralImpulse (up * magnitude);
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/ |
OISEffect.h | 243 PeriodicEffect() : magnitude(0), offset(0), phase(0), period(0) {} 247 unsigned short magnitude; //0 to 10,0000 member in class:OIS::PeriodicEffect
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
HeightField.java | 36 * The height and direction of the field can be set using the {@link #magnitude} vector. Typically this should be the vector 37 * perpendicular to the heightfield. E.g. if the field is on the XZ plane, then the magnitude is typically pointing on the Y axis. 38 * The length of the `magnitude` specifies the height of the height field. In other words, the word coordinate of a point on the 41 * base[y * width + x] + magnitude * value[y * width + x] 77 public final Vector3 magnitude = new Vector3(0, 1, 0); field in class:HeightField 237 out.position.add(tmpV1.set(magnitude).scl(a)); 248 out.add(tmpV1.set(magnitude).scl(a)); 254 // Note that this approach only works for a heightfield on the XZ plane with a magnitude on the y axis 263 // float yScale = magnitude.len(); 296 out.set(magnitude).nor() [all...] |
/external/libweave/third_party/chromium/base/time/ |
time.h | 138 // Returns the magnitude (absolute value) of this TimeDelta. 139 TimeDelta magnitude() const { function in class:base::TimeDelta
|
/external/opencv3/modules/cudaarithm/test/ |
test_element_operations.cpp | 2774 cv::Mat magnitude = randomMat(size, CV_32FC1); local [all...] |
/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...] |