Home
last modified time | relevance | path

Searched refs:magnitude (Results 1 – 25 of 42) 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/chromium_org/third_party/WebKit/Source/wtf/
DComplex.h39 inline Complex complexFromMagnitudePhase(double magnitude, double phase) in complexFromMagnitudePhase() argument
41 return Complex(magnitude * cos(phase), magnitude * sin(phase)); in complexFromMagnitudePhase()
/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/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dev_bubble_decoration_unittest.mm41 // If the available space is of the same magnitude as the required
/external/chromium_org/content/browser/gamepad/
Dxbox_data_fetcher_mac.cc141 float magnitude = std::min(32767.0f, real_magnitude); in NormalizeAxis() local
144 magnitude -= deadzone; in NormalizeAxis()
148 float ratio = (magnitude / (32767 - deadzone)) / real_magnitude; in NormalizeAxis()
/external/zopfli/
DREADME.zopflipng24 2-3 orders of magnitude more CPU time for compression. Initial testing using a
/external/chromium_org/chrome/common/extensions/api/
Dlocation.idl39 // The magnitude of the horizontal component of the hosting device's current
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c97 uint32_t magnitude; member
192 if (sf->magnitude < mask) break; in sf_create_index()
923 superframe.magnitude |= frame_pkt_size; in vpx_svc_encode()
/external/chromium_org/v8/benchmarks/
Draytrace.js236 var m = this.magnitude();
240 magnitude : function() { method in Flog.RayTracer.Vector
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
Dv8-raytrace.js231 var m = this.magnitude();
235 magnitude : function() { method in Flog.RayTracer.Vector
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-raytrace.js237 var m = this.magnitude();
241 magnitude : function() { method in Flog.RayTracer.Vector
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-raytrace.js237 var m = this.magnitude();
241 magnitude : function() { method in Flog.RayTracer.Vector
/external/kernel-headers/original/uapi/linux/
Dinput.h1089 __s16 magnitude; member
/external/opencv/cv/include/
Dcvcompat.h256 float* magnitude, float* angle, int len ) in cvbCartToPolar() argument
264 mm.data.fl = (float*)magnitude; in cvbCartToPolar()
/external/libvorbis/doc/
D04-codec.tex211magnitude and the channel to treat as angle, respectively. If for any coupling step the angle cha…
/external/llvm/lib/Support/
DAPInt.cpp1273 unsigned magnitude = getActiveBits(); in sqrt() local
1277 if (magnitude <= 5) { in sqrt()
1294 if (magnitude < 52) { in sqrt()
/external/clang/docs/
DCrossCompilation.rst119 code for your specific hardware, which may mean orders of magnitude
/external/opencv/cxcore/include/
Dcxcore.h631 CvArr* magnitude, CvArr* angle CV_DEFAULT(NULL),
637 CVAPI(void) cvPolarToCart( const CvArr* magnitude, const CvArr* angle,

12