Home
last modified time | relevance | path

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

1234

/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/opencv3/modules/photo/src/
Dnpr.cpp156 Mat magnitude = Mat(h,w,CV_32FC1); in stylization() local
161 obj.find_magnitude(res,magnitude); in stylization()
167 multiply(temp[0],magnitude,temp[0]); in stylization()
168 multiply(temp[1],magnitude,temp[1]); in stylization()
169 multiply(temp[2],magnitude,temp[2]); in stylization()
/external/opencv3/modules/cudaarithm/include/opencv2/
Dcudaarithm.hpp357 CV_EXPORTS void magnitude(InputArray xy, OutputArray magnitude, Stream& stream = Stream::Null());
365 CV_EXPORTS void magnitudeSqr(InputArray xy, OutputArray magnitude, Stream& stream = Stream::Null());
375 CV_EXPORTS void magnitude(InputArray x, InputArray y, OutputArray magnitude, Stream& stream = Strea…
385 CV_EXPORTS void magnitudeSqr(InputArray x, InputArray y, OutputArray magnitude, Stream& stream = St…
410 CV_EXPORTS void cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, b…
421 CV_EXPORTS void polarToCart(InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, b…
/external/opencv3/doc/tutorials/core/discrete_fourier_transform/
Ddiscrete_fourier_transform.markdown40 *complex* image or via a *magnitude* and a *phase* image. However, throughout the image processing
41 algorithms only the *magnitude* image is interesting as this contains all the information we need
45 In this sample I'll show how to calculate and show the *magnitude* image of a Fourier Transform. In
81 -# **Transform the real and complex values to magnitude**. A complex number has a real (*Re*) and a
82 complex (imaginary - *Im*) part. The results of a DFT are complex numbers. The magnitude of a
90 magnitude(planes[0], planes[1], planes[0]);// planes[0] = magnitude
155 magnitude image) follow the geometric rotation of objects on the image. From this we may calculate
/external/opencv3/modules/hal/include/opencv2/
Dhal.hpp89 void magnitude(const float* x, const float* y, float* dst, int n);
90 void magnitude(const double* x, const double* y, double* dst, int n);
/external/opencv3/modules/cudaarithm/perf/
Dperf_element_operations.cpp1236 TEST_CYCLE() cv::cuda::magnitude(d_src, dst); in PERF_TEST_P()
1247 TEST_CYCLE() cv::magnitude(xy[0], xy[1], dst); in PERF_TEST_P()
1299 TEST_CYCLE() cv::cuda::magnitude(d_src1, d_src2, dst); in PERF_TEST_P()
1307 TEST_CYCLE() cv::magnitude(src1, src2, dst); in PERF_TEST_P()
1401 cv::cuda::GpuMat magnitude; in PERF_TEST_P() local
1404 TEST_CYCLE() cv::cuda::cartToPolar(d_src1, d_src2, magnitude, angle, angleInDegrees); in PERF_TEST_P()
1406 CUDA_SANITY_CHECK(magnitude); in PERF_TEST_P()
1411 cv::Mat magnitude; in PERF_TEST_P() local
1414 TEST_CYCLE() cv::cartToPolar(src1, src2, magnitude, angle, angleInDegrees); in PERF_TEST_P()
1416 CPU_SANITY_CHECK(magnitude); in PERF_TEST_P()
[all …]
/external/opencv3/samples/python2/
Ddft.py86 magnitude = cv2.sqrt(image_Re**2.0 + image_Im**2.0) variable
89 log_spectrum = cv2.log(1.0 + magnitude)
/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/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/icu/android_icu4j/src/main/java/android/icu/text/
DCompactDecimalDataCache.java267 long magnitude = Long.parseLong(divisorData.getKey()); in populateData() local
268 int thisIndex = (int) Math.log10(magnitude); in populateData()
322 long divisor = magnitude; in populateData()
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dbinary_func.hpp70 CV_CUDEV_EXPR_BINARY_FUNC(magnitude)
/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()
/external/opencv3/modules/java/src/
Dcore+Core.java1482 public static void polarToCart(Mat magnitude, Mat angle, Mat x, Mat y, boolean angleInDegrees) in polarToCart() argument
1485 … polarToCart_0(magnitude.nativeObj, angle.nativeObj, x.nativeObj, y.nativeObj, angleInDegrees); in polarToCart()
1491 public static void polarToCart(Mat magnitude, Mat angle, Mat x, Mat y) in polarToCart() argument
1494 polarToCart_1(magnitude.nativeObj, angle.nativeObj, x.nativeObj, y.nativeObj); in polarToCart()
1505 public static void cartToPolar(Mat x, Mat y, Mat magnitude, Mat angle, boolean angleInDegrees) in cartToPolar() argument
1508 … cartToPolar_0(x.nativeObj, y.nativeObj, magnitude.nativeObj, angle.nativeObj, angleInDegrees); in cartToPolar()
1514 public static void cartToPolar(Mat x, Mat y, Mat magnitude, Mat angle) in cartToPolar() argument
1517 cartToPolar_1(x.nativeObj, y.nativeObj, magnitude.nativeObj, angle.nativeObj); in cartToPolar()
1551 public static void magnitude(Mat x, Mat y, Mat magnitude) in magnitude() method in Core
1554 magnitude_0(x.nativeObj, y.nativeObj, magnitude.nativeObj); in magnitude()
/external/opencv3/samples/cpp/tutorial_code/core/discrete_fourier_transform/
Ddiscrete_fourier_transform.cpp44 magnitude(planes[0], planes[1], planes[0]);// planes[0] = magnitude in main()
/external/opencv3/samples/cpp/
Ddft.cpp51 magnitude(planes[0], planes[1], planes[0]); in main()
/external/opencv3/modules/core/include/opencv2/
Dcore.hpp1422 CV_EXPORTS_W void polarToCart(InputArray magnitude, InputArray angle,
1444 OutputArray magnitude, OutputArray angle,
1477 CV_EXPORTS_W void magnitude(InputArray x, InputArray y, OutputArray magnitude);

1234